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 白井光雲 Nanoscience and Nanotechnology Center 計算機ナノマテリ アルデザイン分野 ISIR, Osaka University 産業科学 ナノテクノロジーセンター 8-1, Mihogaoka, Ibaraki 大阪大学、産業科学研究所 Osaka 567-0047, JAPAN 茨 木市美穂ケ丘8−1
PH: +81-6-6879-4302
FAX: +81-6-6879-8539


Reply via email to