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

Hanning Chen chenhanning at gmail.com
Wed Mar 15 05:57:56 UTC 2023


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/CAFuabwuyO--hHxwptepkjn-pXyy137ih%2BgV%3DvWEeZy%2BgTD4AhA%40mail.gmail.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20230315/f5de84af/attachment.htm>


More information about the CP2K-user mailing list