Mathematics and Statistics Tools

MATLAB singularity with License server enabled

At allocated compute node; activate singularity and run MATLAB image

$module load singularity
$singularity run /app/matlab2023bLic.sif
or
$singularity run /scratch/matlab2023bLic.sif

This software license is depended on MUIT MATLAB license.

RStudio on Jupyter with The Rocker Project

Without complicated setup, we can run container and work on jupyter notebook environment.

How to

On any node: activate singularity

 $ module load singularity
 $ singularity run /scratch/rocker_rstudio.sif

Connect to RStudio Server via browser::
       http://compute_node.mahidol.ac.th:port

Reference: The Rocker Project

RStudio Server(outdate)

Console:

$ TMPDIR=~/rstudio-tmp # your choice
$ mkdir -p $TMPDIR/tmp/rstudio-server
$ uuidgen > $TMPDIR/tmp/rstudio-server/secure-cookie-key
$ chmod 600 $TMPDIR/tmp/rstudio-server/secure-cookie-key
$ mkdir -p $TMPDIR/var/{lib,run}

Allocate resource:

$ salloc -w node_name -t 1:0:0

or Use browser with remote desktop on exascale web portal:

$ TMPDIR=~/rstudio-tmp && singularity exec    -B $TMPDIR/var/lib:/var/lib/rstudio-server     -B $TMPDIR/var/run:/var/run/rstudio-server     -B $TMPDIR/tmp:/tmp    /app/geospatial_latest.sif   rserver --www-address=$(hostname -I | awk '{print $1}') --server-user=$USER --www-port=8989

Port : If port has been already used, change it.

Connect to RStudio Server via browser::

http://compute_node.mahidol.ac.th:port