Difference between revisions of "Modulus"

From UFRC
Jump to navigation Jump to search
Line 36: Line 36:
  
 
=== NVIDIA Modulus usage on HiPerGator===
 
=== NVIDIA Modulus usage on HiPerGator===
            1) Server:
+
1) Server:
  
 
To start the server as a slurm job:
 
To start the server as a slurm job:
Line 43: Line 43:
 
                     sbatch <slurm_script.sh>
 
                     sbatch <slurm_script.sh>
  
            2) Interactive run:
+
2) Interactive run:
  
 
An example job resource request for running jobs interactively:
 
An example job resource request for running jobs interactively:

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