Skip to content

Commit 14ee9e0

Browse files
committed
WIP: Attempts to adjust for Singularity
A rough, working attempt at getting the workflow to start with Singularity. Needs a bit of cleanup to streamline the process. Leaving it here for now so it is stored and not forgotten.
1 parent a332b5e commit 14ee9e0

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

nanshe_ipython.ipynb

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,11 @@
8484
"import os\n",
8585
"from psutil import cpu_count\n",
8686
"\n",
87-
"cluster_kwargs = {}\n",
87+
"cluster_kwargs = {\n",
88+
" \"preexec_commands\": (\n",
89+
" \"singularity exec ~/nanshe_nanshe_workflow_latest.img \\\\\",\n",
90+
" ),\n",
91+
"}\n",
8892
"client_kwargs = {}\n",
8993
"adaptive_kwargs = {\n",
9094
" \"minimum\": 0,\n",

0 commit comments

Comments
 (0)