[ET Trac] [Einstein Toolkit] #29: 'sim cd_output' command
Einstein Toolkit
trac-noreply at einsteintoolkit.org
Wed Jan 12 14:52:03 CST 2011
#29: 'sim cd_output' command
--------------------------+-------------------------------------------------
Reporter: knarf | Owner: mthomas
Type: enhancement | Status: closed
Priority: minor | Milestone:
Component: SimFactory | Version:
Resolution: fixed | Keywords:
--------------------------+-------------------------------------------------
Changes (by mthomas):
* status: new => closed
* resolution: => fixed
Comment:
I could not figure out a way to make simfactory automatically cd to a
directory and have that change of a directory stick when simfactory
exited. So I did what I could:
There's a new command,
{{{
sim get-output-dir <simulationname> [--restart-id=<id>]
}}}
It outputs something like the following:
{{{
[mwt at eric2 simfactory]$ bin/sim get-output-dir refact_test
DEBUG: Simfactory command: bin/../lib/sim.py "get-output-dir"
"refact_test"
DEBUG: Version exported
The Simulation Factory: Manage Cactus simulations
Info: defs: /work/mwt/cactus/Cactus/simfactory/etc/defs.ini
Info: defs.local: /work/mwt/cactus/Cactus/simfactory/etc/defs.local.ini
Executing command: get_output_dir
Simulation name: refact_test
Output directory:
/work/mwt/simulations/refact_test/output-0003/qc0-mclachlan
}}}
From there, you can just copy and paste the output dir and go to it.
--
Ticket URL: <https://trac.einsteintoolkit.org/ticket/29#comment:1>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit
More information about the Trac
mailing list