Page 1 of 1

abinit installation error with MPI

Posted: Fri Jun 06, 2014 5:49 pm
by rewreu
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

Re: abinit installation error with MPI

Posted: Mon Jun 09, 2014 11:25 am
by pouillon
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.

Re: abinit installation error with MPI

Posted: Mon Jun 09, 2014 3:55 pm
by rewreu
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

Re: abinit installation error with MPI  [SOLVED]

Posted: Mon Jun 09, 2014 7:35 pm
by jbeuken
Hi,

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

Re: abinit installation error with MPI

Posted: Thu Jun 12, 2014 9:32 am
by pouillon
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.