-
Notifications
You must be signed in to change notification settings - Fork 104
Open
Description
Configuration :
- Windows 10
- WSL2
- Ubuntu 22.04
- CUDA 11.1
- RTX3600 (sm_86)
- gcc 9.5
The following is what I did to solve the missing mpi.h error
- ThirdParty-dev is downloaded from https://github.com/TonkomoLLC/ThirdParty-dev
- I found that wmake try to access '$HOME/RapidCFD/ThirdParty-dev/openmpi-4.0.2' due to line 403 in '$HOME/RapidCFD/RapidCFD-dev/etc/config/settings.sh
export FOAM_MPI=openmpi-4.0.2
But there is only openmpi-2.1.1 so it fails to achieve what intended. - I downloaded source of openmpi-4.0.2 from https://www.open-mpi.org/software/ompi/v4.1/ But still, Allwmake shows error for mpi.h is missing
- I search both openmpi-4.0.2 and openmpi-2.1.1 but there are no file such that mpi.h
- I googled mpi.h and found following link https://stackoverflow.com/questions/26920083/fatal-error-mpi-h-no-such-file-or-directory-include-mpi-h which suggest I needed to use the MPI compiler wrappers.
- For now I try to set MPI compiler wrappers during RapidCFD compile, my best guess is modifying RapidCFD-dev/wmake/rules but I have no idea after that point.
I want to know how to remove mpi.h error using ThirdParty-dev
Metadata
Metadata
Assignees
Labels
No labels