Last active
February 23, 2021 08:12
-
-
Save thorstenwagner/1ac76e654f89e941b92d9be49285b9be to your computer and use it in GitHub Desktop.
isac_changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- a/sphire/sphire/bin/sp_gui.py | |
+++ b/sphire/sphire/bin/sp_gui.py | |
@@ -3093,7 +3093,10 @@ class SXCmdTab(QWidget): | |
self.qsub_script_edit = QLineEdit() | |
if self.sxcmdwidget.sxcmd.is_submittable == True: | |
- if 'SPHIRE_SUBMISSION_SCRIPT_TEMPLATE' in os.environ: | |
+ if 'SPHIRE_SUBMISSION_SCRIPT_TEMPLATE_GPU' in os.environ and \ | |
+ self.sxcmdwidget.sxcmd.name in ('sp_isac2_gpu', ): | |
+ submission_script_template = os.environ['SPHIRE_SUBMISSION_SCRIPT_TEMPLATE_GPU'] | |
+ elif 'SPHIRE_SUBMISSION_SCRIPT_TEMPLATE' in os.environ: | |
submission_script_template = os.environ['SPHIRE_SUBMISSION_SCRIPT_TEMPLATE'] | |
else: | |
submission_script_template = "msgui_qsub.sh" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment