Skip to Content.
Sympa Menu

forum - Re: [abinit-forum] compilation of parallel abinit 5.4.4

forum@abinit.org

Subject: The ABINIT Users Mailing List ( CLOSED )

List archive

Re: [abinit-forum] compilation of parallel abinit 5.4.4


Chronological Thread 
  • From: Damien Caliste <damien.caliste@cea.fr>
  • To: forum@abinit.org
  • Subject: Re: [abinit-forum] compilation of parallel abinit 5.4.4
  • Date: Wed, 30 Jan 2008 16:59:02 +0100
  • Organization: CEA - recherche fondamentale

Hello,

Le 30/01/2008, "小龙邹" <zouxl02@gmail.com> a écrit :
> libfmpich.a contains:
>
> comm_rankf.o:
> 0000000000000000 W mpi_comm_rank_
> U MPI_Comm_rank
> 0000000000000000 T pmpi_comm_rank_
Ok, so your MPI fortran library is compiled with one happened
underscore. So, my first guess was wrong : the compilation of ABINIT
doesn't raise a problem of underscore in symbols. If I read your first
post, the error was:
mpi_wtime_ symbol unresolved.
Is this symbol present in your libfmpich.a? Is it defined with a W or a
T?

> my line for configure is :
>
> ./configure LIBS="-L/usr/local/mpich-1.2.5.2-ifc/lib/ -lfmpich
> -lmpich" --enable-mpi
> --with-mpi-prefix=/usr/local/mpich-1.2.5.2-ifc--with-mpi-fcflags="-assume
> nounderscore" FC=/usr/local/mpich- 1.2.5.2-ifc/bin/mpif90
>
> and "--with-mpi-fcflags" is used to save me from the "MPI_Wtime_"
> error described in my former post.
Ok, but I think this corrects the first problem by chance, because this
symbol exists in the C library file... So I was wrong, don't use -assume
nounderscore.

By the way, you should not have to specify the -L... and -lfmpi and
-lmpi, the mpif90 script should do it for you. Ideally, just use
'--enable-mpi FC=[...]/mpif90'.

Hope we can convergence, since it should work ;)

Damien.




Archive powered by MHonArc 2.6.16.

Top of Page