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: John Boccio (boccio_at_[hidden])
Date: 2009-05-19 14:07:57


I tired the whole thing again from scratch.

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.
--------------------------------------------------------------------------
                                                                                                                                                        ****** NEW *******
/usr/local/openmpi-1.3/bin/ompi_info
dyld: Symbol not found: _opal_memchecker_base_components_opened
   Referenced from: /usr/local/openmpi-1.3/bin/./ompi_info
   Expected in: /usr/lib/libopen-pal.0.dylib

Trace/BPT trap

If, however, I run the ompi_info created in the local directory from
the make command
(without the install option) above I get this instead....

/Users/Research/g95/may19/openmpi-1.3/ompi/tools/ompi_info/ompi_info

                  Package: Open MPI root_at_[hidden]
                           Distribution
                 Open MPI: 1.3
    Open MPI SVN revision: r20295
    Open MPI release date: Jan 19, 2009
                 Open RTE: 1.3
    Open RTE SVN revision: r20295
    Open RTE release date: Jan 19, 2009
                     OPAL: 1.3
        OPAL SVN revision: r20295
        OPAL release date: Jan 19, 2009
             Ident string: 1.3
                   Prefix: /usr/local
  Configured architecture: i386-apple-darwin9.7.0
           Configure host: reality.physics.swarthmore.edu
            Configured by: root
            Configured on: Tue May 19 13:10:26 EDT 2009
           Configure host: reality.physics.swarthmore.edu
                 Built by: root
                 Built on: Tue May 19 13:26:16 EDT 2009
               Built host: reality.physics.swarthmore.edu
               C bindings: yes
             C++ bindings: yes
       Fortran77 bindings: yes (double underscore)
       Fortran90 bindings: yes
  Fortran90 bindings size: small
               C compiler: gcc
      C compiler absolute: /usr/bin/gcc
             C++ compiler: g++
    C++ compiler absolute: /usr/bin/g++
       Fortran77 compiler: /usr/bin/g95
   Fortran77 compiler abs:
       Fortran90 compiler: /usr/bin/g95
   Fortran90 compiler abs:
              C profiling: yes
            C++ profiling: yes
      Fortran77 profiling: yes
      Fortran90 profiling: yes
           C++ exceptions: no
           Thread support: posix (mpi: no, progress: no)
            Sparse Groups: no
   Internal debug support: no
      MPI parameter check: runtime
Memory profiling support: no
Memory debugging support: no
          libltdl support: yes
    Heterogeneous support: no
  mpirun default --prefix: no
          MPI I/O support: yes
        MPI_WTIME support: gettimeofday
Symbol visibility support: yes
    FT Checkpoint support: no (checkpoint thread: no)
            MCA backtrace: execinfo (MCA v2.0, API v2.0, Component v1.3)
                MCA timer: darwin (MCA v2.0, API v2.0, Component v1.3)
          MCA installdirs: env (MCA v2.0, API v2.0, Component v1.3)
          MCA installdirs: config (MCA v2.0, API v2.0, Component v1.3)

So something is happening during the make install into /usr/local/
openmpi-1.3.
Instead of looking for libraries in /usr/local/openmpi-1.3/lib it
is looking in /usr/lib.
                                                                                                                                        ******* NEW *********
files inlcuded:

config.out
config.status
config.log
Makefile
make.out
make-install.out


On May 19, 2009, at 7:58 AM, Jeff Squyres wrote:

> 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
>
> _______________________________________________
> users mailing list
> users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/users