Warning: size of symbol

Anders ande... at gmail.com
Wed Mar 29 16:12:26 UTC 2017


 

HI all

I am trying to compile CP2K 4.1 with the gcc 6.3.0, openmpi-2.1.0, 
libxc-2.2.3 and libint-1.1.4, but I get an error message that I down 
understand

 

/usr/bin/ld: Warning: size of symbol `build_deriv1_eri' changed from 10368 
in 
/users/cms/aslarsen/software/cp2k-4.1/lib/Linux-x86-64-gfortran/psmp/libcp2kmain.a(hfx_libint_wrapper.o) 
to 2048 in 
/cms/aslarsen/software/libint-1.1.4_install/lib/libderiv.a(init_libderiv.o)
/usr/bin/ld: Warning: size of symbol `build_eri' changed from 19208 in 
/users/cms/aslarsen/software/cp2k-4.1/lib/Linux-x86-64-gfortran/psmp/libcp2kmain.a(hfx_libint_wrapper.o) 
to 5000 in 
/cms/aslarsen/software/libint-1.1.4_install/lib/libint.a(init_libint.o)
/usr/bin/ld: Warning: size of symbol `build_deriv1_eri' changed from 10368 
in 
/users/cms/aslarsen/software/cp2k-4.1/lib/Linux-x86-64-gfortran/psmp/libcp2kmain.a(hfx_libint_wrapper.o) 
to 2048 in 
/cms/aslarsen/software/libint-1.1.4_install/lib/libderiv.a(init_libderiv.o)
/usr/bin/ld: Warning: size of symbol `build_eri' changed from 19208 in 
/users/cms/aslarsen/software/cp2k-4.1/lib/Linux-x86-64-gfortran/psmp/libcp2kmain.a(hfx_libint_wrapper.o) 
to 5000 in 
/cms/aslarsen/software/libint-1.1.4_install/lib/libint.a(init_libint.o)
/usr/bin/ld: Warning: size of symbol `build_deriv1_eri' changed from 10368 
in 
/users/cms/aslarsen/software/cp2k-4.1/lib/Linux-x86-64-gfortran/psmp/libcp2kmain.a(hfx_libint_wrapper.o) 
to 2048 in 
/cms/aslarsen/software/libint-1.1.4_install/lib/libderiv.a(init_libderiv.o)
/usr/bin/ld: Warning: size of symbol `build_eri' changed from 19208 in 
/users/cms/aslarsen/software/cp2k-4.1/lib/Linux-x86-64-gfortran/psmp/libcp2kmain.a(hfx_libint_wrapper.o) 
to 5000 in 
/cms/aslarsen/software/libint-1.1.4_install/lib/libint.a(init_libint.o)



Here is the arch file i used based on Linux-x86-64-gfortran.psmp


CC         = gcc
CPP        =
FC         = mpif90
LD         = mpif90
AR         = ar -r
ACML_INC   = /cms/aslarsen/software/ACML/gfortran64/include
ACML_LIB   = /cms/aslarsen/software/ACML/gfortran64/lib
FFTW_INC   = /cms/aslarsen/software/fftw-3.3.6-pl1_install/include
FFTW_LIB   = /cms/aslarsen/software/fftw-3.3.6-pl1_install/lib
LIBINT_INC = /cms/aslarsen/software/libint-1.1.4_install/include
LIBINT_LIB = /cms/aslarsen/software/libint-1.1.4_install/lib
LIBXC_INC  = /cms/aslarsen/software/libxc-2.2.3_install/include
LIBXC_LIB  = /cms/aslarsen/software/libxc-2.2.3_install/lib
DFLAGS     = -D__FFTW3 -D__LIBINT -D__LIBXC2 -D__MPI_VERSION=3\
             -D__LIBINT_MAX_AM=7 -D__LIBDERIV_MAX_AM1=6 -D__MAX_CONTR=4\
             -D__parallel -D__SCALAPACK
CPPFLAGS   =
FCFLAGS    = $(DFLAGS) -O2 -ffast-math -ffree-form -ffree-line-length-none\
             -fopenmp -ftree-vectorize -funroll-loops\
             -mtune=native\
             -I$(ACML_INC) -I$(FFTW_INC) -I$(LIBINT_INC) -I$(LIBXC_INC)
LDFLAGS    = $(FCFLAGS) -static-libgfortran
LIBS       = /cms/aslarsen/software/scalapack-2.0.2_install/libscalapack.a\
             $(ACML_LIB)/libacml.so\
             $(FFTW_LIB)/libfftw3.a\
             $(FFTW_LIB)/libfftw3_threads.a\
             $(LIBXC_LIB)/libxcf90.a\
             $(LIBXC_LIB)/libxc.a\
             $(LIBINT_LIB)/libderiv.a\
             $(LIBINT_LIB)/libint.a\
             -lstdc++

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20170329/6f1bd931/attachment.htm>


More information about the CP2K-user mailing list