Intel® MPI Library
Get help with building, analyzing, optimizing, and scaling high-performance computing (HPC) applications.

Compile mpich with ifort

yibingxin
Beginner
558 Views
Hi,
I have a problem whenmaking mpich work with ifort:
$ ../../bin/mpif90 -c pi3f90.f90
../../bin/mpif90: line 332: eval: -c: invalid option
eval: usage: eval [arg ...]

The ifort is working fine withf90 source codes, but mpif90 failed to compile mpi files. The env vars are all set according to the mpich installation guide. Anyone can shed some light? My system is a linux cluster (16 nodes) running redhat 2.6, ifort 8.1 and mpich 1.2.5. Thanks.
Yibing

Message Edited by hagabb on 01-21-2005 09:08 AM

0 Kudos
1 Reply
ClayB
New Contributor I
557 Views
Yibing -
You may need to turn on the F90 support when you configure MPICH. I've been told that setting the F90 environment variable (export F90=ifort) should do this automatically for the configure script.There is also an option on the MPICH configure script that will force this to build F90 support into the MPICH. Using both should guarantee that you get F90 support in your library.
Also, be sure the path to ifort is set when you configure and when you build MPICH.
-- clay
0 Kudos
Reply