This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
howto:amr-wind [2023/09/15 13:18] ccrosby [CHPC installations] |
howto:amr-wind [2023/09/18 08:49] (current) ccrosby [CHPC installations] |
||
|---|---|---|---|
| Line 12: | Line 12: | ||
| - '' | - '' | ||
| - | Refer to the [[https:// | + | Refer to the [[https:// |
| ===== CPU-only example job script ===== | ===== CPU-only example job script ===== | ||
| Line 28: | Line 28: | ||
| module load chpc/ | module load chpc/ | ||
| nproc=`cat $PBS_NODEFILE | wc -l` | nproc=`cat $PBS_NODEFILE | wc -l` | ||
| - | mpirun -iface ib0 -np $nproc amr_wind inputs.txt > amr-wind-nogpu.out.txt | + | mpirun -iface ib0 -np $nproc amr_wind inputs.txt > amr-wind-nogpu.out |
| </ | </ | ||
| Line 44: | Line 44: | ||
| cd / | cd / | ||
| module load chpc/ | module load chpc/ | ||
| - | mpirun -iface ib0 -np 3 amr_wind inputs.txt > amr-wind-gpu.out.txt | + | mpirun -iface ib0 -np 3 amr_wind inputs.txt > amr-wind-gpu.out |
| </ | </ | ||