Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: Re: [OMPI users] Openmpi -MacOSX-mpif90 won't compile
From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2009-05-19 07:58:17


On May 18, 2009, at 11:50 AM, John Boccio wrote:

> Thanks for that comment.
>
> I thought that is what I was doing when I used the full path name
>
> /usr/local/openmpi-1.3/bin/mpif90
>
> Is that not true?
>

Ah, yes it is -- sorry, I missed that at the end of your output.

The tarball you sent doesn't seem to match what you typed in the mail,
however -- there was no --prefix specified when you ran configure,
there was no config.out, etc. I suspect that you're somehow using an
Open MPI that didn't have F90 support compiled in somehow -- did you
install more than once, perchance?

What does ompi_info say? There should be some lines in there about
F90 support. Here's mine from an OMPI installed without F90 support:

[4:57] svbu-mpi:~/svn/ompi2 % ompi_info | grep 90
       Fortran90 bindings: no
  Fortran90 bindings size: na
       Fortran90 compiler: none
   Fortran90 compiler abs: none
      Fortran90 profiling: no
[4:57] svbu-mpi:~/svn/ompi2 %

>
> John Boccio
> On May 18, 2009, at 11:31 AM, Jeff Squyres wrote:
>
> > Check first to make sure you're using the mpif90 in /usr/local/
> > openmpi-1.3/bin -- OS X ships with an Open MPI installation that
> > does not include F90 support. The default OS X Open MPI install may
> > be in your PATH before the Open MPI you just installed in /usr/
> local.
> >
> >
> > On May 18, 2009, at 10:13 AM, John Boccio wrote:
> >
> >> Hi,
> >>
> >> I need to use mpif90 for some work on a parallel cluster for
> galaxy-
> >> galaxy collision research.
> >> I am certainly not an expert in using UNIX to compile big packages
> >> like openmpi.
> >>
> >> I have list below all (I hope) relevant information and included
> >> output files(compressed) as an attachment.
> >>
> >> Thanks for any help,
> >>
> >> John Boccio
> >> boccio_at_[hidden]
> >> Department of Physics
> >> Swarthmore College
> >>
> >>
> >> Here is g95 and xcode info.
> >> Using openmpi-1.3
> >>
> >> Mac OSX Leopard 10.5.7
> >>
> >> g95 from www.g95.com
> >>
> >> g95 -v
> >> Using built-in specs.
> >> Target:
> >> Configured with: ../configure --enable-languages=c
> >> Thread model: posix
> >> gcc version 4.0.3 (g95 0.92!) Oct 18 2008
> >>
> >> xcode311_2517_developerdvd.dmg
> >>
> >> openmpi-1.3
> >>
> >> sudo ./configure --enable-mpi-f77 --enable-mpi-f90 F77="/usr/bin/
> >> g95" FC="/usr/bin/g95" > config.out
> >>
> >> sudo make clean
> >>
> >> sudo make clean prefix=/usr/local/openmpi-1.3
> >>
> >> sudo make > make.out
> >>
> >> sudo make install prefix=/usr/local/openmpi-1.3 > make-install.out
> >>
> >> /usr/local/openmpi-1.3/bin/mpif90
> >>
> >>
> --------------------------------------------------------------------------
> >> Unfortunately, this installation of Open MPI was not compiled with
> >> Fortran 90 support. As such, the mpif90 compiler is non-
> functional.
> >>
> --------------------------------------------------------------------------
> >>
> >> files included in attachment ompi-output.tar.gz :
> >>
> >> config.out
> >> config.status
> >> config.log
> >> Makefile
> >> make.out
> >> make-install.out
> >>
> >> <ompi-output.tar.gz><ATT11623955.htm>
> >> _______________________________________________
> >> users mailing list
> >> users_at_[hidden]
> >> http://www.open-mpi.org/mailman/listinfo.cgi/users
> >
> >
> > --
> > Jeff Squyres
> > Cisco Systems
> >
> > _______________________________________________
> > users mailing list
> > users_at_[hidden]
> > http://www.open-mpi.org/mailman/listinfo.cgi/users
>
> _______________________________________________
> users mailing list
> users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/users
>

-- 
Jeff Squyres
Cisco Systems