[mpich-discuss] .pg files in mpich2
Darius Buntinas
buntinas at mcs.anl.gov
Fri Jul 11 11:06:45 CDT 2008
Try:
mpiexec -n 1 valgrind options ./myjob : -n 3 ./myjob
-d
On 07/10/2008 06:49 PM, Matthew Bettencourt wrote:
> That doesnt work, i want to run valgrind on Rank=0, what i used to do is
> create a .pg file and then run
>
> valgrind options ./myjob
>
> and rank0 would run through valgrind.
>
> The same sort of thing, i could edit the myjob.pg file to run a script
> for one rank in particular
>
> Thanks
> M
>
> Rusty Lusk wrote:
>> In MPICH2 you would say
>>
>> mpiexec -n 4 myjob
>>
>> On Thursday,Jul 10, 2008, at 2:30 PM, matt at mail.bettencourt.info wrote:
>>
>>> what has happened to the ability to have a procgroup file automatically
>>> spawn an MPI job. example
>>>
>>> ls
>>>
>>> myjob myjob.pg
>>>
>>> mordred:french% cat myjob.pg
>>> local 0
>>> localhost 1 myjob
>>> localhost 1 myjob
>>> localhost 1 myjob
>>>
>>>
>>> ./myjob
>>>
>>>
>>> then just runs on four CPUS
>>>
>>> Is this capability available?
>>>
>>> When i do this under 1.27 it works, however, in mpich2 107, it no longer
>>> seems available. Is there something like this that works. It is very
>>> useful for working with valgrind and gdb and the like
>>>
>>>
>>> M
>>>
>>
>>
>
More information about the mpich-discuss
mailing list