[CP2K-user] [CP2K:17581] Building v2022.1 with HIP: 'omp.h' file not found

Vladimir Stegailov stegailov at gmail.com
Tue Aug 30 13:04:12 UTC 2022

Dear colleagues,

I am trying building CP2K with HIP:

After building the toolchain

./install_cp2k_toolchain.sh --with-mpich --with-elpa=no --with-cosma=no 
--enable-hip --gpu-ver=Mi50

I do the make

make -j 8 ARCH=local_hip VERSION=psmp

and it fails with

**fatal error: **'omp.h' file not found*

I have been able to overcome this error disabling 2 types of GPU 
acceleration options:

As far as I understand, the problem is connected with the fact that hipcc 
(clang) does not see omp.h

Please let me know if it is possible to make a full HIP build without 
switching off those 2 GPU acceleration options?

Building for CUDA (--enable-cuda) does not show such a problem.

Best regards,

You received this message because you are subscribed to the Google Groups "cp2k" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cp2k+unsubscribe at googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cp2k/a7ae5e56-42fa-4c8c-b974-8bfc4cf82107n%40googlegroups.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20220830/0c1e0c46/attachment-0001.htm>

More information about the CP2K-user mailing list