Suppose you already have access to BIH cluster, read the BIH HPC Docs and tried to log into the cluster successfully.
To be able to run applications with graphic user interface on the cluster, check in your terminal if echo $DISPLAY returns empty. If so, add this line export DISPLAY=:0 to the end of your shell rc file (.bashrc or .zshrc depending on which one you use).
For macOS, run brew install xquartz in your terminal to enable X11 forwarding.
where --x11, --cpus-per-task, --mem and --nodelist are optional parameters. Check out BIH HPC Docs for details.
You can also check out the BIH HPC Docs on how to use GPU nodes (for example, run CUDA version of eddy from FSL). eddy available in $FSLDIR/bin uses CUDA 11 by default. OpenMPI version is also available via eddy_openmp.
Copy MATLAB Singularity image
Set up Lead-DBS
Use MATLAB
Log into a compute node with X11 forwarding enabled (--x11)
actmatlab # This activates MATLAB on the compute node
runmatlab # This starts MATLAB without GUI
runmatlabx # This starts MATLAB with GUI
To add SPM12 and LeadDBS to MATLAB search path:
After you start LeadDBS, edit the preference file from the menu and set the two keys below: