Dear OMPI users and builders:
I recently installed the latest version of Open MPI (1.2.6) on my Mac Pro, which has 2 dual-core Intel cpu's. On the plus side, I can successfully compile and run MPI codes written both in fortran77 and in c on all 4 cores with the corresponding wrappers that the build created. On the down side, I can't compile the fortran90 and the c++ versions of the sample `hello world' MPI programs. Instead I get ".../mpi_examples jpr$ mpif90 hello_f90.f90 fortcom: Error: hello_f90.f90, line 12: This module file was not generated by any release of this compiler. [MPI] use mpi --------^ fortcom: Error: hello_f90.f90, line 17: This name does not have a type, and must have an explicit type. [MPI_COMM_WORLD] call MPI_COMM_RANK(MPI_COMM_WORLD, rank, ierr) -----------------------^ compilation aborted for hello_f90.f90 (code 1)" and ".../mpi_examples jpr$ mpicxx hello_cxx.cc ld64 warning: in /usr/local/lib/libstdc++.dylib, file is not of required architecture ld64-62.1 failed: can't open file for writing". Does anyone know what's wrong here? I configured the build using all of the latest Intel compilers: "$ ./configure CC=icc CXX=icpc F77=ifort FC=ifort CFLAGS=-m64 CXXFLAGS=-m64 FFLAGS=-m64 FCFLAGS=-m64 --with-mpi-f90-size=medium". Last, I'm running Mac OS Tiger (10.4.11) and Xcode 2.4.1. And apropos my version of GCC, I have "diana:~ jpr$ GCC i686-apple-darwin8-gcc-4.0.1: no input files". Any guidance would be greatly appreciated. Jose Rodriguez, Physics and Astronomy, California State University at Los Angeles, April 16, 2008.