Instead of manually linking like this
gfortran -o a.out a.o -lmpi_usempi -lmpi_mpifh -lmpi
you can simply use the compiler wrapper
mpifort -o a.out a.o
so you do not have to worry about the Open MPI library names
/* i do not think mpifort was available back in 1.6.5, but mpif90 was */
Cheers,
Gilles
On 7/12/2016 3:21 PM, Mahmood Naderan wrote:
Sorry but I didn't understand the relation between name changes and
wrapper compilers. I only used --enable-static in the configure process.
> -rw-r--r-- 1 root root 1029580 Jul 11 23:51 libmpi_mpifh.a
> -rw-r--r-- 1 root root 17292 Jul 11 23:51 libmpi_usempi.a
>These are the two for v1.10.x.
So, for an application that used libmpi_f90.a, I have to specify those
two files. Is that right?
MPI_INTERFACE=libmpi_f90.a
->
MPI_INTERFACE=libmpi_mpifh.a libmpi_usempi.a
Regards,
Mahmood
_______________________________________________
users mailing list
us...@open-mpi.org
Subscription: https://www.open-mpi.org/mailman/listinfo.cgi/users
Link to this post:
http://www.open-mpi.org/community/lists/users/2016/07/29645.php