Code: Select all
enable_64bit_flags="yes"
enable_mpi="yes"
enable_mpi_io="yes"
enable_openmp="yes"
with_mpi_prefix="/usr/estools/openmpi/1.8.1/gcc4.9.0"
with_netcdf_incs="-I/usr/estools/netcdf/4.3.2/include"
with_netcdf_libs="-L/usr/estools/netcdf/4.3.2/lib -lnetcdf -lnetcdff"
with_etsf_io_incs="-I/usr/estools/etsf_io/1.0.4/include/gcc"
with_etsf_io_libs="-L/usr/estools/etsf_io/1.0.4/lib -letsf_io_low_level -letsf_io_utils -letsf_io"
with_fft_flavor="fftw3-mpi"
with_fft_incs="-I/usr/estools/fftw/3.3.4/include"
with_fft_libs="-L/usr/estools/fftw/3.3.4/lib -lfftw3 -lfftw3f -lfftw3_mpi -lfftw3f_mpi"
with_linalg_flavor="atlas+magma+scalapack"
with_linalg_incs="-I/usr/estools/ScaLAPACK/include -I/usr/estools/magma/1.5.0-beta2/include -I/usr/estools/ATLAS/3.10.1/include"
with_linalg_libs="-L/usr/estools/ScaLAPACK/lib -lscalapack -L/usr/estools/magma/1.5.0-beta2/lib -lmagma -L/usr/estools/ATLAS/3.10.1/lib -llapack -lf77blas -lcblas -latlas"
with_algo_incs="-I/usr/estools/levmar/2.6/include"
with_algo_libs="-L/usr/estools/levmar/2.6/lib -llevmar -L/usr/estools/ATLAS/3.10.1/lib -llapack -lf77blas -lcblas -latlas"
with_math_incs="-I/usr/estools/gsl/1.16/include"
with_math_libs="-L/usr/estools/gsl/1.16/lib -lgsl -lgslcblas"
with_atompaw_bins="/usr/estools/atompaw/4.0.0.8/bin"
with_atompaw_incs="-I/usr/estools/atompaw/4.0.0.8/include"
with_atompaw_libs="-L/usr/estools/atompaw/4.0.0.8/lib -latompaw"
with_bigdft_incs="-I/usr/estools/bigdft/1.7.1/include"
with_bigdft_libs="-L/usr/estools/libarchive/3.1.2/lib -larchive -L/usr/estools/bigdft/1.7.1/lib -lyaml -ls_gpu -lbigdft-1 -labinit -L/usr/estools/etsf_io/1.0.4/lib -letsf_io_low_level -letsf_io_utils -letsf_io -L/usr/estools/netcdf/4.3.2/lib -lnetcdf -lnetcdff -L/usr/local/cuda-6.0/lib64 -lcublas -lcufft -lcudart"
with_libxc_incs="-I/usr/estools/libxc/2.0.2/include"
with_libxc_libs="-L/usr/estools/libxc/2.0.2/lib -lxc"
with_wannier90_bins="/usr/estools/wannier90/2.0.0/bin"
with_wannier90_incs="-I/usr/estools/wannier90/2.0.0/include"
with_wannier90_libs="-L/usr/estools/wannier90/2.0.0/lib -lwannier"
with_dft_flavor="atompaw+bigdft+libxc+wannier90"
with_trio_flavor="netcdf+etsf_io"
with_algo_flavor="levmar"
with_math_flavor="gsl"
enable_gw_dpc="yes"
enable_gpu="yes"
with_gpu_flavor="cuda-double"
with_gpu_incs="-I/usr/local/cuda-6.0/include"
with_gpu_libs="-L/usr/local/cuda-6.0/lib64 -lcublas -lcufft -lcudart"
Configure step can be completed successfully. However i encounter error with abinit-7.6.4/src/15_gpu_toolbox/ during the make process:
Code: Select all
../../../abinit-7.6.4/src/15_gpu_toolbox/dev_spec.cu(19): warning: function "prt_dev_info" was declared but never referenced
../../../abinit-7.6.4/src/incs/cuda_header.h(58): error: identifier "sprintf" is undefined
1 error detected in the compilation of "/tmp/tmpxft_00000751_00000000-6_gpu_linalg.cpp1.ii".
../../../abinit-7.6.4/src/incs/cuda_header.h(58): error: identifier "sprintf" is undefined
../../../abinit-7.6.4/src/15_gpu_toolbox/timing_cuda.cu(42): error: identifier "printf" is undefined
../../../abinit-7.6.4/src/15_gpu_toolbox/timing_cuda.cu(57): error: identifier "printf" is undefined
3 errors detected in the compilation of "/tmp/tmpxft_00000758_00000000-6_timing_cuda.cpp1.ii".
make[4]: *** [gpu_linalg.o] Error 2
make[4]: *** Waiting for unfinished jobs....
make[4]: *** [timing_cuda.o] Error 2
../../../abinit-7.6.4/src/15_gpu_toolbox/dev_spec.cu(19): warning: function "prt_dev_info" was declared but never referenced
make[4]: Leaving directory `/home/sheng/Desktop/program/Abinit/abinit-7.6.4-build/src/15_gpu_toolbox'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/sheng/Desktop/program/Abinit/abinit-7.6.4-build/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/sheng/Desktop/program/Abinit/abinit-7.6.4-build'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/sheng/Desktop/program/Abinit/abinit-7.6.4-build'
make: *** [multi] Error 2
Did I do anything wrong?