Hi,
Dear users and developers, could anyone please help me to install abinit?
I am just finish installing the MPI enabled version of Abinit 7.6.1 and got some problems in make.(I compiled sequential version and it worked well)
I used all this commands for configuration. Configure worked.
FC=mpif90,CC=mpicc,CXX=mpic++.
./configure --enable-mpi=yes --enable-mpi-io=yes --with-mpi-prefix=/wsu/arch/x86_64/openmpi/openmpi-1.4.3-pg
When I used make, the error appeared like this:
../../src/67_common/lib67_common.a(dfpt_write_cg.o): In function
`dfpt_write_cg_':
/wsu/home/eu/eu89/eu8929/quantumcal/ABINITsrc/abinit-7.6.1--
2/src/67_common/./dfpt_write_cg.F90:119: undefined reference to
`cwtime_'
/wsu/home/eu/eu89/eu8929/quantumcal/ABINITsrc/abinit-7.6.1--
2/src/67_common/./dfpt_write_cg.F90:155: undefined reference to
`cwtime_'
/wsu/home/eu/eu89/eu8929/quantumcal/ABINITsrc/abinit-7.6.1--
2/src/67_common/./dfpt_write_cg.F90:155: undefined reference to
`cwtime_'
/wsu/home/eu/eu89/eu8929/quantumcal/ABINITsrc/abinit-7.6.1--
2/src/67_common/./dfpt_write_cg.F90:155: undefined reference to
`cwtime_'
/wsu/home/eu/eu89/eu8929/quantumcal/ABINITsrc/abinit-7.6.1--
2/src/67_common/./dfpt_write_cg.F90:155: undefined reference to
`cwtime_'
../../src/67_common/lib67_common.a
(dfpt_write_cg.o):/wsu/home/eu/eu89/eu8929/quantumcal/ABINITsrc/abi
nit-7.6.1--2/src/67_common/./dfpt_write_cg.F90:278: more undefined
references to `cwtime_' follow
make[3]: *** [abinit] Error 2
make[3]: Leaving directory
`/wsu/home/eu/eu89/eu8929/quantumcal/ABINITsrc/abinit-7.6.1--
2/src/98_main'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/wsu/home/eu/eu89/eu8929/quantumcal/ABINITsrc/abinit-7.6.1--2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/wsu/home/eu/eu89/eu8929/quantumcal/ABINITsrc/abinit-7.6.1--2'
make: *** [all] Error 2
Best regards.
rewreu
abinit installation error with MPI [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.
abinit installation error with MPI
- Attachments
-
config.log
- (108.41 KiB) Downloaded 335 times
Re: abinit installation error with MPI
PGI compilers have serious bugs that are triggered by Abinit, both at compile-time and at run-time, preventing its use in production. This is why we do not support them. The best is probably that you switch to another compiler vendor.
If you still want to build Abinit with PGI compilers, I suggest you to try again in a few weeks when we release Abinit 7.8, which benefits from an extensive refactoring that may trigger a lower amount of PGI bugs.
If you still want to build Abinit with PGI compilers, I suggest you to try again in a few weeks when we release Abinit 7.8, which benefits from an extensive refactoring that may trigger a lower amount of PGI bugs.
Yann Pouillon
Simune Atomistics
Donostia-San Sebastián, Spain
Simune Atomistics
Donostia-San Sebastián, Spain
Re: abinit installation error with MPI
I tried with the openmpi-gcc 1.4.3 instead of openmpi-pgi 1.4.3. Unfortunately, The error seems still exist.
Here is the make error.
There is no buildable file here
make[3]: Leaving directory `/wsu/home/eu/eu89/eu8929/quantumcal/ABINITsrc/14abinit-7.6.1/src/mods'
Making all in 01_interfaces_ext
make[3]: Entering directory `/wsu/home/eu/eu89/eu8929/quantumcal/ABINITsrc/14abinit-7.6.1/src/01_interfaces_ext'
gfortran -DHAVE_CONFIG_H -I. -I../.. -I../../src/incs -I../../src/incs -I/wsu/home/eu/eu89/eu8929/quantumcal/ABINITsrc/14abinit-7.6.1/fallbacks/exports/include -ffree-form -J/wsu/home/eu/eu89/eu8929/quantumcal/ABINITsrc/14abinit-7.6.1/src/mods -O2 -mtune=native -march=native -g -ffree-line-length-none -c -o m_iso_c_bindings.o m_iso_c_bindings.F90
m_iso_c_bindings.F90:0: error: bad value (native) for -march= switch
m_iso_c_bindings.F90:0: error: bad value (native) for -mtune= switch
make[3]: *** [m_iso_c_bindings.o] Error 1
make[3]: Leaving directory `/wsu/home/eu/eu89/eu8929/quantumcal/ABINITsrc/14abinit-7.6.1/src/01_interfaces_ext'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/wsu/home/eu/eu89/eu8929/quantumcal/ABINITsrc/14abinit-7.6.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/wsu/home/eu/eu89/eu8929/quantumcal/ABINITsrc/14abinit-7.6.1'
make: *** [all] Error 2
Thanks for helping.
rewreu
Here is the make error.
There is no buildable file here
make[3]: Leaving directory `/wsu/home/eu/eu89/eu8929/quantumcal/ABINITsrc/14abinit-7.6.1/src/mods'
Making all in 01_interfaces_ext
make[3]: Entering directory `/wsu/home/eu/eu89/eu8929/quantumcal/ABINITsrc/14abinit-7.6.1/src/01_interfaces_ext'
gfortran -DHAVE_CONFIG_H -I. -I../.. -I../../src/incs -I../../src/incs -I/wsu/home/eu/eu89/eu8929/quantumcal/ABINITsrc/14abinit-7.6.1/fallbacks/exports/include -ffree-form -J/wsu/home/eu/eu89/eu8929/quantumcal/ABINITsrc/14abinit-7.6.1/src/mods -O2 -mtune=native -march=native -g -ffree-line-length-none -c -o m_iso_c_bindings.o m_iso_c_bindings.F90
m_iso_c_bindings.F90:0: error: bad value (native) for -march= switch
m_iso_c_bindings.F90:0: error: bad value (native) for -mtune= switch
make[3]: *** [m_iso_c_bindings.o] Error 1
make[3]: Leaving directory `/wsu/home/eu/eu89/eu8929/quantumcal/ABINITsrc/14abinit-7.6.1/src/01_interfaces_ext'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/wsu/home/eu/eu89/eu8929/quantumcal/ABINITsrc/14abinit-7.6.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/wsu/home/eu/eu89/eu8929/quantumcal/ABINITsrc/14abinit-7.6.1'
make: *** [all] Error 2
Thanks for helping.
rewreu
- Attachments
-
config.log
- (21.8 KiB) Downloaded 335 times
Re: abinit installation error with MPI [SOLVED]
Hi,
compilers that are not / no longer supported are
in your config.log, we see
configure:3745: gcc --version >&5
gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-54)
it's why, there is a error with
the best choices for compilers are : gcc4.8 or 4.9 , ifort >= 13.0.3
jmb
compilers that are not / no longer supported are
ifort <= 11.x
gcc <= 4.4
pgi >= 8
pathscale >=5
open64
in your config.log, we see
configure:3745: gcc --version >&5
gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-54)
it's why, there is a error with
" error: bad value (native) for -march= switch"
the best choices for compilers are : gcc4.8 or 4.9 , ifort >= 13.0.3
jmb
------
Jean-Michel Beuken
Computer Scientist
Jean-Michel Beuken
Computer Scientist
Re: abinit installation error with MPI
FYI: RedHat 4 is an antiquity. Version 7 has been published recently, hence you might consider to upgrade your system to at least version 6, in order to experience much higher performance.
Yann Pouillon
Simune Atomistics
Donostia-San Sebastián, Spain
Simune Atomistics
Donostia-San Sebastián, Spain