Issue154

Title ${rank} doesn't work in journal config
Priority feature Status chatting
Superseder Nosy List baagaard, knepley, leif, willic3
Assigned To leif Topics Pyre

Created on 2008-06-27.18:45:02 by leif, last changed 2008-08-25.23:54:26 by tan2.

Messages
msg482 (view) Author: leif Date: 2008-06-27.18:45:01
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
>>
>
History
Date User Action Args
2008-08-25 23:54:26tan2setpriority: feature
status: unread -> chatting
topic: + Pyre
nosy: leif, baagaard, willic3, knepley
assignedto: leif
2008-06-27 18:45:02leifcreate