Open MPI logo

Open MPI User's Mailing List Archives

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

From: Yuan Wan (ywan_at_[hidden])
Date: 2007-10-17 11:53:30


Hi all,

I'm using OpenMPI 1.2.2 with Intel compilers (icc, ifort)
But I found mpicc and mpif90 cannot work with Intel -fast optimisation.

------------------------------------------------------------------------
[ywan_at_frontend01 hello]$ mpif90 -fast -o hello -i-dynamic hello.f90

IPO: performing single-file optimizations
IPO: generating object file
/tmp/ipo_ifortTdJGQr.o
ld: cannot find -lmpi_f90
------------------------------------------------------------------------

The above command can be expanded as:
------------------------------------------------------------------------
[ywan_at_frontend01 hello]$ mpif90 -fast -o hello -i-dynamic hello.f90 -show

ifort -I/usr/local/Cluster-Apps/openmpi/intel/64/1.2.2//include -pthread
-I/usr/local/Cluster-Apps/openmpi/intel/64/1.2.2//lib -fast -o hello
-i-dynamic hello.f90 -L/usr/local/Cluster-Apps/openmpi/intel/64/1.2.2//lib
-lmpi_f90 -lmpi_f77 -lmpi -lopen-rte -lopen-pal -ldl -Wl,--export-dynamic
-lirc -lstdc++ -lnsl -lutil
-------------------------------------------------------------------------

mpif90 can find -lmpi_f90 if I remove -fast from above command.

Anyone knows the reseaon why OpenMPI not works with Intel -fast?

--Yuan

Yuan Wan

-- 
Unix Section
Information Services Infrastructure Division
University of Edinburgh
tel: 0131 650 4985
email: ywan_at_[hidden]
2032 Computing Services, JCMB
The King's Buildings,
Edinburgh, EH9 3JZ