Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions MonteCarloMarginalizeCode/Code/RIFT/misc/dag_utils_generic.py
Original file line number Diff line number Diff line change
Expand Up @@ -807,6 +807,16 @@ def _build_submit_dict(self, job):
sub["executable"] = str(job.executable)
args = self._build_argument_string(job, self._var_ref)
if args:
# Condor "new arguments syntax": the entire argument string must
# be wrapped in double quotes. glue.pipeline.CondorDAGJob's
# write_sub_file() does this, so the legacy implementation
# emitted `arguments = "..."`. Without the outer quotes Condor
# falls back to the old arguments syntax, which parses brackets,
# commas, and embedded single-quoted tokens differently -- e.g.
# `'[0.2,0.2499]'` reaches the executable as a different argv
# string. Re-wrap here so we exactly match the glue behaviour.
if not (args.startswith('"') and args.endswith('"')):
args = '"' + args + '"'
sub["arguments"] = args
if job.log_file:
sub["log"] = job.log_file
Expand Down
7 changes: 7 additions & 0 deletions docs/source/api_reference/simulation_manager/BaseManager.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
BaseManager API Reference
===========================

.. automodule:: RIFT.simulation_manager.BaseManager
:members:
:undoc-members:
:show-inheritance:
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
CondorManager API Reference
=============================

.. automodule:: RIFT.simulation_manager.CondorManager
:members:
:undoc-members:
:show-inheritance:
7 changes: 7 additions & 0 deletions docs/source/api_reference/simulation_manager/PBSManager.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
PBSManager API Reference
==========================

.. automodule:: RIFT.simulation_manager.PBSManager
:members:
:undoc-members:
:show-inheritance:
7 changes: 7 additions & 0 deletions docs/source/api_reference/simulation_manager/SlurmManager.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
SlurmManager API Reference
============================

.. automodule:: RIFT.simulation_manager.SlurmManager
:members:
:undoc-members:
:show-inheritance:
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
gw_pe_synthetic API Reference
================================

.. automodule:: RIFT.simulation_manager.backends.gw_pe_synthetic
:members:
:undoc-members:
:show-inheritance:
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Simulation Manager Backends
=============================

.. toctree::
:maxdepth: 1

gw_pe_synthetic
7 changes: 7 additions & 0 deletions docs/source/api_reference/simulation_manager/database.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Simulation Database API Reference
===================================

.. automodule:: RIFT.simulation_manager.database
:members:
:undoc-members:
:show-inheritance:
Loading
Loading