Dear Huiwei Lu,

Thank you for your suggestion. I tried for ifort with mpich wrappers (But one set of programs is works only on PGI ). It is still not moving parallel. The 'merged' means I have gathered two sets of programs into one executable and try to run in mpi. Both the programs have their own mpi tags declared, and need to be tailored, i.e., Only one MPI_Initialize, MPI_Finalize etc.

Please let me know what to do.

Regards
Ashfaq

On Tue, Feb 3, 2015 at 5:43 PM, Huiwei Lu <huiweilu@mcs.anl.gov> wrote:
Can you change the following to use mpi fortran compiler and try again?

FC = mpifort
CLMF = mpifort

Also, what do you mean by "merge" these two programs? I didn't see any interaction between program_off.F90 and aadmn.F.

--
Huiwei

On Tue, Feb 3, 2015 at 7:42 AM, Muhammad Ashfaqur Rahman <ashfaq226@gmail.com> wrote:
Dear Huiwei Lu,
Many thanks for your email. I have attached here the source code of my programs. These are two models.
The Makefile should be looked at.

Regards
Ashfaq

On Tue, Feb 3, 2015 at 4:32 PM, Muhammad Ashfaqur Rahman <ashfaq226@gmail.com> wrote:
Dear Huiwei Lu,
Many thanks for your email. I have attached here the source code of my programs. The folder contain two models.
The Makefile should be looked at.

Regards
Ashfaq

On Tue, Feb 3, 2015 at 3:20 PM, Huiwei Lu <huiweilu@mcs.anl.gov> wrote:
Hi Ashfaq,

If you program already has started with separate parallel instances, how can they becomes serial again?

Can you give us a sample of minimum code to explain your problem? 

--
Huiwei Lu
Postdoc Appointee
Mathematics and Computer Science Division
Argonne National Laboratory

On Tue, Feb 3, 2015 at 1:22 AM, Muhammad Ashfaqur Rahman <ashfaq226@gmail.com> wrote:
Dear All,
Take my greetings. I am new in mpich usage. I have problems in parallel run, when two fortran mpi programs are merged to one executable. If these two are separate, then they are running parallel.

One program has used spmd and another one  has used mpich header directly. 

Other issue is that while trying to run the above mentioned merged program in mpich, it's first started with separate parallel instances of same step and then after some steps it becomes serial.

Please help me in this regards

Ashfaq
Ph.D Student
Dept. of Meteorology 

_______________________________________________
discuss mailing list     discuss@mpich.org
To manage subscription options or unsubscribe:
https://lists.mpich.org/mailman/listinfo/discuss


_______________________________________________
discuss mailing list     discuss@mpich.org
To manage subscription options or unsubscribe:
https://lists.mpich.org/mailman/listinfo/discuss



_______________________________________________
discuss mailing list     discuss@mpich.org
To manage subscription options or unsubscribe:
https://lists.mpich.org/mailman/listinfo/discuss


_______________________________________________
discuss mailing list     discuss@mpich.org
To manage subscription options or unsubscribe:
https://lists.mpich.org/mailman/listinfo/discuss