MPI, ifc and RH 9.0

MPI, ifc and RH 9.0

Hi,
I am a newbie trying to run MPICH-1.2.5 with ifc on a rh 9.0 machine. I am aware from posts on this forum that ifc has compatibility issues with RH 9.0. However I got it to compile a simple fortran hello world program by setting the alias ifc = "ifc -i_dynamic".

Subsequently I configured mpich using "./configure --prefix=/opt/mpich-1.2.5.10-with-ifc --with-device=ch_p4
--with-comm=shared --with-fc=ifc --with-f90=ifc" and then ran the make script.

When I try to compile the example MPI program, I get the following error

~path.../bin/mpif90: line 332: eval: -c: invalid option
eval: usage: eval [arg ...]

The last few lines that I get upon running the command

mpif90 -c -echo pi3f90.f90

are

+ eval -c pi3f90.f90
~path ..../bin/mpif90: line 332: eval: -c: invalid option
eval: usage: eval [arg ...]
+ eval /bin/rm mpif.h
++ /bin/rm mpif.h

A f77 MPI program runs well with mpif77 but gives the same error when I try to compile it with mpif90.

ANybody have any clues

Thanks

1 post / 0 new
For more complete information about compiler optimizations, see our Optimization Notice.