Skip to content
Snippets Groups Projects
Commit dfc230c4 authored by Jan Siwiec's avatar Jan Siwiec
Browse files

Update octave.md

parent 2705c099
Branches
No related tags found
No related merge requests found
Pipeline #40248 passed with warnings
......@@ -39,7 +39,7 @@ mkdir -p "$DIR"
cd "$DIR" || exit
# copy input file to scratch
cp $PBS_O_WORKDIR/octcode.m .
cp $SLURM_SUBMIT_DIR/octcode.m .
# load octave module
ml Octave/6.3.0-intel-2020b-without-X11
......@@ -54,7 +54,7 @@ cp output.out $SLURM_SUBMIT_DIR/.
exit
```
This script may be submitted directly to the PBS workload manager via the `salloc` command. The inputs are in the octcode.m file, outputs in the output.out file. See the single node jobscript example in the [Job execution section][1].
This script may be submitted directly to Slurm via the `salloc` command. The inputs are in the octcode.m file, outputs in the output.out file. See the single node jobscript example in the [Job execution section][1].
The Octave c compiler `mkoctfile` calls the GNU GCC 6.3.0 for compiling native C code. This is very useful for running native C subroutines in Octave environment.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment