Re: [OMPI users] symbol lookup error for a "hello world" fortran script

2016-11-16 Thread Julien de Troullioud de Lanversin
Gilles, I went for the radical solution and completely removed intel prallel studio from my system (I used it for ifort but I prefer to use gfortran now). The script works now. Thanks a lot for your help Gilles. Julien 2016-11-16 1:24 GMT-05:00 Gilles Gouaillardet

Re: [OMPI users] symbol lookup error for a "hello world" fortran script

2016-11-15 Thread Gilles Gouaillardet
Julien, the fortran lib is in /usr/lib/libmpi_mpifh.so.12 the C lib is the one from Intel MPI i guess the C lib is in /usr/lib, and not /usr/lib/openmpi/lib prepending /usr/lib is never recommended, so i suggest you simply remove

Re: [OMPI users] symbol lookup error for a "hello world" fortran script

2016-11-15 Thread Julien de Troullioud de Lanversin
Gilles, Thank you for your fast reply. When I type whereis mpifort I have the following: *mpifort: /usr/bin/mpifort.openmpi /usr/bin/mpifort /usr/share/man/man1/mpifort.1.gz* I made sure I exported the LD_LIBRARY_PATH after I prepended /usr/lib/openmpi/lib. The same error is produced. If I

Re: [OMPI users] symbol lookup error for a "hello world" fortran script

2016-11-15 Thread Gilles Gouaillardet
Julien, first, make sure you are using the Open MPI wrapper which mpifort should be /usr/lib/openmpi/bin if i understand correctly then make sure you exported your LD_LIBRARY_PATH *after* you prepended the path to Open MPI lib in your .bashrc you can either

[OMPI users] symbol lookup error for a "hello world" fortran script

2016-11-15 Thread Julien de Troullioud de Lanversin
Hi all, I am completely new to MPI (and relatively new to linux). I am sorry if the problem I encountered is obvious to solve. When I run the following simple test with mpirun: *program hello_world use mpi integer ierr call MPI_INIT ( ierr ) print *, "Hello world"