[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


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
> openmpi-1.10.3/lib/libmpi_mpifh.la

If you have the .la files, then you should also have the .so versions (which 
are the shared libraries).

Are the shared libraries not sufficient for some reason?

If you need to have static libraries, you can 
re-configure/re-compile/re-install Open MPI with static libraries (it defaults 
to shared libraries).  Use:

./configure --disable-shared --enable-static ...the rest of your configure 
arguments...

-- 
Jeff Squyres
jsquy...@cisco.com
For corporate legal information go to: 
http://www.cisco.com/web/about/doing_business/legal/cri/



Re: [OMPI users] Need libmpi_f90.a

2016-07-10 Thread Mahmood Naderan
>./configure --disable-shared --enable-static

Thank you very much

Regards,
Mahmood