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

How to run SU2 on cluster of computers (How to specify nodes ?)

Register Blogs Community New Posts Updated Threads Search

Like Tree7Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 22, 2014, 14:16
Default
  #21
Member
 
Carlos Alexandre Tomigawa Aguni
Join Date: Mar 2014
Posts: 40
Rep Power: 12
CrashLaker is on a distinguished road
Quote:
Originally Posted by nilesh View Post
Is there a way to mark this post so that it could be easier for other users facing a similar problem?
haha I'm glad that you've managed to solve it!

I also received a lot of help when I first started SU2. There's a lot of experts here so don't forget to ask/and answer anytime hehe

About your question I don't know what could me done since I'm a newbie just like you haha. But it couldn't be helped considering that you didn't know the exact problem.

GL!
Carlos.
CrashLaker is offline   Reply With Quote

Old   March 10, 2016, 04:56
Default
  #22
Member
 
Amit
Join Date: May 2013
Posts: 85
Rep Power: 13
aero_amit is on a distinguished road
Hello Guys,

Actually you can run it on a cluster by using ---

mpirun -np 30 --hostfile hostfile SU2_CFD filename.cfg

(without using python script)

Here number of codes are 30 (can be any number).

In hostfile (In local directory), you should write nodes for example --

node201
node202
node203
.......... so on

This works for me...
aero_amit is offline   Reply With Quote

Old   May 16, 2016, 00:00
Default SU2 + GPU in parallel
  #23
New Member
 
Ernest Yeung
Join Date: May 2016
Posts: 1
Rep Power: 0
ernestyalumni is on a distinguished road
Quote:
Originally Posted by copeland View Post

GPU computing has the potential to be very powerful. The development team has discussed this, but, at the current time, we don't have anyone working on it. If members of the community are interested, we encourage folks to take on the challenge!

-Sean
Sean Copeland, I was curious, as this post was almost 3 years ago, and searching here and on Google for "SU2 GPU parallel computing", I only came across this post. What's the status for SU2 on GPU parallel computing and/or any plans? Let us know; I myself am reading up on parallel computing with combustion CFD on parallel threads on GPU in mind.
ernestyalumni is offline   Reply With Quote

Old   July 18, 2018, 07:08
Default
  #24
New Member
 
Samir Shaikh
Join Date: Jul 2018
Posts: 6
Rep Power: 8
Samirs is on a distinguished road
Quote:
Originally Posted by aero_amit View Post
Hello Guys,

Actually you can run it on a cluster by using ---

mpirun -np 30 --hostfile hostfile SU2_CFD filename.cfg

(without using python script)

Here number of codes are 30 (can be any number).

In hostfile (In local directory), you should write nodes for example --

node201
node202
node203
.......... so on

This works for me...
Are you sure that each process is not doing redundant work?

I tried it like first exporting

export SU2_MPI_COMMAND="mpirun -np %i %s"

and then running parallel_computation.py -f turb_ONERA_M6.cfg -n 10

It works well but my only concern is i'm not getting good scalability.

Please correct me if it's wrong
Samirs is offline   Reply With Quote

Old   August 4, 2018, 04:26
Default
  #25
Member
 
Amit
Join Date: May 2013
Posts: 85
Rep Power: 13
aero_amit is on a distinguished road
Scalability..... I have not benchmarked any thing but it seems to scale reasonably I feel. Can u share the details i. e. number of cells, cores used, memory etc..
aero_amit is offline   Reply With Quote

Old   August 7, 2018, 02:36
Default
  #26
New Member
 
Samir Shaikh
Join Date: Jul 2018
Posts: 6
Rep Power: 8
Samirs is on a distinguished road
Quote:
Originally Posted by aero_amit View Post
Scalability..... I have not benchmarked any thing but it seems to scale reasonably I feel. Can u share the details i. e. number of cells, cores used, memory etc..
Thanks Amit

I'm running testcase from https://github.com/su2code/su2code.g...bulent_ONERAM6

like "parallel_computation.py -f turb_ONERAM6.cfg -n 4"

I'm running it on Intel broadwell nodes with each of 128GB RAM.

Thanks again for your help
Samirs is offline   Reply With Quote

Old   September 18, 2018, 11:31
Default
  #27
Member
 
Amit
Join Date: May 2013
Posts: 85
Rep Power: 13
aero_amit is on a distinguished road
Quote:
Originally Posted by Samirs View Post
Thanks Amit

I'm running testcase from https://github.com/su2code/su2code.g...bulent_ONERAM6

like "parallel_computation.py -f turb_ONERAM6.cfg -n 4"

I'm running it on Intel broadwell nodes with each of 128GB RAM.

Thanks again for your help
Hi samirs,

Sorry for the late reply. Actually if u have a smaller mesh, it will not scale beyond few cores. I could not give a try to above problem personally but I have given experimental try to couple of cases having mesh size in few 10s of million and they scaled well upto 512 cores or so.
Samirs likes this.
aero_amit is offline   Reply With Quote

Old   September 28, 2018, 02:25
Default
  #28
New Member
 
Samir Shaikh
Join Date: Jul 2018
Posts: 6
Rep Power: 8
Samirs is on a distinguished road
Quote:
Originally Posted by aero_amit View Post
Hi samirs,

Sorry for the late reply. Actually if u have a smaller mesh, it will not scale beyond few cores. I could not give a try to above problem personally but I have given experimental try to couple of cases having mesh size in few 10s of million and they scaled well upto 512 cores or so.
Thanks Amit,

As you mentioned about mesh size, do you know any such tool to generate mesh of larger size which we can use in SU2?
Samirs is offline   Reply With Quote

Old   September 29, 2018, 13:47
Default
  #29
hlk
Senior Member
 
Heather Kline
Join Date: Jun 2013
Posts: 309
Rep Power: 14
hlk is on a distinguished road
There are a number of different mesh generation options.

Pointwise is a commercial tool that outputs directly into the SU2 format, and there are several options (including some free options) that output to CGNS format, which SU2 can read while using the mesh_format config options.



Quote:
Originally Posted by Samirs View Post
Thanks Amit,

As you mentioned about mesh size, do you know any such tool to generate mesh of larger size which we can use in SU2?
hlk is offline   Reply With Quote

Old   February 24, 2020, 14:44
Default
  #30
New Member
 
serg
Join Date: Dec 2015
Posts: 29
Rep Power: 11
kont87 is on a distinguished road
Hello, it is an old topic but I have a similar issue.

When I execute the run with mpiexec command, it works flawlessly. However, when I switch to parallel_computation.py and lets say run the solver on 4 cores, it seems each core does the same computation (4 solutions).

I have win 8.1 OS, MS-MPI, python 3.8 (and all packages) are set, the paths are linked.

To sum up, I can simulate by using:
mpiexec -n 4 SU2_CFD default.cfg (gives 1 solution, ~4x speed up)

but not by this one:
python parallel_computation.py -f default.cfg -n 4 (gives 4 identical solutions, no speed up)

Any help is appreciated.
kont87 is offline   Reply With Quote

Reply


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
Cant run in parallel on two nodes using OpenMPI CHristofer Main CFD Forum 0 October 26, 2007 10:54
Cluster run without master node Mikhail CFX 4 September 29, 2005 09:58
Minimum number of nodes to run CFX in parallel Rui CFX 3 April 11, 2005 21:46
Maximum number of nodes in cluster Marat Hoshim Main CFD Forum 7 April 9, 2001 18:11
Linux Cluster Computing Mark Rist Main CFD Forum 5 September 10, 2000 06:51


All times are GMT -4. The time now is 21:15.