...
First of all, you need to request multiple nodes in ARE JupyterLab session and specify the proper storage projects.
Then click "Advanced options" button, and put "/g/data/dk92/apps/Modules/modulefiles" in "Module directories" and load both NCI-data-analysis/2022.06 and gadi-jupyterlab/22.06 modules in "Module" field. In the "Pre-script" field, fill in the command "jupyterlab.ini.sh -R" to set up the pre-defined Ray cluster.
Click "Open JupyterLab" button to open the JupyterLab session as soon it is highlighted.
In the Jupyter notebook, using the following lines to connect the pre-defined Ray cluster and print the resources information.
import ray |
You will see 96 CPU Cores and two nodes are used by the cluster as expected.
Monitoring Ray status
...
The Ray status will be kept updating every 2 seconds
Every 2.0s: ray status gadi-cpu-clx-114660021448.gadi.nci.org.au: MonThu MayJul 237 1511:2726:2759 2022
|
...