Re: [OMPI users] Need libmpi_f90.a

2016-07-12 Thread Gilles Gouaillardet
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 */

Re: [OMPI users] Need libmpi_f90.a

2016-07-12 Thread Mahmood Naderan
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.

Re: [OMPI users] Need libmpi_f90.a

2016-07-11 Thread Jeff Squyres (jsquyres)
On Jul 11, 2016, at 3:25 PM, Mahmood Naderan wrote: > # ls -l libmpi* > -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. Sorry; one thing I wasn't clear on (I had

Re: [OMPI users] Need libmpi_f90.a

2016-07-11 Thread Mahmood Naderan
Excuse me... that command only creates libmpi_f90.a for V1.6.5. What about V1.10.3? I don't see such file even with --enable-static. Does it have a different name? # ls -l libmpi* -rw-r--r-- 1 root root 5888466 Jul 11 23:51 libmpi.a -rw-r--r-- 1 root root 962656 Jul 11 23:51 libmpi_cxx.a

Re: [OMPI users] Need libmpi_f90.a

2016-07-10 Thread Mahmood Naderan
>./configure --disable-shared --enable-static Thank you very much Regards, Mahmood

Re: [OMPI users] Need libmpi_f90.a

2016-07-10 Thread Jeff Squyres (jsquyres)
> On Jul 10, 2016, at 9:59 AM, Mahmood Naderan wrote: > > Hi, > I need libmpi_f90.a for building an application. I have manually compiled > 1.6.5 and 1.10.3 but that file is absent. Instead I see these > > openmpi-1.6.5/lib/libmpi_f90.la >

[OMPI users] Need libmpi_f90.a

2016-07-10 Thread Mahmood Naderan
Hi, I need libmpi_f90.a for building an application. I have manually compiled 1.6.5 and 1.10.3 but that file is absent. Instead I see these openmpi-1.6.5/lib/libmpi_f90.la openmpi-1.10.3/lib/libmpi_mpifh.la What should I do? Regards, Mahmood