Re: [OMPI users] mpif90 compiler non-functional

2011-06-22 Thread Dmitry N. Mikushin
Alexandre, > How can I make to point to the new installed version in > /opt/openmpi-1.4.3, when calling mpif90 or mpif77 as a common user ? If you need to switch between multiple working MPI implementations frequently (a common problem on public clusters or during local testing/benchmarking), scr

Re: [OMPI users] mpif90 compiler non-functional

2011-06-22 Thread Jeff Squyres
This this: http://www.open-mpi.org/faq/?category=running#adding-ompi-to-path On Jun 22, 2011, at 1:18 PM, Alexandre Souza wrote: > Thanks Dimitri and Jeff for the output, > I managed build the mpi and run the examples in f77 and f90 doing the > guideline. > However the only problem is I wa

Re: [OMPI users] mpif90 compiler non-functional

2011-06-22 Thread Gus Correa
Alexandre One simple way is to set your PATH and LD_LIBRARY_PATH in your .[t]cshrc/.bashrc file to point to the OpenMPI version that you want to use. Something like this: [t]csh: setenv PATH opt/openmpi-1.4.3/bin:$PATH bash: export PATH=/opt/openmpi-1.4.3/bin:$PATH and similar for LD_LIBRARY_P

Re: [OMPI users] mpif90 compiler non-functional

2011-06-22 Thread Alexandre Souza
Thanks Dimitri and Jeff for the output, I managed build the mpi and run the examples in f77 and f90 doing the guideline. However the only problem is I was logged as Root. When I compile the examples with mpif90 or mpif77 as common user, it keeps pointing to the old installation of mpi that does not

Re: [OMPI users] mpif90 compiler non-functional

2011-06-22 Thread Jeff Squyres
Dimitry is correct -- if OMPI's configure can find a working C++ and Fortran compiler, it'll build C++ / Fortran support. Yours was not, indicating that: a) you got a binary distribution from someone who didn't include C++ / Fortran support, or b) when you built/installed Open MPI, it couldn't

Re: [OMPI users] mpif90 compiler non-functional

2011-06-22 Thread Dmitry N. Mikushin
Here's mine produced from default compilation: Package: Open MPI marcusmae@T61p Distribution Open MPI: 1.4.4rc2 Open MPI SVN revision: r24683 Open MPI release date: May 05, 2011 Open RTE: 1.4.4rc2 Open RTE SVN revision: r24683 Open RTE r

Re: [OMPI users] mpif90 compiler non-functional

2011-06-22 Thread Alexandre Souza
Hi Dimitri, Thanks for the reply. I have openmpi installed before for another application in : /home/amscosta/OpenFOAM/ThirdParty-1.7.x/platforms/linuxGcc/openmpi-1.4.1 I installed a new version in /opt/openmpi-1.4.3. I reproduce some output from the screen : amscosta@amscosta-desktop:/opt/openmpi-

Re: [OMPI users] mpif90 compiler non-functional

2011-06-22 Thread Dmitry N. Mikushin
Alexandre, Did you have a working Fortran compiler in system in time of OpenMPI compilation? To my experience Fortran bindings are always compiled by default. How did you configured it and have you noticed any messages reg. Fortran support in configure output? - D. 2011/6/22 Alexandre Souza : >