Open Florian-Konrad opened 1 year ago
Hey guys!
Just set up a new Ubuntu 22.04 machine from scratch:
but when trying to compile I get a strange error linked to my MPI wrapper even though it looks fine to me:
(moose) wuff@wuff:~/projects/MeshIt$ which mpicc mpicxx mpif90 /home/wuff/mambaforge/envs/moose/bin/mpicc /home/wuff/mambaforge/envs/moose/bin/mpicxx /home/wuff/mambaforge/envs/moose/bin/mpif90
the error:
g++ -c -pipe -O2 -w -D_REENTRANT -fPIC -DTRILIBRARY -DEXTERNAL_TEST -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -Iinclude -I. -I../../mambaforge/envs/moose/libmesh/include -I. -I../../mambaforge/envs/moose/libmesh/include/libmesh -I../../mambaforge/envs/moose/include/qt -I../../mambaforge/envs/moose/include/qt/QtOpenGL -I../../mambaforge/envs/moose/include/qt/QtWidgets -I../../mambaforge/envs/moose/include/qt/QtGui -I../../mambaforge/envs/moose/include/qt/QtCore -I. -I../../mambaforge/envs/moose/mkspecs/linux-g++ -o geometry.o src/geometry.cpp In file included from ../../mambaforge/envs/moose/libmesh/include/libmesh/exodusII.h:45, from include/geometry.h:48, from src/geometry.cpp:33: ../../mambaforge/envs/moose/libmesh/include/netcdf_par.h:16:10: fatal error: mpi.h: No such file or directory 16 | #include <mpi.h> | ^~~~~~~ compilation terminated. make: *** [Makefile:2236: geometry.o] Error 1
any idea how to fix this?
I somehow solved by adding include path in the meshit.pro ... not sure if this is the way to go though ...
INCLUDEPATH += . /home/wuff/mambaforge/envs/moose/include
Hey guys!
Just set up a new Ubuntu 22.04 machine from scratch:
but when trying to compile I get a strange error linked to my MPI wrapper even though it looks fine to me:
the error:
any idea how to fix this?