Re: [OMPI users] ifort and gfortran module

2009-07-23 Thread Jeff Squyres
FWIW, for the Fortran MPI programmers out there, the MPI Forum is hard at work on a new Fortran 03 set of bindings for MPI-3. We have a prototype in a side branch of Open MPI that is "mostly" working. We (the MPI Forum) expect to release a short document describing the new features and th

Re: [OMPI users] ifort and gfortran module

2009-07-23 Thread Dave Love
Jeff Squyres writes: > I *think* that there are compiler flags that you can use with ifort to > make it behave similarly to gfortran in terms of sizes and constant > values, etc. At a slight tangent, if there are flags that might be helpful to add to gfortran for compatibility (e.g. logical cons

Re: [OMPI users] ifort and gfortran module

2009-07-23 Thread Dave Love
Jeff Squyres writes: > See https://svn.open-mpi.org/source/xref/ompi_1.3/README#257. Ah, neat. I'd never thought of that, possibly due to ELF not being relevant when I first started worrying about that sort of thing. > Indeed. In OMPI, we tried to make this as simple as possible. But > unles

Re: [OMPI users] ifort and gfortran module

2009-07-23 Thread rahmani
; Sent: Monday, July 20, 2009 1:47:35 PM (GMT-0500) America/New_York Subject: Re: [OMPI users] ifort and gfortran module Hi, I want to avoid separate MPI distributions since we compile many MPI software packages. Having more than one MPI distribution (at least) doubles the amount of work. F

Re: [OMPI users] ifort and gfortran module

2009-07-22 Thread Jeff Squyres
On Jul 22, 2009, at 1:37 PM, Jeff Squyres (jsquyres) wrote: Yep, that works. I should clarify -- that *probably* works. The .mod file are essentially precompiled headers. Assuming that all the data types and sizes are the same between gfortran and ifort, you should be ok. Many of OMPI'

Re: [OMPI users] ifort and gfortran module

2009-07-22 Thread Jeff Squyres
add the corresponding library to your LD_LIBRARY_PATH > Mahdi Rahmani > > - Original Message - > From: "Jim Kress" > To: "Open MPI Users" > Sent: Saturday, July 18, 2009 5:43:20 AM (GMT+0330) Asia/Tehran > Subject: Re: [OMPI users] ifort and gfortran mo

Re: [OMPI users] ifort and gfortran module

2009-07-22 Thread Jeff Squyres
On Jul 20, 2009, at 9:09 AM, Dave Love wrote: > you should compile openmpi with each pf intel and gfortran seperatly > and install each of them in a separate location, and use mpi- selector > to select one. What, precisely, requires that, at least if you can recompile the MPI program with app

Re: [OMPI users] ifort and gfortran module

2009-07-20 Thread Martin Siegert
er (for example > /usr/local/openmpi/intel/bin/mpif90) and add the corresponding library to > your LD_LIBRARY_PATH > Mahdi Rahmani > > - Original Message - > From: "Jim Kress" > To: "Open MPI Users" > Sent: Saturday, July 18, 2009 5:43:20 AM

Re: [OMPI users] ifort and gfortran module

2009-07-20 Thread Dave Love
rahmani writes: > Hi, > you should compile openmpi with each pf intel and gfortran seperatly > and install each of them in a separate location, and use mpi-selector > to select one. What, precisely, requires that, at least if you can recompile the MPI program with appropriate options? (Presumab

Re: [OMPI users] ifort and gfortran module

2009-07-18 Thread rahmani
nding library to your LD_LIBRARY_PATH Mahdi Rahmani - Original Message - From: "Jim Kress" To: "Open MPI Users" Sent: Saturday, July 18, 2009 5:43:20 AM (GMT+0330) Asia/Tehran Subject: Re: [OMPI users] ifort and gfortran module Why not generate an ifort version with a

Re: [OMPI users] ifort and gfortran module

2009-07-17 Thread Jim Kress
Why not generate an ifort version with a prefix of _intel And the gfortran version with a prefix of _gcc ? That's what I do and then use mpi-selector to switch between versions as required. Jim -Original Message- From: users-boun...@open-mpi.org [mailto:users-boun...@open-mpi.org] On Be