Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Michael Krause
tardis-doc
Commits
e0ea8a78
Commit
e0ea8a78
authored
Jan 07, 2021
by
Michael Krause
🎉
Browse files
Merge branch 'master' of
https://git.mpib-berlin.mpg.de/krause/tardis-doc
parents
e950a469
2ca1ebda
Pipeline
#8387
passed with stages
in 38 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
rm/slurm/commands.rst
View file @
e0ea8a78
...
@@ -28,7 +28,7 @@ Wrap bash commands into a job on the fly:
...
@@ -28,7 +28,7 @@ Wrap bash commands into a job on the fly:
.. code-block:: bash
.. code-block:: bash
sbatch --wrap "module load R ; Rscript main.R"
sbatch --wrap "
. /etc/profile ;
module load R ; Rscript main.R"
**Interactively/Blocking**
**Interactively/Blocking**
...
...
software/fsl.rst
View file @
e0ea8a78
...
@@ -47,7 +47,7 @@ for all combinations of subjects and runs in parallel all in one go:
...
@@ -47,7 +47,7 @@ for all combinations of subjects and runs in parallel all in one go:
sed -i "s|%RUN%|$run|g" $featfile
sed -i "s|%RUN%|$run|g" $featfile
# submit the feat command with the current design file
# submit the feat command with the current design file
sbatch --wrap "module load fsl ; feat $featfile"
sbatch --wrap "
. /etc/profile ;
module load fsl ; feat $featfile"
done
done
done
done
...
...
software/matlab.rst
View file @
e0ea8a78
...
@@ -57,7 +57,7 @@ In a job context you would just run :program:`matlab -r main` with main.m contai
...
@@ -57,7 +57,7 @@ In a job context you would just run :program:`matlab -r main` with main.m contai
.. code-block:: bash
.. code-block:: bash
sbatch --wrap "module load matlab/R2014b; matlab -r main"
sbatch --wrap "
. /etc/profile ;
module load matlab/R2014b; matlab -r main"
...
@@ -202,7 +202,7 @@ template:
...
@@ -202,7 +202,7 @@ template:
for image in tp2/Old/*.nii ; do
for image in tp2/Old/*.nii ; do
fullpath=$PWD/$image
fullpath=$PWD/$image
sed "s#%%IMAGE%%#$fullpath#" batch.template > batch_${i}.m
sed "s#%%IMAGE%%#$fullpath#" batch.template > batch_${i}.m
sbatch --wrap "module load spm12 ; run_spm12.sh /mcr batch $PWD/batch_${i}.m"
sbatch --wrap "
. /etc/profile ;
module load spm12 ; run_spm12.sh /mcr batch $PWD/batch_${i}.m"
i=$((i+1))
i=$((i+1))
done
done
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment