Open MPI logo

Open MPI User's Mailing List Archives

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

Subject: Re: [OMPI users] install intel mac with Laopard
From: Koun SHIRAI (koun_at_[hidden])
Date: 2008-04-25 01:24:27


Many thanks for all the people giving me advices.

I have solved the problem. As most of them suggested, the problem was
incompatibility in the created objects between gcc and ifort.
I do not have icc, and hence use gcc right now. In this case, by
simply including options
CFLAGS=-m64 CXXFLAGS=-m64
in ./configure command, I have succeeded installation.

casey:mpi koun$ ompi_info
                 Open MPI: 1.2.5
    Open MPI SVN revision: r16989
                 Open RTE: 1.2.5
   ...
  Configured architecture: i386-apple-darwin9.2.0
   ...
               C bindings: yes
             C++ bindings: yes
       Fortran77 bindings: yes (single underscore)
       Fortran90 bindings: yes
  Fortran90 bindings size: small
               C compiler: /usr/bin/gcc-4.0
      C compiler absolute: /usr/bin/gcc-4.0
             C++ compiler: /usr/bin/g++-4.0
    C++ compiler absolute: /usr/bin/g++-4.0
       Fortran77 compiler: ifort
   Fortran77 compiler abs: /usr/bin/ifort
       Fortran90 compiler: ifort
   Fortran90 compiler abs: /usr/bin/ifort
              C profiling: yes
            C++ profiling: yes
      Fortran77 profiling: yes
   ...

Then, compilation and execution of a program was succeeded

casey:mpi koun$ mpif90 hello.f90 -o hello

casey:mpi koun$ mpirun -np 4 hello
  Hello, world! I am 0 of 4
  Hello, world! I am 2 of 4
  Hello, world! I am 1 of 4
  Hello, world! I am 3 of 4

I understand that it is difficult to fully describe practical
notifications for each implementation, because of a lots of OS's and
its frequent revisions. In spite of this difficulty, I am wondering
why typical examples for configure are not given in, for example,
README or homepage. In README, concrete names of systems, such as
Linux 32bit with gcc or OSX (10.4), are listed for those systems which
have been tested. Hence, at least, for these systems, it is possible
to provide concrete form for configure command. Even these minimum
information is very useful for beginners who do not have any idea
which options must be used. This would significantly reduce questions
like me.

Best wishes,

-----------------------
Koun SHIRAI
$BGr0f8w1@(B
Nanoscience and Nanotechnology Center $B7W;;5!%J%N%^%F%j(B
$B%"%k%G%6%$%sJ,Ln(B
ISIR, Osaka
University $B;:6H2J3X(B
$B%J%N%F%/%N%m%8!<%;%s%?!<(B
8-1, Mihogaoka, Ibaraki
$BBg:eBg3X!";:6H2J3X8&5f=j(B
Osaka 567-0047, JAPAN $B0q(B
$BLZ;TH~Jf%15V#8!]#1(B
PH: +81-6-6879-4302
FAX: +81-6-6879-8539