|
[Sponsors] |
November 10, 2024, 04:21 |
SU2 in a Cluster
|
#1 |
Senior Member
Sakun
Join Date: Nov 2019
Location: United Kingdom
Posts: 151
Rep Power: 7 |
Hi,
I would like to know if I can simulate SU2 work in a HPC system ? As for the cluster we use PBS scripting (we use .sh and .jnl files to work on a case) and the cluster OS is Rocky9. Thanks, |
|
November 10, 2024, 07:23 |
|
#2 |
Senior Member
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 676
Rep Power: 21 |
Compile SU2 with parallel support on your cluster, e.g. openmpi, and then use the submit scripts from your cluster. You probably have a line containing
mpirun -np 64 ./executable or something similar. Just point that to the SU2 executable. You can test SU2 before submitting, see if it runs correctly on 2 cores using mpirun on the command line. |
|
November 13, 2024, 11:22 |
|
#3 |
Senior Member
Sakun
Join Date: Nov 2019
Location: United Kingdom
Posts: 151
Rep Power: 7 |
Hi,
SU2 being installed in the cluster and I tried with 6 cores but same simulation run 6 times instead. Is it because of the installation ? |
|
November 13, 2024, 18:22 |
|
#4 |
Senior Member
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 676
Rep Power: 21 |
Did you compile SU2 with mpi support? For openmpi, it is:
Code:
-Dwith-mpi=enabled Code:
-Dwith-mpi=enabled -Dcustom-mpi=true Code:
./meson.py build --optimization=2 -Ddebug=false -Denable-mixedprec=true -Denable-pywrapper=false -Denable-tests=false --warnlevel=3 -Denable-autodiff=false -Dwith-mp i=enabled -Dcustom-mpi=true -Dwith-omp=false -Denable-cgns=true -Denable-tecio=false --prefix=/home/user/Codes/su2_github_develop/su2 |
|
November 14, 2024, 05:28 |
|
#5 |
Senior Member
Sakun
Join Date: Nov 2019
Location: United Kingdom
Posts: 151
Rep Power: 7 |
Hi,
Actually, I am waiting for a response from the cluster admins, they are the ones who installed. I think he used precompiled SU2 MPI v8.1.0 from the official SU2 website. |
|
November 14, 2024, 05:37 |
|
#6 |
Senior Member
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 676
Rep Power: 21 |
You can install su2 in your home directory on the cluster, either use
Code:
git clone https://github.com/su2code/SU2.git and then choose Code -> download zip And then use meson and ninja to install it: https://su2code.github.io/docs_v7/Bu...2-Linux-MacOS/ just use a local folder for the --prefix=... option, the executables will be placed there. |
|
Tags |
hpc cluster |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Error when compiling SU2 on Raspberry Pi Cluster | George5610 | SU2 Installation | 4 | June 21, 2022 09:53 |
How to run SU2 on cluster of computers (How to specify nodes ?) | aero_amit | SU2 | 29 | February 24, 2020 14:44 |
Introducing SU2 International Developers Society (IDS) | fpalacios | SU2 News & Announcements | 1 | June 17, 2019 23:38 |
How to run SU2 on HPC cluster in parallel on HPC cluster? | Samirs | Main CFD Forum | 0 | July 13, 2018 01:44 |
Trouble running SU2 in parallel on cluster | devinmgibson | Hardware | 4 | January 4, 2017 15:58 |