make errors [SOLVED]
Moderators: fgoudreault, mcote
Forum rules
Please have a look at ~abinit/doc/config/build-config.ac in the source package for detailed and up-to-date information about the configuration of Abinit 8 builds.
For a video explanation on how to build Abinit 7.x for Linux, please go to: http://www.youtube.com/watch?v=DppLQ-KQA68.
IMPORTANT: when an answer solves your problem, please check the little green V-like button on its upper-right corner to accept it.
Please have a look at ~abinit/doc/config/build-config.ac in the source package for detailed and up-to-date information about the configuration of Abinit 8 builds.
For a video explanation on how to build Abinit 7.x for Linux, please go to: http://www.youtube.com/watch?v=DppLQ-KQA68.
IMPORTANT: when an answer solves your problem, please check the little green V-like button on its upper-right corner to accept it.
make errors
Dear all
I encountered a problem when I am compiling the newest released Abinit codes (version 7.10.4) in the cluster. The error information is followed and the config.log file is attached.
How can I fix the errors?
Thank you advance.
evan
University of South China
../../src/41_xc_lowlevel/lib41_xc_lowlevel.a(libxc_tools.o): In function `xc_f90_functional_get_number_':
/export1/home/maofei/src/abinit_7.10.4/src/41_xc_lowlevel/libxc_tools.c:60: undefined reference to `xc_functional_get_number'
../../src/41_xc_lowlevel/lib41_xc_lowlevel.a(libxc_tools.o): In function `xc_f90_functional_get_name_':
/export1/home/maofei/src/abinit_7.10.4/src/41_xc_lowlevel/libxc_tools.c:41: undefined reference to `xc_functional_get_name'
make[3]: *** [abinit] Error 1
make[3]: Leaving directory `/export1/home/maofei/src/abinit_7.10.4/src/98_main'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/export1/home/maofei/src/abinit_7.10.4/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/export1/home/maofei/src/abinit_7.10.4'
make: *** [all] Error 2
I encountered a problem when I am compiling the newest released Abinit codes (version 7.10.4) in the cluster. The error information is followed and the config.log file is attached.
How can I fix the errors?
Thank you advance.
evan
University of South China
../../src/41_xc_lowlevel/lib41_xc_lowlevel.a(libxc_tools.o): In function `xc_f90_functional_get_number_':
/export1/home/maofei/src/abinit_7.10.4/src/41_xc_lowlevel/libxc_tools.c:60: undefined reference to `xc_functional_get_number'
../../src/41_xc_lowlevel/lib41_xc_lowlevel.a(libxc_tools.o): In function `xc_f90_functional_get_name_':
/export1/home/maofei/src/abinit_7.10.4/src/41_xc_lowlevel/libxc_tools.c:41: undefined reference to `xc_functional_get_name'
make[3]: *** [abinit] Error 1
make[3]: Leaving directory `/export1/home/maofei/src/abinit_7.10.4/src/98_main'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/export1/home/maofei/src/abinit_7.10.4/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/export1/home/maofei/src/abinit_7.10.4'
make: *** [all] Error 2
- Attachments
-
config.log
- configure file
- (141.78 KiB) Downloaded 373 times
Re: make errors
Hi,
in the config.log, I see some problems in the configure command :
1) -with-fc-version=11.1
version 11.1 is no more supported with abinit 7.10
2) perhaps, there is a typo in the path of libxc fallback :
regards
jmb
in the config.log, I see some problems in the configure command :
Code: Select all
$ ./configure --prefix=/export1/home/maofei/opt/abinit_v7.10/sopt2 FC=ifort CC=icc CXX=icpc FCFLAGS=-fPIC --with-tardir=/export1/home/maofei/src/plugins --enable-64bit-flags=yes --with-trio-flavor=netcdf+etsf_io+fox --with-netcdf-incs=-I/export1/home/maofei/opt/oct_local/include --with-netcdf-libs=-L/export1/home/maofei/opt/oct_local/lib -lnetcdff -lnetcdf --with-fft-flavor=fftw3 --with-fft-incs=-I/export1/home/maofei/opt/fftw/include --with-fft-libs=-L/export1/home/maofei/opt/fftw/lib -lfftw3 --with-dft-flavor=atompaw+bigdft+libxc+wannier90 --with-libxc-incs=-I/export1/home/maofei/opt/lixc-2.02/include --with-libxc-libs=-L/export1/home/maofei/opt/lixc-2.02/lib -lxc --with-atompaw-bins=/export1/home/maofei/opt/atompaw/bin --with-atompaw-libs=-L/export1/home/maofei/opt/atompaw/lib -latompaw --with-linalg-flavor=mkl --with-linalg-libs=-L/export1/home/maofei/intel/Compiler/11.1/069/mkl/lib/em64t -Wl,--start-group -lmkl_intel_lp64 -lmkl_sequential -lmkl_core -Wl,--end-group --enable-gw-dpc=yes --with-fc-vendor=intel --with-fc-version=11.1
1) -with-fc-version=11.1
version 11.1 is no more supported with abinit 7.10
2) perhaps, there is a typo in the path of libxc fallback :
/export1/home/maofei/opt/lixc-2.02/lib
regards
jmb
------
Jean-Michel Beuken
Computer Scientist
Jean-Michel Beuken
Computer Scientist
Re: make errors
Dear jbeuken
Thank you for your reply, the ifort compiler of version 11.1.069 is available on the clusters, so i want to what is the latest version of abinit codes supported by ifort 11.1 compiler, then I can compile the abinit codes with ifort 11.1.
I have check the path of libxc library, it is right.
Regards
evan
Thank you for your reply, the ifort compiler of version 11.1.069 is available on the clusters, so i want to what is the latest version of abinit codes supported by ifort 11.1 compiler, then I can compile the abinit codes with ifort 11.1.
I have check the path of libxc library, it is right.
Regards
evan
Re: make errors
Hi,
You can't use ifort 11 to compile abinit 7
for intel compilers, only these versions are supported : >= 12.1.7, >= 13.1.3, >= 14.0.4, == 15.0.3.187
regards
jmb
You can't use ifort 11 to compile abinit 7
for intel compilers, only these versions are supported : >= 12.1.7, >= 13.1.3, >= 14.0.4, == 15.0.3.187
regards
jmb
------
Jean-Michel Beuken
Computer Scientist
Jean-Michel Beuken
Computer Scientist
Re: make errors
Dear jbeuken
Is there any other compilers support abinit 7, how about gfortran compiler.
Regards
evan
Is there any other compilers support abinit 7, how about gfortran compiler.
Regards
evan
Re: make errors
officially, gcc >= 4.6
but abinit 7.10.x works with gcc 4.8 or 4.9
jmb
but abinit 7.10.x works with gcc 4.8 or 4.9
jmb
------
Jean-Michel Beuken
Computer Scientist
Jean-Michel Beuken
Computer Scientist
Re: make errors
Dear jbeuken
Thank you for your kind replies.
Regards
evan
Thank you for your kind replies.
Regards
evan
Re: make errors
Dear jbeuken
I compile the abinit 7.10.4 with ifort (version 15.0), but the “make” processes get stuck at this points:
ifort: command line remark #10010: option '-vec-report0' is deprecated and will be removed in a future release. See '-help deprecated'
How to fix the problem.
Regards
evan
I compile the abinit 7.10.4 with ifort (version 15.0), but the “make” processes get stuck at this points:
ifort: command line remark #10010: option '-vec-report0' is deprecated and will be removed in a future release. See '-help deprecated'
How to fix the problem.
Regards
evan
Re: make errors [SOLVED]
The depreciated message does not mean the compilation is stuck.
Depending on the file it is actually compiling, the compilation can be long if many optimizations are required.
To solve the issue, you can compile by hand the file with less or no optimization.
Run make
when it gets stuck kill the process
go to the directory make was
copy pas the last make line information typically something like mpif90 -I. -I.. ../../src/xx_xxxx/yyyy.F90 ......
Remove the -O2 or -O3 or -xHOST and replace it by -O0 or -O1
Then go back where you type make and make
Depending on the file it is actually compiling, the compilation can be long if many optimizations are required.
To solve the issue, you can compile by hand the file with less or no optimization.
Run make
when it gets stuck kill the process
go to the directory make was
copy pas the last make line information typically something like mpif90 -I. -I.. ../../src/xx_xxxx/yyyy.F90 ......
Remove the -O2 or -O3 or -xHOST and replace it by -O0 or -O1
Then go back where you type make and make