Difference between revisions of "Modulus"

From UFRC
Jump to navigation Jump to search
Line 30: Line 30:
 
* HPC_{{uc:{{#var:app}}}}_DIR - installation directory
 
* HPC_{{uc:{{#var:app}}}}_DIR - installation directory
 
* HPC_{{uc:{{#var:app}}}}_BIN - executable directory
 
* HPC_{{uc:{{#var:app}}}}_BIN - executable directory
 
 
  
 
==Learning Materials==
 
==Learning Materials==
Line 47: Line 45:
 
An example job resource request for running jobs interactively:
 
An example job resource request for running jobs interactively:
  
srun -p hpg-ai -N 1 --cpus-per-task=16 --gpus=a100:2 --mem=32gb --time=200:00 --pty bash -i
+
  srun -p hpg-ai -N 1 --cpus-per-task=16 --gpus=a100:2 --mem=32gb --time=200:00 --pty bash -i
  
 
The '--num-gpus X' pbrun argument must match the number 'X' of requested GPUs.  
 
The '--num-gpus X' pbrun argument must match the number 'X' of requested GPUs.  

Revision as of 17:42, 29 August 2022

Description

Modulus website  

NVIDIA Modulus is a neural network framework that blends the power of physics and partial differential equations (PDEs) with AI to build more robust models for better analysis of applications like digital twins.

Environment Modules

Run module spider Modulus to find out what environment modules are available for this application.

System Variables

  • HPC_MODULUS_DIR - installation directory
  • HPC_MODULUS_BIN - executable directory

Learning Materials

NVIDIA Modulus usage on HiPerGator

1) Server:

To start the server as a slurm job:

                   ml purge
                   ml modulus/<version>
                   sbatch <slurm_script.sh>

2) Interactive run:

An example job resource request for running jobs interactively:

  srun -p hpg-ai -N 1 --cpus-per-task=16 --gpus=a100:2 --mem=32gb --time=200:00 --pty bash -i

The '--num-gpus X' pbrun argument must match the number 'X' of requested GPUs.


Modulus Packages