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 16:09] ccrosby [Example PBS scripts] |
howto:ultrafluidx [2022/03/29 16:23] (current) ccrosby [Example PBS scripts] |
||
|---|---|---|---|
| Line 28: | Line 28: | ||
| * 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 .... | | ||
| + | |||
| + | |||
| Line 65: | Line 77: | ||
| < | < | ||
| - | It gets more difficult if only two NVlinked GPUs are required. | + | It gets more difficult if only two or three NVlinked GPUs are required. |
| < | < | ||