#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@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
#119: Have multiple dprints
-------------------------+--------------------------------------------------
Reporter: eschnett | Owner: mthomas
Type: enhancement | Status: new
Priority: minor | Milestone:
Component: SimFactory | Version:
Keywords: |
-------------------------+--------------------------------------------------
If there are multiple versions of dprint specifying the intent ("I am
going to abort with an error", "this is a severe problem", "warning", "log
message"), then one could probably omit the second argument that specifies
whether to print the error always. This would be a higher level interface
and could make it easier to use.
dabort
derror
dwarn
dlog
Internally, these would just call dprint, depending on the verbosity level
and environment settings. For example, dabort would always print, and
dwarn would not print if it happens during a non-essential operation. dlog
would only print if the verbosity is high.
--
Ticket URL: <https://trac.einsteintoolkit.org/ticket/119>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit
#197: Options for overriding mdb entries
-------------------------+--------------------------------------------------
Reporter: eschnett | Owner: mthomas
Type: enhancement | Status: new
Priority: minor | Milestone:
Component: SimFactory | Version:
Keywords: |
-------------------------+--------------------------------------------------
There are currently command line options to override certain mdb entries,
e.g. "cpufreq" or "ppn". These options seem superfluous given the "mdbkey"
option.
--
Ticket URL: <https://trac.einsteintoolkit.org/ticket/197>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit
#198: "sim login" doesn't output ssh command line
------------------------+---------------------------------------------------
Reporter: eschnett | Owner: mthomas
Type: defect | Status: new
Priority: minor | Milestone:
Component: SimFactory | Version:
Keywords: |
------------------------+---------------------------------------------------
"sim login" should output the ssh command line to help debugging.
--
Ticket URL: <https://trac.einsteintoolkit.org/ticket/198>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit
#199: jobs.ini should be combined with properties.ini
-------------------------+--------------------------------------------------
Reporter: eschnett | Owner: mthomas
Type: enhancement | Status: new
Priority: minor | Milestone:
Component: SimFactory | Version:
Keywords: |
-------------------------+--------------------------------------------------
--
Ticket URL: <https://trac.einsteintoolkit.org/ticket/199>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit
#173: --remote does not ask for Kraken passphrase
------------------------+---------------------------------------------------
Reporter: eschnett | Owner: mthomas
Type: defect | Status: new
Priority: major | Milestone:
Component: SimFactory | Version:
Keywords: |
------------------------+---------------------------------------------------
"sim sync kraken" and "sim login kraken" both as for the TG passphrase,
but "sim --remote kraken ..." does not; instead, the command aborts with
an error
--
Ticket URL: <https://trac.einsteintoolkit.org/ticket/173>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit
#170: "environcmd" option is ignored for "execute"
------------------------+---------------------------------------------------
Reporter: eschnett | Owner: mthomas
Type: defect | Status: new
Priority: major | Milestone:
Component: SimFactory | Version:
Keywords: |
------------------------+---------------------------------------------------
"sim execute" needs to take the mdb entry "environcmd" into account. All
simfactory commands need to do that. This should happen globally when
simfactory starts up, not by all simfactory commands individually.
The "sshsetup" mdb entry should then be removed, because it offers the
same functionality.
"environcmd" should probably be renamed "envsetup".
--
Ticket URL: <https://trac.einsteintoolkit.org/ticket/170>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit
#194: Cannot submit remotely
------------------------+---------------------------------------------------
Reporter: eschnett | Owner: mthomas
Type: defect | Status: new
Priority: critical | Milestone:
Component: SimFactory | Version:
Keywords: |
------------------------+---------------------------------------------------
I issued the command
$ ./bin/sim --remote numrel02 create-submit empty-i0000
--parfile=par/empty.par --procs=4 --walltime=1:0:0
which led to the local output:
DEBUG: Simfactory command: ./bin/../simfactory/lib/sim.py "--remote"
"numrel02" "create-submit" "empty-i0000" "--parfile=par/empty.par" "--
procs=4" "--walltime=1:0:0"
DEBUG: Version 1109M
The Simulation Factory: Manage Cactus simulations
Info: defs: /Users/eschnett/EinsteinToolkit-hg/simfactory/etc/defs.ini
Info: defs.local: /Users/eschnett/EinsteinToolkit-
hg/simfactory/etc/defs.local.ini
Managing for remote machine: numrel02
Warning: No xauth data; using fake authentication data for X11 forwarding.
DEBUG: Simfactory command: /home/eschnett/EinsteinToolkit-
hg/simfactory/bin/../lib/sim.py "create-submit" "empty-i0000" "--
parfile=par/empty.par" "--procs=4" "--walltime=1:0:0"
DEBUG: Version exported
The Simulation Factory: Manage Cactus simulations
Info: defs: /home/eschnett/EinsteinToolkit-hg/simfactory/etc/defs.ini
Info: defs.local: /home/eschnett/EinsteinToolkit-
hg/simfactory/etc/defs.local.ini
Warning: could not load from restart id 0001, /home/eschnett/simulations
/empty-numrel02-2011.01.09-21.39.00/output-0001/SIMFACTORY/properties.ini
does not exist, broken restart
Executing command: create_submit
Parameter file: /home/eschnett/EinsteinToolkit-hg/par/empty.par
Configuration name not specified -- using default configuration "sim"
Configuration name not specified -- using default configuration "sim"
Skeleton Created
Job directory: "/home/eschnett/simulations/empty-i0000"
Executable: "/home/eschnett/EinsteinToolkit-hg/exe/cactus_sim"
Option list:
"/home/eschnett/simulations/empty-i0000/SIMFACTORY/cfg/OptionList"
Submit script:
"/home/eschnett/simulations/empty-i0000/SIMFACTORY/run/SubmitScript"
Run script:
"/home/eschnett/simulations/empty-i0000/SIMFACTORY/run/RunScript"
Parameter file:
"/home/eschnett/simulations/empty-i0000/SIMFACTORY/par/empty.par"
Active Id: -1
Active restart id: -001
Assigned restart_id of: 0000
Found the following restart_ids: []
Maximum restart id determined to be: -001
Determined submit restart id: 0
DEBUG: Previous ini file: /home/eschnett/simulations/empty-i0000/output--
001/SIMFACTORY/properties.ini
DEBUG: for machine option "allocation", using default value "None"
writing to internalDir:
/home/eschnett/simulations/empty-i0000/output-0000/SIMFACTORY
writing to:
/home/eschnett/simulations/empty-i0000/output-0000/SIMFACTORY/SubmitScript
Executing submit command: sh
/home/eschnett/simulations/empty-i0000/output-0000/SIMFACTORY/SubmitScript
< /dev/null > /dev/null 2> /dev/null & echo $!
Submit finished, job id is 17469
The simulation is created on the remote machine, but its stdout says:
$ cat *.out
DEBUG: Simfactory command: /home/eschnett/EinsteinToolkit-
hg/simfactory/bin/../lib/sim.py "run" "empty-i0000" "--machine=numrel02"
"--restart-id=0"
DEBUG: Version exported
The Simulation Factory: Manage Cactus simulations
Info: defs: /home/eschnett/EinsteinToolkit-hg/simfactory/etc/defs.ini
Info: defs.local: /home/eschnett/EinsteinToolkit-
hg/simfactory/etc/defs.local.ini
Called from the wrong location.
Current directory is '/mnt/sdc1/simulations/empty-i0000/output-0000'
but expected a subdirectory of '/home/eschnett'.
It is also be possible that you need to correct your 'sourcebasedir' entry
in the mdb entry for this machine.
--
Ticket URL: <https://trac.einsteintoolkit.org/ticket/194>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit
#150: TwoPunctures: output individual ADM masses even when tuning
--------------------------------------+-------------------------------------
Reporter: bernard.j.kelly@… | Type: enhancement
Status: new | Priority: minor
Milestone: ET_2011_06 | Component: EinsteinToolkit trac
Version: ET_2010_11 | Keywords:
--------------------------------------+-------------------------------------
Can we output the individual puncture ADM mass post-solve in TwoPunctures?
At present (Chandrasekhar stable release), they're only quoted if we're
tuning the mass through iterative solves (which, I suppose, is what most
people do).
This requires only a handful of extra lines. I'm attaching an "svn diff"
of my local version, which has this enabled.
--
Ticket URL: <https://trac.einsteintoolkit.org/ticket/150>
Einstein Toolkit <http://einsteintoolkit.org>
The Einstein Toolkit