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

SU2-Parallel Installation Problems

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 8, 2024, 05:45
Default SU2-Parallel Installation Problems
  #1
New Member
 
sntblm
Join Date: Mar 2023
Posts: 5
Rep Power: 3
sntblm is on a distinguished road
Hello,

I'm trying to install SU2-8.0.1 the latest version from source with parallel support. I successfully passed the "./meson.py build" part and added "-Dcustom-mpi=true -Dextra-deps=mpich" part at the end of "./meson.py build" . I also added to my bashrc this line "export PKG_CONFIG_PATH=/home/ub/Desktop/mpich/lib/pkgconfig:$PKG_CONFIG_PATH" to make sure everything is in order. When I try to run this command "./ninja -C build install" I get the error below:

ninja: Entering directory `build'
[1/811] Compiling C object externals/cgns/hdf5/libsu2hdf5.a.p/H5dbg.c.o
FAILED: externals/cgns/hdf5/libsu2hdf5.a.p/H5dbg.c.o
cc -Iexternals/cgns/hdf5/libsu2hdf5.a.p -Iexternals/cgns/hdf5 -I../externals/cgns/hdf5 -fdiagnostics-color=always -std=c99 -O3 -fPIC -Wno-unused-result -Wno-unused-parameter -Wno-unused-variable -Wno-unused-but-set-variable -Wno-sign-compare -Wno-stringop-overflow -Wno-error=discarded-qualifiers -Wno-error=maybe-uninitialized -Wno-error=unused-function -Wno-error=unused-label -Wno-pedantic -Wno-error=stringop-truncation -Wno-error=cast-function-type -Wno-stringop-truncation -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200809L -D_GNU_SOURCE -MD -MQ externals/cgns/hdf5/libsu2hdf5.a.p/H5dbg.c.o -MF externals/cgns/hdf5/libsu2hdf5.a.p/H5dbg.c.o.d -o externals/cgns/hdf5/libsu2hdf5.a.p/H5dbg.c.o -c ../externals/cgns/hdf5/H5dbg.c
In file included from ../externals/cgns/hdf5/H5private.h:27,
from ../externals/cgns/hdf5/H5dbg.c:33:
../externals/cgns/hdf5/H5public.h:63:10: fatal error: mpi.h: No such file or directory
63 | #include <mpi.h>
| ^~~~~~~
compilation terminated.

It basically says no file named mpi.h but when I go to my mpich version which is the latest version 4.2.1, I see mpi.h in the include folder.

Could you help me with this issue?

Regars.

sntblm
sntblm is offline   Reply With Quote

Old   November 27, 2024, 12:27
Default
  #2
New Member
 
Evert Bunschoten
Join Date: Nov 2024
Location: Netherlands
Posts: 11
Rep Power: 2
EvertBunschoten is on a distinguished road
Can you compile any other C++ file that uses #include <mpi.h>?
EvertBunschoten is offline   Reply With Quote

Old   December 9, 2024, 01:37
Default
  #3
New Member
 
Andrew Samson
Join Date: Jul 2024
Location: Japan
Posts: 2
Rep Power: 0
ais_sk is on a distinguished road
This one might be helpful. Have a look.

https://youtu.be/SOh63xwwLOo?si=jsNNZSqdFk2zak-Y
ais_sk is offline   Reply With Quote

Reply

Tags
mpich, parallel installation, su2

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
Problems with running in parallel Miguel_M_Valero Main CFD Forum 9 January 16, 2025 01:32
Parallel computation problems with SU2 3.2 akun646 SU2 2 July 19, 2014 13:04
Installation issues for parallel computation Akash C SU2 Installation 1 June 21, 2013 06:26
Cyclic patches and parallel postprocessing problems askjak OpenFOAM Bugs 18 October 27, 2010 04:35
Installation problems indy OpenFOAM Installation 7 April 3, 2009 10:40


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