I am triing to install abinit-6.10.3 on ubuntu server 11.10. I prepared ubuntu.ac
Code: Select all
prefix="/usr/local"
enable_mpi="yes"
enable_mpi_io="yes"
with_mpi_prefix="/usr"
with_netcdf_incs="-I/usr/include"
with_netcdf_libs="-L/usr/lib -lnetcdf -lnetcdff"
with_fft_flavor="fftw3"
with_fft_incs="-I/usr/include/"
with_fft_libs="-L/usr/lib -lfftw3"
with_linalg_flavor="atlas"
with_linalg_libs="-L/usr/lib -llapack -lf77blas -lcblas -latlas"
with_dft_flavor="atompaw+bigdft+libxc+wannier90"
enable_gw_dpc="yes"
enable_maintainer_checks="no"
enable_test_timeout="yes"
enable_gui_build="no"
and run ./configure --with-config-file="./ubuntu.ac"
Code: Select all
==============================================================================
=== Final remarks ===
==============================================================================
Summary of important options:
* C compiler : gnu version 4.6
* Fortran compiler: gnu version 4.6
* architecture : intel xeon (64 bits)
* debugging : basic
* optimizations : standard
* MPI enabled : yes
* MPI-IO enabled : yes
* GPU enabled : no (none)
* TRIO flavor = netcdf+etsf_io
* TIMER flavor = abinit (libs: ignored)
* LINALG flavor = atlas (libs: user-defined)
* FFT flavor = fftw3 (libs: user-defined)
* MATH flavor = none (libs: ignored)
* DFT flavor = libxc-fallback+atompaw-fallback+bigdft-fallback+wannier90-fallback
Configuration complete.
You may now type "make" to build ABINIT.
(or, on a SMP machine, "make mj4", or "make multi multi_nprocs=<n>")
make -mj4 abinit, i find this message :
Code: Select all
../../src/53_ffts/lib53_ffts.a(sg_fftrisc.o): In function `sg_fftrisc_':
/home/serzz/abinit/abinit-6.10.3/src/53_ffts/sg_fftrisc.F90:203: undefined reference to `omp_get_num_threads_'
../../src/53_ffts/lib53_ffts.a(sg_fftrisc_2.o): In function `sg_fftrisc_2_':
/home/serzz/abinit/abinit-6.10.3/src/53_ffts/sg_fftrisc_2.F90:249: undefined reference to `omp_get_num_threads_'
collect2: ld returned 1 exit status
make[3]: *** [cut3d] Error 1
make[3]: *** Waiting for unfinished jobs....
../../src/53_ffts/lib53_ffts.a(sg_fftrisc.o): In function `sg_fftrisc_':
/home/serzz/abinit/abinit-6.10.3/src/53_ffts/sg_fftrisc.F90:203: undefined reference to `omp_get_num_threads_'
../../src/53_ffts/lib53_ffts.a(sg_fftrisc_2.o): In function `sg_fftrisc_2_':
/home/serzz/abinit/abinit-6.10.3/src/53_ffts/sg_fftrisc_2.F90:249: undefined reference to `omp_get_num_threads_'
collect2: ld returned 1 exit status
make[3]: *** [fftprof] Error 1
../../src/53_ffts/lib53_ffts.a(sg_fftrisc.o): In function `sg_fftrisc_':
/home/serzz/abinit/abinit-6.10.3/src/53_ffts/sg_fftrisc.F90:203: undefined reference to `omp_get_num_threads_'
../../src/53_ffts/lib53_ffts.a(sg_fftrisc_2.o): In function `sg_fftrisc_2_':
/home/serzz/abinit/abinit-6.10.3/src/53_ffts/sg_fftrisc_2.F90:249: undefined reference to `omp_get_num_threads_'
collect2: ld returned 1 exit status
make[3]: *** [kss2wfk] Error 1
../../src/56_xc/lib56_xc.a(rhohxc.o): In function `rhohxc_':
/home/serzz/abinit/abinit-6.10.3/src/56_xc/rhohxc.F90:658: undefined reference to `omp_get_num_threads_'
../../src/53_ffts/lib53_ffts.a(sg_fftrisc.o): In function `sg_fftrisc_':
/home/serzz/abinit/abinit-6.10.3/src/53_ffts/sg_fftrisc.F90:203: undefined reference to `omp_get_num_threads_'
../../src/53_ffts/lib53_ffts.a(sg_fftrisc_2.o): In function `sg_fftrisc_2_':
/home/serzz/abinit/abinit-6.10.3/src/53_ffts/sg_fftrisc_2.F90:249: undefined reference to `omp_get_num_threads_'
collect2: ld returned 1 exit status
make[3]: *** [abinit] Error 1
make[3]: Leaving directory `/home/serzz/abinit/abinit-6.10.3/src/98_main'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/serzz/abinit/abinit-6.10.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/serzz/abinit/abinit-6.10.3'
make: *** [all] Error 2
what may be wrong?
Sergei