Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

MPI, ifc and RH 9.0

anuraag
Beginner
565 Views
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
0 Kudos
0 Replies
Reply