CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   SU2 Installation (https://www.cfd-online.com/Forums/su2-installation/)
-   -   SU2 v8.0.0 Harrier - Each CPU prints to output (https://www.cfd-online.com/Forums/su2-installation/252773-su2-v8-0-0-harrier-each-cpu-prints-output.html)

MSTEINBUCH November 5, 2023 07:22

SU2 v8.0.0 Harrier - Each CPU prints to output
 
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?

bigfootedrockmidget November 5, 2023 12:56

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.

MSTEINBUCH November 6, 2023 03:09

Thank You
 
Thank you, I will look for the mpi support in meson

MSTEINBUCH November 13, 2023 07:50

installation
 
Quote:

Originally Posted by bigfootedrockmidget (Post 859514)
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 ?

bigfootedrockmidget November 13, 2023 10:49

Do you use openmpi or mpich?


Do you get these kind of problems:
https://www.cfd-online.com/Forums/su...ce-failed.html


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

MSTEINBUCH November 14, 2023 04:11

Su2 version 8
 
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

bigfootedrockmidget November 14, 2023 16:54

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.


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