Abinit 6.6.1 problem compiling
Posted: Thu Jul 28, 2011 8:46 am
I'm having an issue compiling abinit 6.6.1 in parallel, and I was able to compile it ,but there are two errors during the step of make . I've been trying to sole it for a while and cannot seem to get anywhere with it.
I have run configure like so :
./configure --prefix="/data/gcy/abinit" --with-mpi-prefix="/export/mpi/" --enable-mpi
And MPI from the configure log :
checking whether MPI is usable... no
configure: WARNING: MPI support is broken!
configure: enabling MPI I/O support
checking whether to build MPI code... yes
checking whether to build MPI I/O code... yes
checking whether to build MPI time tracing code... no
checking which level of MPI is supported by the Fortran compiler... none
checking whether to activate GPU support... no
checking for the requested transferable I/O support... etsf_io
checking netcdf.h usability... no
checking netcdf.h presence... no
checking for netcdf.h... no
checking for library containing nc_open... no
checking for Fortran module includes... unknown
configure: WARNING: falling back to internal netcdf version
configure: WARNING: ETSF_IO requires missing NetCDF support
configure: WARNING: falling back to internal etsf_io version
checking for the actual transferable I/O support... netcdf-fallback+etsf_io-fallback
checking for the requested timer support... abinit
checking for the actual timer support... abinit
checking for the requested linear algebra support... netlib
checking for library containing blas... no
checking for library containing lapack... no
When I run :
make
gfortran -DHAVE_CONFIG_H -I. -I../.. -I../../src/incs -I../../src/incs -ffree-form -J/data/gcy/abinit-6.6.1/src/mods -O2 -mtune=native -march=native -mfpmath=sse -g -ffree-line-length-none -Wstrict-aliasing=2 -c -o m_build_info.o m_build_info.F90
../../config.h:575:2: error: #error "HAVE_MPI1 and HAVE_MPI2 are both undefined"
make[3]: *** [m_build_info.o] Error 1
make[3]: Leaving directory `/data/gcy/abinit-6.6.1/src/16_hideleave'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/data/gcy/abinit-6.6.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
It failed because of two errors.
I'm not sure what the problem is ,and I don't know how I do . Has anyone seen this or can offer some advice?
Thanks for taking the time to read.
Paul
I have run configure like so :
./configure --prefix="/data/gcy/abinit" --with-mpi-prefix="/export/mpi/" --enable-mpi
And MPI from the configure log :
checking whether MPI is usable... no
configure: WARNING: MPI support is broken!
configure: enabling MPI I/O support
checking whether to build MPI code... yes
checking whether to build MPI I/O code... yes
checking whether to build MPI time tracing code... no
checking which level of MPI is supported by the Fortran compiler... none
checking whether to activate GPU support... no
checking for the requested transferable I/O support... etsf_io
checking netcdf.h usability... no
checking netcdf.h presence... no
checking for netcdf.h... no
checking for library containing nc_open... no
checking for Fortran module includes... unknown
configure: WARNING: falling back to internal netcdf version
configure: WARNING: ETSF_IO requires missing NetCDF support
configure: WARNING: falling back to internal etsf_io version
checking for the actual transferable I/O support... netcdf-fallback+etsf_io-fallback
checking for the requested timer support... abinit
checking for the actual timer support... abinit
checking for the requested linear algebra support... netlib
checking for library containing blas... no
checking for library containing lapack... no
When I run :
make
gfortran -DHAVE_CONFIG_H -I. -I../.. -I../../src/incs -I../../src/incs -ffree-form -J/data/gcy/abinit-6.6.1/src/mods -O2 -mtune=native -march=native -mfpmath=sse -g -ffree-line-length-none -Wstrict-aliasing=2 -c -o m_build_info.o m_build_info.F90
../../config.h:575:2: error: #error "HAVE_MPI1 and HAVE_MPI2 are both undefined"
make[3]: *** [m_build_info.o] Error 1
make[3]: Leaving directory `/data/gcy/abinit-6.6.1/src/16_hideleave'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/data/gcy/abinit-6.6.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
It failed because of two errors.
I'm not sure what the problem is ,and I don't know how I do . Has anyone seen this or can offer some advice?
Thanks for taking the time to read.
Paul