This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
howto:ultrafluidx [2022/03/29 09:47] ccrosby [Example PBS scripts] |
howto:ultrafluidx [2022/03/29 16:23] (current) ccrosby [Example PBS scripts] |
||
|---|---|---|---|
| Line 27: | Line 27: | ||
| * To view the output file uFX_log_2022-03-28_08-27-50.out < | * To view the output file uFX_log_2022-03-28_08-27-50.out < | ||
| * To monitor the progress of the job that is writing the output file uFX_log_2022-03-28_08-27-50.out < | * To monitor the progress of the job that is writing the output file uFX_log_2022-03-28_08-27-50.out < | ||
| - | * To view GPU usage, get the hostname of the node being used, then ssh to it. This is only possible as long as you have a job running on it. Then run the command < | + | * To view GPU usage, get the hostname of the node being used, then ssh to it. This is only possible as long as you have a job running on it. Then run the command < |
| - | | + | |
| + | |||
| + | === Relationship between the number of MPI ranks and the number of GPUs === | ||
| + | UltraFluidX requires one more MPI rank than the number of GPUs. Please refer to this table: | ||
| + | |||
| + | ^ Number of GPUs ^ ncpus ^ mpiprocs ^ ngpus ^ queue ^ Command line ^ | ||
| + | | 1 | 2 | 2 | 1 | gpu_1 | ufx -np 2 -inpFile .... | | ||
| + | | 2 | 3 | 3 | 2 | gpu_2 | ufx -np 3 -inpFile .... | | ||
| + | | 3 | 4 | 4 | 3 | gpu_3 | ufx -np 4 -inpFile .... | | ||
| + | | 4 | 5 | 5 | 4 | gpu_4 | ufx -np 5 -inpFile .... | | ||
| + | |||
| + | |||
| This is an example of a PBS script for running on a single GPU: | This is an example of a PBS script for running on a single GPU: | ||
| Line 59: | Line 71: | ||
| ufx -np 4 -inpFile roadster.xml | ufx -np 4 -inpFile roadster.xml | ||
| </ | </ | ||
| + | |||
| + | === Performance considerations === | ||
| + | Running on a single V100 GPU card produces a performance of around 400 MNUPS. | ||
| + | |||
| + | < | ||
| + | |||
| + | It gets more difficult if only two or three NVlinked GPUs are required. | ||
| + | |||
| + | < | ||
| + | |||
| + | The scheduler is not currently configured in such a way that it is possible to select **any** available one of the three NVlink-equipped nodes. | ||
| + | |||