Source set_nFX_environment.sh (*.csh)
from the nanoFluidX installation directory.
Note: This sets paths to the CUDA and MPI executables
packaged with nanoFluidX.
Navigate to the directory containing the nanoFluidX
case (*.cfg and *.prtl files).
Execute nvidia-smi.
If NVIDIA drivers are properly installed, this command will show the available
GPU devices are available.Figure 1. The number of GPUs should be determined according to the number of
particles. Ensure there is at least 2M particles per GPU to scale efficiently.
To quickly count the number of lines (particles) inside the
.prtl file from the terminal, use the
wc
command:
wc EGBX_1mm.prtl -l
5673046 EGBX_1mm.prtl
Once you know which GPUs to use, enter the launch command string: