- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
When I try to compile the DPC++ migrated code, I get the following error:
In file included from fd-source-code.dp.cpp:2:
In file included from /glob/development-tools/versions/oneapi/beta09/inteloneapi/dpcpp-ct/2021.1-beta09/include/dpct/dpct.hpp:27:
/glob/development-tools/versions/oneapi/beta09/inteloneapi/dpcpp-ct/2021.1-beta09/include/dpct/device.hpp:24:10: fatal error: 'algorithm.h' file not found
#include <algorithm.h>
^~~~~~~~~~~~~
1 error generated.
Since I am working on Devcloud, I don't have permission to edit any of these files. Besides that, in this environment, device.hpp is already including algorithm.h, and dpct/dpct.hpp is including device.hpp.
Could it be something related to standard C++?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Clicia,
We have already encountered this issue and it's specific to Devcloud. We are looking into this issue and will give you an update on it soon.
Meanwhile, you can try any different environment for executing your migrated codes.
We apologize for the inconvenience.
Warm Regards,
Abhishek
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, Abhishek.
It seems it would be necessery edit /dpct/dpct.hpp file and replace "algorithm.h" to "algorithm" instead to fit standard c++ patern.
Since we have very restricted permissions on the DevCloud environment, we temporarily solve this issue by copying every source code that includes algorithm.h in a local directory to be able to edit the specific line (#include <algorithm.h>).
It is working for now.
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Clicia,
We are already working on this on the issue. We appreciate your workaround and glad to know that it's working for you. This issue will get resolved soon.
We will update you as soon as it will get resolved on Devclod.
Warm Regards,
Abhishek
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Clicia,
The issue on Devcloud has been resolved. Please try your application once and let us know if you have any more issues.
Warm Regards,
Abhishek
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @clicia ,
Please update us if your issue is resolved. We can see that it is resolved from our end.
Warm Regards,
Abhishek
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
We will no longer monitor this thread as the issue is resolved.
Please post a new thread if you face any issue.
Warm Regards,
Abhishek

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page