Skip to content

Commit

Permalink
format changes
Browse files Browse the repository at this point in the history
  • Loading branch information
w-lampaert authored Jul 6, 2023
1 parent 76ac601 commit d7f5cc2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions source/software/matlab_parallel_computing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ Running Matlab is best done from a compute node. Request an interactive job with
Now you will can load your preferred Matlab module:

::

$ module load <matlab_module>

We have Matlab modules available for wICE (in the 2021a toolchain) and for Genius (in the 2021a and 2018a toolchain).
Expand All @@ -39,6 +40,7 @@ Now, start Matlab and use the function `configCluster` to set up the cluster pr
cluster', basically meaning that it will only detect the cores on the node you are currently on.

::

$ matlab -nodisplay # this will avoid launching the GUI, but you can do this if you prefer (slow)
$ # Within Matlab
$ >> configCluster;
Expand All @@ -47,11 +49,13 @@ There is a range of additional properties that you can set on the cluster profil
profile:

::

$ c=parcluster;

You can then view and edit the additional properties:

::

$ # Access
$ c.AdditionalProperties
$
Expand All @@ -65,13 +69,15 @@ to a location in your `$VSC_HOME`. If you are producing a lot of output, it migh
the other cluster profile parameters can be done as follows:

::

$ # Access
$ c.JobStorageLocation = '</path/to/your/custom/jobdir>'

Both after changing any of the additional properties or the standard parameters, you will have to save that profile to keep the changes after closing your
session:

::

$ c.saveProfile;


Expand Down

0 comments on commit d7f5cc2

Please sign in to comment.