Altair PBS
Launch a Simulation via PBS Access

- Browse to your PBS Access server and login.
- Click the Jobs menu and select
- Select the nanoFluidX version to be used and enter a Job name.
-
Select (or drag-and-drop) the input files to the browser so that they are
uploaded.
Note: It is possible to upload a *.zip file when there are many files or if the file size is large. This will be automatically extracted at runtime.
- Select the number of GPUs to use and click Submit Job.
Test PBS
When Altair PBS is used as the scheduler on the target
system, a test run of nanoFluidX could be carried out
through PBS. For further details on setting up PBS for use with GPU resources, refer
to the relevant PBS documentation.
Note: The exact steps may
change depending on the PBS settings on your particular system.
- Log in as a regular user. Do not use root user.
- Run system tests without using PBS, following steps 1 through 4 outlined in the Single Node section.
-
Copy
dambreak
case fromdemo_cases
to the location of choice:<LOC>: cp <INSTALL_DIR>/altair/hwcfdsolvers/nanofluidx/linux64/demo_cases/dambreak <LOC>/dambreak
-
Prepare the environment in your PBS script by adding one of the
following:
- Single
node:
nfxmpirun_pbssinglenode -np 1 $nFX_SP -i dambreak_3D_H300_dx0p005_wt.cfg -m 10
- Multi
node:
<INSTALL_DIR>/altair/hwcfdsolvers/nanofluidx/linux64/set_nFX_environment.sh multinode
-
PBS must produce a
HOSTFILE
where each node is repeated once per GPU on each node. -
Set
X
equal to the number of GPUs across all nodes.
- Single
node:
-
Launch nanoFluidX in your PBS script by adding the
following:
- Single
node:
nfxmpirun_pbssinglenode -np 1 $nFX_SP -i dambreak_3D_H300_dx0p005_wt.cfg -m 10
- Multi
node:
nfxmpirun_pbsmultinode -np X $nFX_SP -i dambreak_3D_H300_dx0p005_wt.cfg -m 10
-
PBS must produce a
HOSTFILE
where each node is repeated once per GPU on each node. -
Set
X
equal to the number of GPUs across all nodes.
- Single
node:
-
The test run is successful when the message Finished (reached maximum
steps) appears at the end of the PBS output file.
Note: Simulation time may vary.
Figure 2.