|
[Sponsors] |
![]() |
![]() |
#1 |
New Member
sntblm
Join Date: Mar 2023
Posts: 5
Rep Power: 3 ![]() |
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 |
|
![]() |
![]() |
![]() |
![]() |
#2 |
New Member
Evert Bunschoten
Join Date: Nov 2024
Location: Netherlands
Posts: 11
Rep Power: 2 ![]() |
Can you compile any other C++ file that uses #include <mpi.h>?
|
|
![]() |
![]() |
![]() |
![]() |
#3 |
New Member
Andrew Samson
Join Date: Jul 2024
Location: Japan
Posts: 2
Rep Power: 0 ![]() |
||
![]() |
![]() |
![]() |
Tags |
mpich, parallel installation, su2 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
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 |