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

Huiwei Lu huiweilu at mcs.anl.gov
Tue Feb 3 08:43:18 CST 2015


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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mpich.org/pipermail/discuss/attachments/20150203/3bdb7fc6/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