[MPICH] Compiling MPI Fortran program

Hom Nath Gharti hng.email at gmail.com
Wed Jul 4 03:20:48 CDT 2007


Thanks for the information. I thought the mpif90, mpf77, mpicc etc. are just
the script file to invoke the appropriate compilers. Unfortunately, I don't
have any mpif90, mpif77 etc. as I am using Windows. Where/how can we get
those scripts/wrappers for the Windows?

My main.f95 is just the hello world program:

--------------------------------------------
PROGRAM hello
INCLUDE 'C:\Program Files\MPICH2\include\mpif.h'
INTEGER err
CALL MPI_INIT(err)
PRINT *, "Hello world!"
CALL MPI_FINALIZE(err)
END hello
--------------------------------------------

Sincerely,
Hom
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20070704/3c1b9212/attachment.htm>


More information about the mpich-discuss mailing list