Hi
When I run mpiicc -compile_info I get:
icc -I/softs/intel//impi/5.0.1.035/intel64/include -L/softs/intel//impi/5.0.1.035/intel64/lib/release -L/softs/intel//impi/5.0.1.035/intel64/lib -Xlinker --enable-new-dtags -Xlinker -rpath -Xlinker /softs/intel//impi/5.0.1.035/intel64/lib/release -Xlinker -rpath -Xlinker /softs/intel//impi/5.0.1.035/intel64/lib -Xlinker -rpath -Xlinker /opt/intel/mpi-rt/5.0/intel64/lib/release -Xlinker -rpath -Xlinker /opt/intel/mpi-rt/5.0/intel64/lib -lmpifort -lmpi -lmpigi -ldl -lrt -lpthread
which is wrong (only the -I... is a compilation option, the others are link options, and the icc should not appear).
And there is a similar issue with -link_flag
As a result, most configuration tools (all, actually) fails to detect the options to use to compilewith Intel'MPI.
Is there an option such that icc $(mpiicc -<option>) mpi_prog.c produces a .o ?
Regard