forum@abinit.org
Subject: The ABINIT Users Mailing List ( CLOSED )
List archive
- 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 11:31:46 +0100
- Organization: CEA - recherche fondamentale
Hello,
Le 30/01/2008, "小龙邹" <zouxl02@gmail.com> a écrit :
> Would you please make another suggestion ?
Err, no, not this time. But I have some remarks:
> in the case of mpi library, i get
> W MPI_Comm_rank
> T PMPI_Comm_rank
I think you looked into the MPI library itself (meaning the C library),
something called libmpi.a. The symbol you look for is in the Fortran
bindings for MPI, usually called libfmpi.a. In this latter you will
find the symbol with the lower case. In fact, when you use the mpif90
wrapper, at link time, it tries to link the too libraries, the C one,
with the real implementation and the Fortran bindings since ABINIT is
in Fortran, but well...
For instance, my libfmpi.a contains:
_wcomm_rankf.o:
0000000000000000 T mpi_comm_rank__
U MPI_Comm_rank
Meaning that MPI_Comm_rank from the C library is used by the
mpi_comm_rank__ for the Fortran binding.
> while in the case of abinip. i get
> U mpi_comm_rank
That's the strange point in my opinion. It should be mpi_comm_rank__
with the two trailing underscores. Can you past the line where
abinip-abinit.o is built, please? And maybe also some part of the
result of nm on this object file?
This assumes that you use -fsecond-underscore (or equivalent for ifc)
for both ABINIT and MPICH... So beside the above questions, can you see
what symbols are defined in your libfmpi.a?
Damien.
- compilation of parallel abinit 5.4.4, zouxl02, 01/29/2008
- Re: [abinit-forum] compilation of parallel abinit 5.4.4, Anglade Pierre-Matthieu, 01/29/2008
- Re: [abinit-forum] compilation of parallel abinit 5.4.4, 小龙邹, 01/29/2008
- Re: [abinit-forum] compilation of parallel abinit 5.4.4, Anglade Pierre-Matthieu, 01/29/2008
- Re: [abinit-forum] compilation of parallel abinit 5.4.4, 小龙邹, 01/29/2008
- Re: [abinit-forum] compilation of parallel abinit 5.4.4, Damien Caliste, 01/29/2008
- Re: [abinit-forum] compilation of parallel abinit 5.4.4, 小龙邹, 01/30/2008
- Re: [abinit-forum] compilation of parallel abinit 5.4.4, Damien Caliste, 01/30/2008
- Re: [abinit-forum] compilation of parallel abinit 5.4.4, 小龙邹, 01/30/2008
- Re: [abinit-forum] compilation of parallel abinit 5.4.4, Damien Caliste, 01/30/2008
- Re: [abinit-forum] compilation of parallel abinit 5.4.4, 小龙邹, 01/30/2008
- Re: [abinit-forum] compilation of parallel abinit 5.4.4, Matthieu Verstraete, 01/30/2008
- Re: [abinit-forum] compilation of parallel abinit 5.4.4, 小龙邹, 01/30/2008
- Re: [abinit-forum] compilation of parallel abinit 5.4.4, Damien Caliste, 01/30/2008
- Re: [abinit-forum] compilation of parallel abinit 5.4.4, 小龙邹, 01/30/2008
- Re: [abinit-forum] compilation of parallel abinit 5.4.4, Damien Caliste, 01/30/2008
- Re: [abinit-forum] compilation of parallel abinit 5.4.4, 小龙邹, 01/30/2008
- Re: [abinit-forum] compilation of parallel abinit 5.4.4, Anglade Pierre-Matthieu, 01/29/2008
Archive powered by MHonArc 2.6.16.