[alcf-discuss] Labeling stdout, stderr with rank?
Tim Tautges
tautges at mcs.anl.gov
Tue Apr 13 10:24:46 CDT 2010
See my original message; I've tried using that env variable, set using the --env option to qsub, but it doesn't do anything.
- tim
Todd Inglett wrote:
>
> The Blue Gene mpirun has a -label option that does exactly what you
> want. Setting the env var MPIRUN_LABEL=1 (or to any value probably)
> should also do it. See the App Development redbook. There is a
> chapter on mpirun that lists all the options and env vars. The
> options/vars should also work with mpiexec (which is really the same cmd).
>
> -todd
>
> -----
> Todd Inglett
> Blue Gene Product Software Architecture
> (507) 253-3617 tinglett at us.ibm.com
>
>
> > >>
> > >> On Mon, Apr 12, 2010 at 6:01 PM, Tim Tautges<tautges at mcs.anl.gov>
> > >> wrote:
> > >>> Hi all,
> > >>> Is there any way to label the .output, .error files with the rank
> > >> they came
> > >>> from, producing a separate file for each proc? I've searched around
> > >> in the
> > >>> FAQ and elsewhere, but can't find anything. I recall seeing
> > >> somewhere that
> > >>> you can use the qsub -O option, and some special character like %
> > >> that gets
> > >>> replaced by the rank. I've tried %, but that doesn't work.
> > >>>
> > >>> Also, I'm using --env MPIRUN_LABEL=1 on my qsub command, but it's
> > >> not
> > >>> labeling output by rank like it's supposed to be. Has anyone else
> > >> seen
> > >>> this?
> > >>>
> > >>> Thanks.
> > >>>
> > >>> - tim
> > >>>
> > >>> --
> > >>> ================================================================
> > >>> "You will keep in perfect peace him whose mind is
> > >>> steadfast, because he trusts in you." Isaiah 26:3
> > >>>
> > >>> Tim Tautges Argonne National Laboratory
> > >>> (tautges at mcs.anl.gov) (telecommuting from UW-Madison)
> > >>> phone: (608) 263-8485 1500 Engineering Dr.
> > >>> fax: (608) 263-4499 Madison, WI 53706
> > >>>
> > >>> _______________________________________________
> > >>> discuss mailing list
> > >>> discuss at lists.alcf.anl.gov
> > >>> https://lists.alcf.anl.gov/mailman/listinfo/discuss
> > >>>
> > >>
> > >>
> > >>
> > >> --
> > >> Jeff Hammond
> > >> Argonne Leadership Computing Facility
> > >> jhammond at mcs.anl.gov / (630) 252-5381
> > >> http://www.linkedin.com/in/jeffhammond
> > >> _______________________________________________
> > >> discuss mailing list
> > >> discuss at lists.alcf.anl.gov
> > >> https://lists.alcf.anl.gov/mailman/listinfo/discuss
> > > _______________________________________________
> > > discuss mailing list
> > > discuss at lists.alcf.anl.gov
> > > https://lists.alcf.anl.gov/mailman/listinfo/discuss
> > _______________________________________________
> > discuss mailing list
> > discuss at lists.alcf.anl.gov
> > https://lists.alcf.anl.gov/mailman/listinfo/discuss
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> discuss mailing list
> discuss at lists.alcf.anl.gov
> https://lists.alcf.anl.gov/mailman/listinfo/discuss
--
================================================================
"You will keep in perfect peace him whose mind is
steadfast, because he trusts in you." Isaiah 26:3
Tim Tautges Argonne National Laboratory
(tautges at mcs.anl.gov) (telecommuting from UW-Madison)
phone: (608) 263-8485 1500 Engineering Dr.
fax: (608) 263-4499 Madison, WI 53706
More information about the discuss
mailing list