Add support for Datura to the Python version

Issue #258 closed
Erik Schnetter created an issue

The Perl version already supports Datura.

Keyword:

Comments (4)

  1. Barry Wardell
    • removed comment

    I have had this on my local machine for quite a while but did not commit it yet because I couldn't fully test due to other unrelated issues in PySim. I have now committed this. I have tested that compiling and job submission works. Jobs are not currently running on Datura so I haven't been able to test that.

    Note that --remote does not work yet. You must log in to Damiana and use '--machine Datura' in all commands. The problem is that there is only one head node shared between Damiana and Datura so their aliaspattern is the same and SimFactory can't identify which machine it is on. One solution would be for --remote to add the --machine argument to all commands. Using '--remote datura --machine datura' doesn't work as --machine in this context tells SimFactory about the local machine it's running on.

  2. Erik Schnetter reporter
    • removed comment

    Yes, this seems like a good idea: --remote M should add --machine M to the flags that are passed to the remote system, and should at the same time remove any --machine flags that were specified locally.

  3. anonymous
    • changed status to resolved
    • removed comment

    This has been done. specifying bin/sim --remote=damiana list-machines, for example, sends sim list-machines --machine=damiana. All local --machine arguments are stripped before the command is sent.

  4. Log in to comment