Build failure on 32bit
Michael Banck
mba... at debian.org
Mon Jan 8 11:07:09 UTC 2018
Hi,
I finally managed to upload CP2K-5.1 to Debian and it fails to build on
32bit systems, always with this error:
mpif90 -c -g -Wall -O2 -ffast-math -funroll-loops -ftree-vectorize
-ffree-form -ffree-line-length-none -D__GFORTRAN -D__FFTSG -D__FFTW3
-D__FFTW3_UNALIGNED -D__LIBINT -D__LIBXC2 -D__parallel -D__BLACS
-D__SCALAPACK -D__ELPA3 -I/usr/include/elpa/modules/ -I/usr/include
-D__COMPILE_ARCH="\"Linux-i686-gfortran\"" -D__COMPILE_DATE="\"Sun Jan
7 17:12:46 UTC 2018\"" -D__COMPILE_HOST="\"x86-grnet-01\""
-D__COMPILE_REVISION="\"svn:18091\"" -D__DATA_DIR="\"/usr/share/cp2k\""
-D__SHORT_FILE__="\"mpiwrap/message_passing.F\""
-I'/<<PKGBUILDDIR>>/src/mpiwrap/' message_passing.F90
/<<PKGBUILDDIR>>/src/mpiwrap/message_passing.F:85:79:
INTEGER(KIND=MPI_ADDRESS_KIND), PARAMETER, PRIVATE ::
mp_max_memory_size = 2*INT(2, KIND=MPI_ADDRESS_KIND)**30
1
Error: Arithmetic overflow at (1)
/<<PKGBUILDDIR>>/src/mpiwrap/message_passing.f90:3982:40:
IF (mp_size .GT. mp_max_memory_size) THEN
1
Error: Symbol 'mp_max_memory_size' at (1) has no IMPLICIT type
[...]
/<<PKGBUILDDIR>>/makefiles/Makefile:427: recipe for target
'message_passing.o' failed
make[5]: *** [message_passing.o] Error 1
See
https://buildd.debian.org/status/fetch.php?pkg=cp2k&arch=i386&ver=5.1-1&stamp=1515345178&raw=0
for a specific build log and
https://buildd.debian.org/status/package.php?p=cp2k for the overview.
I understand that few people run CP2K on 32bit systems in production but
this might be easy(?) enough to fix to make it build?
Michael
More information about the CP2K-user
mailing list