... | ... | @@ -48,33 +48,33 @@ A more technical explanation about modules can be found [here](https://git.lumc. |
|
|
|
|
|
### Matlab
|
|
|
|
|
|
Matlab can be started by typing the following command:
|
|
|
````
|
|
|
There are 2 Matlab versions available on Shark for FSW. These can be started using the full path (good practice on a cluster), by typing one of the following commands (depending on which version is needed):
|
|
|
```
|
|
|
/exports/fsw/MATLAB/2012B/bin/matlab
|
|
|
````
|
|
|
|
|
|
Some technical arrangements are done to connect to a Matlab license server. For FSW users the license server is different than for LUMC users. They differ in the available toolboxes etc.
|
|
|
/exports/fsw/MATLAB/2018B/bin/matlab
|
|
|
```
|
|
|
For convenience there are 2 modules. Use this in the following way:
|
|
|
```
|
|
|
module load matlab/matlab-2018b
|
|
|
matlab
|
|
|
```
|
|
|
To run the full matlab graphical interface you need a graphical connection. On Windows you can do so, by using MobaXterm. See [How_to_connect_windows_direct MobaXterm](https://git.lumc.nl/mwjhhuijberts/Shark4FSW/wikis/How_to_connect_windows_direct#mobaxterm).
|
|
|
|
|
|
To run the full matlab graphical interface you need a graphical connection. On Windows you can do so, by using MobaXterm. See [How_to_connect_windows_direct MobaXterm](https://git.lumc.nl/mwjhhuijberts/Shark4FSW/wikis/How_to_connect_windows_direct#mobaxterm). It is also possible to start matlab in a command line only (Putty) connection by using the command:
|
|
|
It is also possible to start matlab in a command line only (Putty) connection by using the command:
|
|
|
|
|
|
````
|
|
|
/exports/fsw/MATLAB/2012B/bin/matlab -nodisplay -nojvm
|
|
|
````
|
|
|
```
|
|
|
matlab -nodisplay -nojvm
|
|
|
```
|
|
|
FSW users use the FSW license server, which is different as for LUMC users. They differ in the available toolboxes etc.
|
|
|
|
|
|
Using Matlab on a cluster is different than on your own workstation. Interactive development with Matlab does not work well with an queuing system. To overcome this problem you have to submit a special interactive job with OGS. Use the following command:
|
|
|
|
|
|
````
|
|
|
```
|
|
|
qlogin
|
|
|
````
|
|
|
You will be logged into one of the worker nodes, where you can start `matlab` and work.
|
|
|
```
|
|
|
You will be logged into one of the worker nodes, where you can start `matlab` (using the module load) and use Matlab.
|
|
|
|
|
|
As stated on the [Example page from the Shark Wiki](https://git.lumc.nl/shark/SHARK/wikis/Examples): To avoid the cluster being overloaded with idle qlogin sessions your session will automatically logout after 12 hours.
|
|
|
|
|
|
**Update: August 2019**
|
|
|
The latest Matlab version is 2012B. A request for 2016A (standard version at FSW) is filled at the ISSC.
|
|
|
|
|
|
|
|
|
|
|
|
### fMRI_prep
|
|
|
|
|
|
Follow the instructions on [this page](fMRI_prep) for using fMRI_prep with Singularity.
|
... | ... | |