Skip to Content.
Sympa Menu

forum - Re: [abinit-forum] undefined reference to `mpi_allreduce_ and several mpi references

forum@abinit.org

Subject: The ABINIT Users Mailing List ( CLOSED )

List archive

Re: [abinit-forum] undefined reference to `mpi_allreduce_ and several mpi references


Chronological Thread 
  • From: Yann Pouillon <yann.pouillon@ehu.es>
  • To: forum@abinit.org
  • Subject: Re: [abinit-forum] undefined reference to `mpi_allreduce_ and several mpi references
  • Date: Sat, 25 Apr 2009 14:00:31 +0200

Hi,

cpadilla@uach.mx ha escrito:


Arch. Intel Xeon
Red Hat 5 Linux 2.6.18-92.el5
Abinit 5.7.3
Oscar 5.1
LAM 7.1.4

Hi everybody, this is my first compilation with fortran. I began with this
command

./configure --enable-mpi ="yes" FFLAGS_PAR=-I/opt/lam-7.1.4/include
--with-mpi-prefix=/opt/lam-7.1.4
FC=/opt/intel/Compiler/11.0/081/bin/intel64/ifort

I'm using LAM instead openmpi or mpich because Oscar installed the package and
I though that if I want to use abinit with Oscar I need to link both products
in that way.

There should not be any particular issue using LAM.

Try this:

unset CC
unset FC
mkdir tmp-xeon-linux
cd tmp-xeon-linux # this will keep the source tree clean
../configure --enable-mpi --with-mpi-prefix=/opt/lam-7.1.4
# carefully check what configure is saying
make

Please note that abini[sp] will be built with the LAM compiler wrapper (mpif90), and that's what you should see on the output of make.

Then if you want to compile with ifort, you'll have to make sure that LAM has been built with ifort as well.

Best regards,

Yann.

--
Yann Pouillon European Theoretical Spectroscopy Facility (ETSF)
Tel: (+34) 943 01 83 94 Centro Joxe Mari Korta, Avenida de Tolosa, 72
Fax: (+34) 943 01 83 90 20018 Donostia-San Sebastián (Gipuzkoa)
Web: http://www.etsf.es/ España






Archive powered by MHonArc 2.6.15.

Top of Page