Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update restG4 to condor script #3

Draft
wants to merge 40 commits into
base: master
Choose a base branch
from
Draft

Update restG4 to condor script #3

wants to merge 40 commits into from

Conversation

lobis
Copy link
Member

@lobis lobis commented Apr 12, 2023

In this PR I update the current restG4toCondor.py with the version I am currently using which should serve the same goal as the current script but is implemented in a different way. Since they both serve the same purpose I replaced the current script with this one but it could be argued to keep both versions.

Usage example:

python3 restG4ToCondor.py --rml simulation.rml --n-jobs 10 --output-dir /path/to/output/dir --time 1h

The script has some specific named arguments such as --rml or --n-jobs and then will forward all other arguments directly to restG4 (for example the --time argument in this example).

It automatically creates directories with the timestamp of the simulation and all log files which helps with organization.

Currently this script assumes the user is working on NAF-IAXO and stores data in the nfs directories (for which the user needs to have permissions to their own user directory).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant