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

SU2 v8.0.0 Harrier - Each CPU prints to output

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 5, 2023, 07:22
Default SU2 v8.0.0 Harrier - Each CPU prints to output
  #1
New Member
 
Moses
Join Date: Jun 2023
Posts: 12
Rep Power: 3
MSTEINBUCH is on a distinguished road
I am running small input to check the SU2 v8.0.0 Harrier on cluster of two computers each has 8 CPU's. Each CPU prints the output to the log file. I get each line 16 times in the log file.

How to fix it so as in Version 7.5.1 only one cpu will print the output?
MSTEINBUCH is offline   Reply With Quote

Old   November 5, 2023, 12:56
Default
  #2
Senior Member
 
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 674
Rep Power: 21
bigfootedrockmidget is on a distinguished road
This happens when you do not compile with mpi support, you should check the meson command and also the output to see if mpi support is added.
bigfootedrockmidget is offline   Reply With Quote

Old   November 6, 2023, 03:09
Default Thank You
  #3
New Member
 
Moses
Join Date: Jun 2023
Posts: 12
Rep Power: 3
MSTEINBUCH is on a distinguished road
Thank you, I will look for the mpi support in meson
MSTEINBUCH is offline   Reply With Quote

Old   November 13, 2023, 07:50
Default installation
  #4
New Member
 
Moses
Join Date: Jun 2023
Posts: 12
Rep Power: 3
MSTEINBUCH is on a distinguished road
Quote:
Originally Posted by bigfootedrockmidget View Post
This happens when you do not compile with mpi support, you should check the meson command and also the output to see if mpi support is added.
Hello, what does it mean to setup PKG_CONFIG_PATH variable ?
MSTEINBUCH is offline   Reply With Quote

Old   November 13, 2023, 10:49
Default
  #5
Senior Member
 
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 674
Rep Power: 21
bigfootedrockmidget is on a distinguished road
Do you use openmpi or mpich?


Do you get these kind of problems:
SU2 parallel install build from source failed


Also check here:
https://su2code.github.io/docs_v7/Bu...n-is-not-found


if you have mpich, you need to use these meson options:
Code:
-Dcustom-mpi=true -Dextra-deps=mpich
bigfootedrockmidget is offline   Reply With Quote

Old   November 14, 2023, 04:11
Default Su2 version 8
  #6
New Member
 
Moses
Join Date: Jun 2023
Posts: 12
Rep Power: 3
MSTEINBUCH is on a distinguished road
Thank you,

Although I try to launch SU2 with /applhome/mpich/mpich-4.1.2-rocky87/bin/mpirun

the program tries to open the /usr/lib64/openmpi/lib/libmpi.so.40
MSTEINBUCH is offline   Reply With Quote

Old   November 14, 2023, 16:54
Default
  #7
Senior Member
 
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 674
Rep Power: 21
bigfootedrockmidget is on a distinguished road
if you have multiple mpi's installed, then you can set the active mpi using
Code:
update-alternatives --config mpi
update-alternatives --config mpirun
You can check the correct linking by following the symbolic links of mpirun for instance:

Code:
 which mpirun
/usr/bin/mpirun
 ls -lrt /usr/bin/mpirun
/usr/bin/mpirun -> /etc/alternatives/mpirun
ls -lrt /etc/alternatives/mpirun
/etc/alternatives/mpirun -> /usr/bin/mpirun.mpich
or you can uninstall one of the mpi's.
bigfootedrockmidget is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
SU2 NACA0012 Transitional flow simulation Convergence Issues morgJ SU2 0 July 21, 2022 08:42
Rotor67 Simulation in SU2 kuzuner SU2 6 March 11, 2021 09:23
Superlinear speedup in OpenFOAM 13 msrinath80 OpenFOAM Running, Solving & CFD 18 March 3, 2015 06:36
high CPU load with no computation going on & Pressure coefficient output problem spetsnaz26 FLUENT 0 September 30, 2011 06:25
OpenFOAM 13 Intel quadcore parallel results msrinath80 OpenFOAM Running, Solving & CFD 13 February 5, 2008 06:26


All times are GMT -4. The time now is 13:39.