[mpich-discuss] Problem in running parallel if two programs merged

Muhammad Ashfaqur Rahman ashfaq226 at gmail.com
Thu Feb 5 01:51:07 CST 2015


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 at 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 at 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 at 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 at 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
>>>> http://www.mcs.anl.gov/~huiweilu/
>>>>
>>>> On Tue, Feb 3, 2015 at 1:22 AM, Muhammad Ashfaqur Rahman <
>>>> ashfaq226 at 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 at mpich.org
>>>>> To manage subscription options or unsubscribe:
>>>>> https://lists.mpich.org/mailman/listinfo/discuss
>>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> discuss mailing list     discuss at mpich.org
>>>> To manage subscription options or unsubscribe:
>>>> https://lists.mpich.org/mailman/listinfo/discuss
>>>>
>>>
>>>
>>
>> _______________________________________________
>> discuss mailing list     discuss at mpich.org
>> To manage subscription options or unsubscribe:
>> https://lists.mpich.org/mailman/listinfo/discuss
>>
>
>
> _______________________________________________
> discuss mailing list     discuss at mpich.org
> To manage subscription options or unsubscribe:
> https://lists.mpich.org/mailman/listinfo/discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mpich.org/pipermail/discuss/attachments/20150205/b3d0a652/attachment.html>
-------------- next part --------------
_______________________________________________
discuss mailing list     discuss at mpich.org
To manage subscription options or unsubscribe:
https://lists.mpich.org/mailman/listinfo/discuss


More information about the discuss mailing list