Re: [OMPI users] Missing F90 modules

2008-07-31 Thread Scott Beardsley
Ashley Pittman wrote: Nothing to do with fortran but I think I'm right in saying a lot of these command line options aren't needed, you simply set --prefix and the rest of the options default to be relative to that. Ya, I stole it from the OFED rpmbuild log. I wanted to reproduce exactly what

Re: [OMPI users] Missing F90 modules

2008-07-31 Thread Ashley Pittman
On Wed, 2008-07-30 at 10:45 -0700, Scott Beardsley wrote: > I'm attempting to move to OpenMPI from another MPICH-derived > implementation. I compiled openmpi 1.2.6 using the following configure: > > ./configure --build=x86_64-redhat-linux-gnu > --host=x86_64-redhat-linux-gnu --target=x86_64-redh

Re: [OMPI users] Missing F90 modules

2008-07-30 Thread Scott Beardsley
The real problem is that it looks like we have a bug in our F90 bindings. :-( We have the "periods" argument typed as an integer array, when it really should be a logical array. Doh! Ahhh ha! I checked the manpage vs the user's code but I didn't check the OpenMPI code. I can confirm that

Re: [OMPI users] Missing F90 modules

2008-07-30 Thread Jeff Squyres
"use mpi" basically gives you stronger type checking in Fortran 90 that you don't get with Fortran 77. So the error you're seeing is basically a compiler error telling you that you have the wrong types for MPI_CART_GET and that it doesn't match any of the functions provided by Open MPI.

Re: [OMPI users] Missing F90 modules

2008-07-30 Thread Edmund Sumbar
On Wed, Jul 30, 2008 at 01:15:54PM -0700, Scott Beardsley wrote: > Brock Palen wrote: > > On all MPI's I have always used there was only MPI > > > > use mpi; > > Please excuse my admittedly gross ignorance of all things Fortran but > why does "include 'mpif.h'" work but "use mpi" does not? When

Re: [OMPI users] Missing F90 modules

2008-07-30 Thread Joe Griffin
Users > Subject: Re: [OMPI users] Missing F90 modules > > Brock Palen wrote: > > On all MPI's I have always used there was only MPI > > > > use mpi; > > Please excuse my admittedly gross ignorance of all things Fortran but > why does "include &#x

Re: [OMPI users] Missing F90 modules

2008-07-30 Thread Brock Palen
I have seen strange things about fortran compilers and the suffix of files. use mpi is a fortran 90 thing, not 77, many compilers want fortran 90 codes to end in .f90 or .F90 Try renaming carfoo.f to cartfoo.f90 and try again. I have attached a helloworld.f90 that uses use mpi that wor

Re: [OMPI users] Missing F90 modules

2008-07-30 Thread Jeff Squyres
This is correct; Open MPI only generates MPI.mod so that you can "use mpi" in your Fortran app. I'm not sure that MPI1.mod and MPI2.mod and f90base are -- perhaps those are somehow specific artifacts of the other MPI implementation, and/or artifacts of the Fortran compiler...? On Jul 30,

Re: [OMPI users] Missing F90 modules

2008-07-30 Thread Scott Beardsley
Brock Palen wrote: On all MPI's I have always used there was only MPI use mpi; Please excuse my admittedly gross ignorance of all things Fortran but why does "include 'mpif.h'" work but "use mpi" does not? When I try the "use mpi" method I get errors like: $ mpif90 -c cart.f call mp

Re: [OMPI users] Missing F90 modules

2008-07-30 Thread Brock Palen
On all MPI's I have always used there was only MPI use mpi; Brock Palen www.umich.edu/~brockp Center for Advanced Computing bro...@umich.edu (734)936-1985 On Jul 30, 2008, at 1:45 PM, Scott Beardsley wrote: I'm attempting to move to OpenMPI from another MPICH-derived implementation. I compi

[OMPI users] Missing F90 modules

2008-07-30 Thread Scott Beardsley
I'm attempting to move to OpenMPI from another MPICH-derived implementation. I compiled openmpi 1.2.6 using the following configure: ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --target=x86_64-redhat-linux-gnu --program-prefix= --prefix=/usr/mpi/pathscale/openmpi