Re: [OMPI users] openmpi - gfortran and ifort conflict

2011-12-14 Thread Jeff Squyres
On Dec 14, 2011, at 3:48 PM, Prentice Bisbal wrote: > I realized this after I wrote that and clarified it in a subsequent e-mail. > Which you probably just read. ;-) After I sent the mail, I saw it. Oops. :-) -- Jeff Squyres jsquy...@cisco.com For corporate legal information go to: http://ww

Re: [OMPI users] openmpi - gfortran and ifort conflict

2011-12-14 Thread Prentice Bisbal
On 12/14/2011 03:39 PM, Jeff Squyres wrote: > On Dec 14, 2011, at 3:21 PM, Prentice Bisbal wrote: > >> For example, your configure command, >> >> ./configure --prefix=/opt/openmpi/intel CC=gcc CXX=g++ F77=ifort FC=ifort >> >> Doesn't tell Open MPI to use ifcort for mpif90 and mpif77. > Actually, t

Re: [OMPI users] openmpi - gfortran and ifort conflict

2011-12-14 Thread Jeff Squyres
On Dec 14, 2011, at 3:21 PM, Prentice Bisbal wrote: > For example, your configure command, > > ./configure --prefix=/opt/openmpi/intel CC=gcc CXX=g++ F77=ifort FC=ifort > > Doesn't tell Open MPI to use ifcort for mpif90 and mpif77. Actually, that's not correct. For Open MPI, our wrapper compil

Re: [OMPI users] openmpi - gfortran and ifort conflict

2011-12-14 Thread Prentice Bisbal
On 12/14/2011 03:29 PM, Micah Sklut wrote: > Okay thanks Prentice. > > I understand what you are saying about specifying the compilers during > configure. > Perhaps, that alone would have solved the problem, but removing the > 1.4.2 ompi installation worked as well. > > Micah > Well, to clarify my

Re: [OMPI users] openmpi - gfortran and ifort conflict

2011-12-14 Thread Micah Sklut
Okay thanks Prentice. I understand what you are saying about specifying the compilers during configure. Perhaps, that alone would have solved the problem, but removing the 1.4.2 ompi installation worked as well. Micah On Wed, Dec 14, 2011 at 3:24 PM, Prentice Bisbal wrote: > > On 12/14/2011 01

Re: [OMPI users] openmpi - gfortran and ifort conflict

2011-12-14 Thread Prentice Bisbal
On 12/14/2011 01:20 PM, Fernanda Oliveira wrote: > Hi Micah, > > I do not know if it is exactly what you need but I know that there are > environment variables to use with intel mpi. They are: I_MPI_CC, > I_MPI_CXX, I_MPI_F77, I_MPI_F90. So, you can set this using 'export' > for bash, for instance

Re: [OMPI users] openmpi - gfortran and ifort conflict

2011-12-14 Thread Prentice Bisbal
On 12/14/2011 12:21 PM, Micah Sklut wrote: > Hi Gustav, > > I did read Price's email: > > When I do "which mpif90", i get: > /opt/openmpi/intel/bin/mpif90 > which is the desired directory/binary > > As I mentioned, the config log file indicated it was using ifort, and > had no mention of gfortran.

Re: [OMPI users] openmpi - gfortran and ifort conflict

2011-12-14 Thread Micah Sklut
I uninstalled 1.4.2 with rpm -e ompi, and now my existing mpi binaries are working. Thanks so much for everyone's help. On Wed, Dec 14, 2011 at 3:12 PM, Tim Prince wrote: > On 12/14/2011 12:52 PM, Micah Sklut wrote: > >> Hi Gustavo, >> >> Here is the output of : >> barells@ip-10-17-153-123:~> /

Re: [OMPI users] openmpi - gfortran and ifort conflict

2011-12-14 Thread Tim Prince
On 12/14/2011 12:52 PM, Micah Sklut wrote: Hi Gustavo, Here is the output of : barells@ip-10-17-153-123:~> /opt/openmpi/intel/bin/mpif90 -showme gfortran -I/usr/lib64/mpi/gcc/openmpi/include -pthread -I/usr/lib64/mpi/gcc/openmpi/lib64 -L/usr/lib64/mpi/gcc/openmpi/lib64 -lmpi_f90 -lmpi_f77 -lmpi

Re: [OMPI users] openmpi - gfortran and ifort conflict

2011-12-14 Thread Tim Prince
On 12/14/2011 1:20 PM, Fernanda Oliveira wrote: Hi Micah, I do not know if it is exactly what you need but I know that there are environment variables to use with intel mpi. They are: I_MPI_CC, I_MPI_CXX, I_MPI_F77, I_MPI_F90. So, you can set this using 'export' for bash, for instance or directl

Re: [OMPI users] openmpi - gfortran and ifort conflict

2011-12-14 Thread Jeff Squyres
On Dec 14, 2011, at 12:52 PM, Micah Sklut wrote: > I do see what you are saying about the 1.4.2 and 1.4.4 components. > I'm not sure why that is, but there seems to be some conflict with the > existing openmpi, before recently installed 1.4.4 and trying to install with > ifort. Did you instal

Re: [OMPI users] openmpi - gfortran and ifort conflict

2011-12-14 Thread Fernanda Oliveira
Hi Micah, I do not know if it is exactly what you need but I know that there are environment variables to use with intel mpi. They are: I_MPI_CC, I_MPI_CXX, I_MPI_F77, I_MPI_F90. So, you can set this using 'export' for bash, for instance or directly when you run. I use in my bashrc: export I_MPI

Re: [OMPI users] openmpi - gfortran and ifort conflict

2011-12-14 Thread Micah Sklut
Hi Gustavo, Here is the output of : barells@ip-10-17-153-123:~> /opt/openmpi/intel/bin/mpif90 -showme gfortran -I/usr/lib64/mpi/gcc/openmpi/include -pthread -I/usr/lib64/mpi/gcc/openmpi/lib64 -L/usr/lib64/mpi/gcc/openmpi/lib64 -lmpi_f90 -lmpi_f77 -lmpi -lopen-rte -lopen-pal -ldl -Wl,--export-dynam

Re: [OMPI users] openmpi - gfortran and ifort conflict

2011-12-14 Thread Gustavo Correa
How about the output of this? /opt/openmpi/intel/bin/mpif90 -showme Anyway, something seems to be wrong with your OpenMPI installation. Just read the output of your ompi_info in your email below. You will see that the OpenMPI version is 1.4.4. However, most components are version 1.4.2. Do you ag

Re: [OMPI users] openmpi - gfortran and ifort conflict

2011-12-14 Thread Micah Sklut
Hi Gustav, I did read Price's email: When I do "which mpif90", i get: /opt/openmpi/intel/bin/mpif90 which is the desired directory/binary As I mentioned, the config log file indicated it was using ifort, and had no mention of gfortran. Below is the output from ompi_info. It shows reference to th

Re: [OMPI users] openmpi - gfortran and ifort conflict

2011-12-14 Thread Gustavo Correa
Hi Micah Did you read Tim Prince's email to you? Check it out. Best thing is to set your environment variables [PATH, LD_LIBRARY_PATH, intel setup] in your initialization file, .profile/.bashrc or .[t]cshrc. What is the output of 'ompi_info'? [From your ifort-built OpenMPI.] Does it show ifor

Re: [OMPI users] openmpi - gfortran and ifort conflict

2011-12-14 Thread Micah Sklut
Thanks for your thoughts, It would certainly appear that it is a PATH issue, but I still haven't figured it out. When I type the ifort command, ifort does run. The intel path is in my PATH and is the first directory listed. Looking at the configure.log, there is nothing indicating use or mention

Re: [OMPI users] openmpi - gfortran and ifort conflict

2011-12-14 Thread Gustavo Correa
Hi Micah Is ifort in your PATH? If not, the OpenMPI configure script will use any fortran compiler it finds first, which may be gfortran. You need to run the Intel compiler startup script before you run the OpenMPI configure. The easy thing to do is to source the Intel script inside your .profi

Re: [OMPI users] openmpi - gfortran and ifort conflict

2011-12-14 Thread Tim Prince
On 12/14/2011 9:49 AM, Micah Sklut wrote: I have installed openmpi for gfortran, but am now attempting to install openmpi as ifort. I have run the following configuration: ./configure --prefix=/opt/openmpi/intel CC=gcc CXX=g++ F77=ifort FC=ifort The install works successfully, but when I run /

[OMPI users] openmpi - gfortran and ifort conflict

2011-12-14 Thread Micah Sklut
Hi All, I have installed openmpi for gfortran, but am now attempting to install openmpi as ifort. I have run the following configuration: ./configure --prefix=/opt/openmpi/intel CC=gcc CXX=g++ F77=ifort FC=ifort The install works successfully, but when I run /opt/openmpi/intel/bin/mpif90, it run