This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
research:ml [2019/07/06 11:16] kgovender |
research:ml [2021/12/09 16:42] (current) |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | If you are making use of Jupyter notebook to write your python scripts then you first need to make sure you export the .py file in Jupyter and then copy it onto the cluster | ||
| - | Also ensure job is copied | + | If you are looking for information on Tensorflow, please go to [[guide: |
| - | ===== Running Tensorflow on non-GPU nodes ===== | + | ======Machine Learning====== |
| - | To test a job on a normal compute node first get onto an interactive CPU compute node with the following: | + | The CHPC supports Machine Learning (ML) activities at the CHPC. More than a just a simulation of AI, machine learning is now applied to modelling areas of science where traditional mathematical models struggle |
| - | **qsub -I -P YOURPROGRAMME(E.G. CSCI1234) -q smp -l select=1: | ||
| - | Once on an interactive node cnode**** you need to load up the appropriate modules: | ||
| - | |||
| - | **module purge** | ||
| - | |||
| - | **module load chpc/ | ||
| - | |||
| - | You then **cd / | ||
| - | |||
| - | Then type **python nameofyourfile.py** | ||
| - | |||
| - | ===== Running Tensorflow on GPU nodes ===== | ||
| - | |||
| - | As with CPU version you can test scripts with interactive jobs: | ||
| - | |||
| - | **qsub -I -P YOURPROGRAMME(E.G. CSCI1234) -q gpu_1 -l select=1: | ||
| - | |||
| - | Once on an interactive node gpu**** you need to load up appropriate modules: | ||
| - | |||
| - | **module purge** | ||
| - | |||
| - | **module load chpc/ | ||
| - | |||
| - | **module load chpc/ | ||
| - | |||
| - | You then **cd / | ||
| - | |||
| - | Then type **python nameofyourfile.py** | ||
| - | |||
| - | I will update this page with easy scripts that can be used to submit jobs via the PBS scedular in due course **Dr Krishna Govender** | ||