Hello,
I was looking at the simfactory (python) wiki (is that the most up-to-date place to find information?) and I found a few problems.
1) I tried the command
simfactory/bin/sim list-machines ranger
and the result is the whole list of machines. Shouldn't it output only the data for ranger?
2) The command print-machine seem non-existent:
Cactus> simfactory/bin/sim print-machine Error: unknown command print-machine Aborting Simfactory.
3) If I say:
simfactory/bin/sim --remote-machine=ranger execute ls
the reply is:
sim.py: error: no such option: --remote-machine
4) What is the version of the command:
simfactory/bin/sim list-configurations
that lists the available configurations on a remote machine?
5) What is the version of the command:
simfactory/bin/sim build [<configurationname>] --thornlist=<thornlist>
that lists the available configurations on a remote machine?
Cheers, Luca
Hi Luca,
On Sun, Sep 18, 2011 at 10:04 AM, Luca Baiotti baiotti@ile.osaka-u.ac.jp wrote:
- I tried the command
simfactory/bin/sim list-machines ranger
and the result is the whole list of machines. Shouldn't it output only the data for ranger?
The list-machines command currently lists all machines in the machine database. It should also probably either:
a) complain if you give it a machine name as an extra command. b) only list machines which match the pattern of the name you give.
2) The command print-machine seem non-existent:
Cactus> simfactory/bin/sim print-machine Error: unknown command print-machine Aborting Simfactory.
You probably want print-mdb-entry.
- If I say:
simfactory/bin/sim --remote-machine=ranger execute ls
the reply is:
sim.py: error: no such option: --remote-machine
Try:
simfactory/bin/sim --remote ranger execute ls
- What is the version of the command:
simfactory/bin/sim list-configurations
that lists the available configurations on a remote machine?
simfactory/bin/sim --remote ranger list-configurations
- What is the version of the command:
simfactory/bin/sim build [<configurationname>] --thornlist=<thornlist>
that lists the available configurations on a remote machine?
I'm not sure what you mean by this, but assuming you want to build on a remote machine:
simfactory/bin/sim --remote ranger build [configuration] --thornlist=<thornlist>
The help text in SimFactory (sim --help) is probably the most up-to-date source for the available commands.
Regards, Barry
On 18 Sep 2011, at 10:40, Barry Wardell wrote:
The help text in SimFactory (sim --help) is probably the most up-to-date source for the available commands.
That help text is also automatically included in the (work-in-progress) user guide:
http://damiana2.aei.mpg.de/~ianhin/simfactoryuserguide/
Feel free to contribute corrections and enhancements! The source is in simfactory/doc/userguide.
Hi Ian,
sim --help explains that the syntax for --remote is
--remote=<machine>
but this is not correct, right? How can I correct this documentation?
I also tried to update the README_FIRST.txt file, but I don't have permission. Here is the diff.
svn diff
Index: README_FIRST.txt =================================================================== --- README_FIRST.txt (revision 1464) +++ README_FIRST.txt (working copy) @@ -71,7 +71,7 @@ 3. bin/sim-manage.py: equiv to 'sim create/submit', but with the addition of interactive/run. 4. bin/sim-info.py: equiv to 'sim list-*, sim print-*' - All commands can be executed remotely using the --remote=<machine> argument. + All commands can be executed remotely using the --remote <machine> argument.
You can override mdb entries and defines via the commandline. To override the mdb, you use --mdbkey <keyname>
Cheers, Luca
On 18/9/11 8:13 PM, Ian Hinder wrote:
On 18 Sep 2011, at 10:40, Barry Wardell wrote:
The help text in SimFactory (sim --help) is probably the most up-to-date source for the available commands.
That help text is also automatically included in the (work-in-progress) user guide:
http://damiana2.aei.mpg.de/~ianhin/simfactoryuserguide/
Feel free to contribute corrections and enhancements! The source is in simfactory/doc/userguide.
On 18 Sep 2011, at 15:14, Luca Baiotti wrote:
Hi Ian,
sim --help explains that the syntax for --remote is
--remote=<machine>
but this is not correct, right? How can I correct this documentation?
As with most GNU command line tools, you can use either
--remote=<machine>
or
--remote <machine>
i.e. the "=" is optional. What you originally said you tried, and what you cannot do, is to write
--remote-machine <machine>
So the documentation is correct already.
users@lists.einsteintoolkit.org