CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > SU2

SU2 in a Cluster

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes
  • 2 Post By bigfootedrockmidget
  • 1 Post By bigfootedrockmidget

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 10, 2024, 04:21
Default SU2 in a Cluster
  #1
Senior Member
 
Sakun
Join Date: Nov 2019
Location: United Kingdom
Posts: 151
Rep Power: 7
Sakun is on a distinguished road
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,
Sakun is offline   Reply With Quote

Old   November 10, 2024, 07:23
Default
  #2
Senior Member
 
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 676
Rep Power: 21
bigfootedrockmidget is on a distinguished road
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.
giovanni.medici and Sakun like this.
bigfootedrockmidget is offline   Reply With Quote

Old   November 13, 2024, 11:22
Default
  #3
Senior Member
 
Sakun
Join Date: Nov 2019
Location: United Kingdom
Posts: 151
Rep Power: 7
Sakun is on a distinguished road
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 ?
Sakun is offline   Reply With Quote

Old   November 13, 2024, 18:22
Default
  #4
Senior Member
 
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 676
Rep Power: 21
bigfootedrockmidget is on a distinguished road
Did you compile SU2 with mpi support? For openmpi, it is:

Code:
-Dwith-mpi=enabled
if you use mpich, it is:
Code:
-Dwith-mpi=enabled -Dcustom-mpi=true
I use:

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
bigfootedrockmidget is offline   Reply With Quote

Old   November 14, 2024, 05:28
Default
  #5
Senior Member
 
Sakun
Join Date: Nov 2019
Location: United Kingdom
Posts: 151
Rep Power: 7
Sakun is on a distinguished road
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.
Sakun is offline   Reply With Quote

Old   November 14, 2024, 05:37
Default
  #6
Senior Member
 
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 676
Rep Power: 21
bigfootedrockmidget is on a distinguished road
You can install su2 in your home directory on the cluster, either use
Code:
git clone https://github.com/su2code/SU2.git
or go to https://github.com/su2code/SU2

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.
Sakun likes this.
bigfootedrockmidget is offline   Reply With Quote

Reply

Tags
hpc cluster


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 12:18.