[CP2K-user] [CP2K:18544] Re: CP2K compilation error by NVIDIA NVHPC compiler set

'Frederick Stein' via cp2k cp2k at googlegroups.com
Wed Mar 15 18:21:27 UTC 2023


Dear Hanning,

I am afraid to tell you that the NVIDIA compiler set is not (yet) 
officially supported. Instead, I suggest to use a different compiler 
(intel, gcc) for now, but we will discuss this issue with the NVIDIA NVHPC 
team.

Best,
Frederick

Hanning Chen schrieb am Mittwoch, 15. März 2023 um 14:35:46 UTC+1:

> Dear CP2K developers,
>
>    I was trying to compile the latest version of CP2K (CP2K2023.1) using 
> NVIDIA's NVHPC compiler set, but ran into the following error messages:
>
> NVFORTRAN-S-0155-PASS argument must be declared CLASS in mp_irecv_custom 
> (/home/chenhanning/Downloads/cp2k/src/mpiwrap/message_passing.F: 4769)
> NVFORTRAN-S-0155-PASS argument name/position must match parent's PASS 
> argument name/position in type bound procedure mp_irecv_custom 
> (/home/chenhanning/Downloads/cp2k/src/mpiwrap/message_passing.F: 4769)
> NVFORTRAN-S-0155-Interface is not compatible with parent's interface for 
> type bound procedure mp_irecv_custom 
> (/home/chenhanning/Downloads/cp2k/src/mpiwrap/message_passing.F: 4769)
> NVFORTRAN-S-0155-PASS argument must be declared CLASS in mp_irecv_bm3 
> (/home/chenhanning/Downloads/cp2k/src/mpiwrap/message_passing.F: 4769)
> NVFORTRAN-S-0155-PASS argument must be scalar, nonpointer, and 
> nonallocatable in mp_irecv_bm3 
> (/home/chenhanning/Downloads/cp2k/src/mpiwrap/message_passing.F: 4769)
> NVFORTRAN-S-0155-PASS argument name/position must match parent's PASS 
> argument name/position in type bound procedure mp_irecv_bm3 
> (/home/chenhanning/Downloads/cp2k/src/mpiwrap/message_passing.F: 4769)
> NVFORTRAN-S-0155-Interface is not compatible with parent's interface for 
> type bound procedure mp_irecv_bm3 
> (/home/chenhanning/Downloads/cp2k/src/mpiwrap/message_passing.F: 4769)
> NVFORTRAN-S-0155-PASS argument must be declared CLASS in mp_irecv_bv 
> (/home/chenhanning/Downloads/cp2k/src/mpiwrap/message_passing.F: 4769)
> NVFORTRAN-S-0155-PASS argument must be scalar, nonpointer, and 
> nonallocatable in mp_irecv_bv 
> (/home/chenhanning/Downloads/cp2k/src/mpiwrap/message_passing.F: 4769)
> NVFORTRAN-S-0155-PASS argument name/position must match parent's PASS 
> argument name/position in type bound procedure mp_irecv_bv 
> (/home/chenhanning/Downloads/cp2k/src/mpiwrap/message_passing.F: 4769)
> NVFORTRAN-S-0155-Interface is not compatible with parent's interface for 
> type bound procedure mp_irecv_bv 
> (/home/chenhanning/Downloads/cp2k/src/mpiwrap/message_passing.F: 4769)
> NVFORTRAN-S-0155-PASS argument must be declared CLASS in mp_irecv_zm4 
> (/home/chenhanning/Downloads/cp2k/src/mpiwrap/message_passing.F: 4769)
> NVFORTRAN-S-0155-PASS argument must be scalar, nonpointer, and 
> nonallocatable in mp_irecv_zm4 
> (/home/chenhanning/Downloads/cp2k/src/mpiwrap/message_passing.F: 4769)
> NVFORTRAN-S-0155-PASS argument name/position must match parent's PASS 
> argument name/position in type bound procedure mp_irecv_zm4 
> (/home/chenhanning/Downloads/cp2k/src/mpiwrap/message_passing.F: 4769)
> NVFORTRAN-S-0155-Interface is not compatible with parent's interface for 
> type bound procedure mp_irecv_zm4 
> (/home/chenhanning/Downloads/cp2k/src/mpiwrap/message_passing.F: 4769)
> NVFORTRAN-S-0155-PASS argument must be declared CLASS in mp_irecv_zm3 
> (/home/chenhanning/Downloads/cp2k/src/mpiwrap/message_passing.F: 4769)
> NVFORTRAN-S-0155-PASS argument must be scalar, nonpointer, and 
> nonallocatable in mp_irecv_zm3 
> (/home/chenhanning/Downloads/cp2k/src/mpiwrap/message_passing.F: 4769)
> NVFORTRAN-S-0155-PASS argument name/position must match parent's PASS 
> argument name/position in type bound procedure mp_irecv_zm3 
> (/home/chenhanning/Downloads/cp2k/src/mpiwrap/message_passing.F: 4769)
> NVFORTRAN-S-0155-Interface is not compatible with parent's interface for 
> type bound procedure mp_irecv_zm3 
> (/home/chenhanning/Downloads/cp2k/src/mpiwrap/message_passing.F: 4769)
> NVFORTRAN-S-0155-PASS argument must be declared CLASS in mp_irecv_zm2 
> (/home/chenhanning/Downloads/cp2k/src/mpiwrap/message_passing.F: 4769)
> NVFORTRAN-S-0155-PASS argument must be scalar, nonpointer, and 
> nonallocatable in mp_irecv_zm2 
> (/home/chenhanning/Downloads/cp2k/src/mpiwrap/message_passing.F: 4769)
> NVFORTRAN-S-0155-PASS argument name/position must match parent's PASS 
> argument name/position in type bound procedure mp_irecv_zm2 
> (/home/chenhanning/Downloads/cp2k/src/mpiwrap/message_passing.F: 4769)
> NVFORTRAN-S-0155-Interface is not compatible with parent's interface for 
> type bound procedure mp_irecv_zm2 
> (/home/chenhanning/Downloads/cp2k/src/mpiwrap/message_passing.F: 4769)
> NVFORTRAN-S-0155-PASS argument must be declared CLASS in mp_irecv_zv 
> (/home/chenhanning/Downloads/cp2k/src/mpiwrap/message_passing.F: 4769)
> NVFORTRAN-S-0155-PASS argument must be scalar, nonpointer, and 
> nonallocatable in mp_irecv_zv 
> (/home/chenhanning/Downloads/cp2k/src/mpiwrap/message_passing.F: 4769)
> NVFORTRAN-F-0008-Error limit exceeded 
> (/home/chenhanning/Downloads/cp2k/src/mpiwrap/message_passing.F: 4769)
> NVFORTRAN/arm64 Linux 23.1-0: compilation aborted
> make[3]: *** [/home/chenhanning/Downloads/cp2k/Makefile:519: 
> message_passing.o] Error 2
> make[2]: *** [/home/chenhanning/Downloads/cp2k/Makefile:146: all] Error 2
> make[1]: *** [/home/chenhanning/Downloads/cp2k/Makefile:128: sdbg] Error 2
> make: *** [Makefile:123: all] Error 2
>
>   Does anyone encounter the same issue? 
>
>   Thanks.
>
> Hanning 
>
>

-- 
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/3dd3d68e-8b6f-4c43-b9da-be4704f8a676n%40googlegroups.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20230315/9f6b32d9/attachment.htm>


More information about the CP2K-user mailing list