Matt,
I hoped that ${rank} would work in the following:
[pylithapp.journal]
device = file
device.name = foo${rank}.log
device.renderer.header = ${rank} >> %(filename)s:%(line)s:%(function)s
xx %(facility)s(%(severity)s)
But it appears that macro expansion happens after journal configuration.
CC'ing Roundup.
--Leif
Brad Aagaard wrote:
> Matt-
>
> Use the -l argument to mpiexec. Add this to your launcher info in your
> .pyre directory.
>
> Brad
>
>
>
> Matthew Knepley wrote:
>> Would it be possible to get the rank for each journal entry of
>> a parallel run. Something like
>>
>> [0] >>
>> /PETSc3/cig/lib/python2.5/site-packages/pylith/topology/MeshImporter.py:80:create
>>
>> -- meshimporter(info)
>> -- Adjusting topology.
>> [1] >>
>> /PETSc3/cig/lib/python2.5/site-packages/pylith/topology/MeshImporter.py:80:create
>>
>> -- meshimporter(info)
>> -- Adjusting topology.
>> [0] >>
>> /PETSc3/cig/lib/python2.5/site-packages/pylith/topology/MeshImporter.py:85:create
>>
>> -- meshimporter(info)
>> -- Distributing mesh.
>> [1] >>
>> /PETSc3/cig/lib/python2.5/site-packages/pylith/topology/MeshImporter.py:85:create
>>
>> -- meshimporter(info)
>> -- Distributing mesh.
>>
>> Thanks,
>>
>> Matt
>>
>
|