[RegCNET] pls help: How to edit or make a new Makefile for Parallel Runing

XUNQIANG BI bixq at ictp.it
Wed Nov 19 11:29:17 CET 2008


Hi, Kritanai:

If you use IFC version 9 and MPICH, I think you can make a copy of
Makefile_CL2 as your Makefile. Before you make change in the Makefile,
you need make sure that:

1. The MPICH library is created by ifort (instead of GNU fortran), you
    know, some LINUX version have already had the MPI installed (by using
    GNU FORTRAN), unfortunately, the present RegCM3 doesn't support GNU
    FORTRAN, so you need install MPICH library in a right way.

    to check which compiler your MPI created, just type
         mpif90 -V

2. It would be safe to check the attached example in MPICH package works
    or not after your installation, like calculate PI, etc.

After you make sure your MPICH is well installed, then you type
         which mpif90
and replace the path you found in the Makefile, and change the path of
MPI_ROOT accordingly.

Hope it helps,
Xunqiang Bi

On Wed, 19 Nov 2008, Kritanai Torsri wrote:

> Dear All,
>
>  I m Krit, Thai master student. Now I 'm trying to run RegCM on parallel mode
>  and make a new Makefile by follow Makefile_CL2, but it is not success so far.
>  I used Intel Fortran v.9 and MPI on Rock Cluster of 4 node
>  Could someone pls. help to suggest me how for editting or making a new Makefile
>  Thank you
>
>  Sincerely Yours,
>
>  Krit
>
>
> **************************************************************
> Mr.Kritanai Torsri
> ______________________________________________________________
> Program of Environmental Technology
>
> --------------------------------------------------------------
> The Joint Graduate School of Energy and Environmental(JGSEE),
> Environment and Materials Building,
> King Mongkut's University of Technology Thonburi,
> 126 Prachauthit Rd, Bangmod, Tungkru, Bangkok, Thailand 10140
> --------------------------------------------------------------
> email:
> kritanai_ts at yahoo.co.th
> kritanai_st at jgsee.kmutt.ac.th
> --------------------------------------------------------------
>
> ---------------------------------
>  àºÍÃìàÁÅâ´¹æ!
> ËÒª×èÍàÁÅÊØ´àÅÔ¿·Õèⴹ㨠·ÕèàÁÅ @ymail áÅÐ @rocketmail.
> ÃÕº¨Í§¡è͹¨Ðâ´¹µÑ´Ë¹éÒ!

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   Dr. Xunqiang Bi         email:bixq at ictp.it
   Earth System Physics Group
   The Abdus Salam ICTP
   Strada Costiera, 11
   P.O. BOX 586, 34100 Trieste, ITALY
   Tel: +39-040-2240302  Fax: +39-040-2240449
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


More information about the RegCNET mailing list