Skip to content

Commit 01510bc

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 02020d3 commit 01510bc

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
@@ -38,7 +38,11 @@
3838
"dataset = \"images\"\n",
3939
"\n",
4040
"num_workers = None\n",
41-
"cluster_kwargs = {}\n",
41+
"cluster_kwargs = {\n",
42+
" \"preexec_commands\": (\n",
43+
" \"singularity exec ~/nanshe_nanshe_workflow_latest.img \\\\\",\n",
44+
" ),\n",
45+
"}\n",
4246
"client_kwargs = {}\n",
4347
"\n",
4448
"\n",

0 commit comments

Comments
 (0)