option --submitscript: unclear behaviour with wrong settings

Create issue
Issue #760 closed
anonymous created an issue

If one enter the name of a directory instead of a dataset after the option --submitscript, simfactory seems to use the default submitscript, without telling the user about that. The simulations sub-directory SIMFACTORY/run contains in this case the default submitscript of the configuration. However looking into the simulations sub-directory output-0000/SIMFACTORY one find an EMPTY submitscript, no runscript is available.

In case of having a filename to a non existent file after ---submitscript, simfactory is really using the default submit script; the default submit script can be found in the simulations sub-directory output-0000/SIMFACTORY. Again the user is not informed about the usage of the default.

Because of the behaviour with the directory name I am giving this error the priority major.


Comments (4)

  1. anonymous reporter
    • removed comment

    Implemented a bugfix in simrestart.py.

    If the submitscript given with the option --submitscript does not exist, is a directory or is an empty file, simfactory exits with an appropriate error message.

    The changes are committed to the trunk and the branch ET_2011_10. The ticket can be closed.

  2. Log in to comment