[CP2K-user] [CP2K:20753] compilation problems - LHS and RHS of an assignment statement have incompatible types

bartosz mazur bamaz.97 at gmail.com
Tue Oct 8 10:58:00 UTC 2024


Hi all, 

I recently managed to compile cp2k on our cluster, but regtests showed 
several errors. Most of the failures are due to the error `forrtl: severe 
(189): LHS and RHS of an assignment statement have incompatible types` or `forrtl: 
severe (153): allocatable array or pointer is not allocated`. After looking 
at the output from `make` I noticed that there are quite a few similar 
warnings there:

```
/lustre/pd01/hpc-kuchta-1716987452/software/cp2k/exts/dbcsr/src/mpi/dbcsr_mpiwrap.F(1930): 
warning #8100: The actual argument is an array section or assumed-shape 
array, corresponding dummy argument that has either the VOLATILE or 
ASYNCHRONOUS attribute shall be an assumed-shape array.   [MSGIN]
         CALL mpi_isend(msgin, msglen, MPI_LOGICAL, dest, my_tag, &
------------------------^
```

For compilation I used GCC 12.2.0 and intel 2022.2.1. My toolchain command 
was `./install_cp2k_toolchain.sh --mpi-mode=intelmpi --with-intel 
--with-gcc=system --with-plumed --with-quip --with-pexsi --with-ptscotch 
--with-superlu --with-fftw=no --with-hdf5`. In the attachment I provide all 
outputs from toolchain, make, and regtests. 

I'm not sure what went wrong and how should I proceed so any help will be 
much appreciated! 

Best
Bartosz

-- 
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/f23087e8-772f-4484-9f38-1f2aa0874058n%40googlegroups.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20241008/88dd18db/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bem_compilation_warnings.zip
Type: application/x-zip
Size: 351812 bytes
Desc: not available
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20241008/88dd18db/attachment-0001.bin>


More information about the CP2K-user mailing list