Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mpi.h is missing even if openmpi exists in ThirdParty-dev #107

Open
STK-haan opened this issue Jul 20, 2023 · 0 comments
Open

mpi.h is missing even if openmpi exists in ThirdParty-dev #107

STK-haan opened this issue Jul 20, 2023 · 0 comments

Comments

@STK-haan
Copy link

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

  1. ThirdParty-dev is downloaded from https://github.com/TonkomoLLC/ThirdParty-dev
  2. 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.
  3. 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
  4. I search both openmpi-4.0.2 and openmpi-2.1.1 but there are no file such that mpi.h
  5. 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.
  6. 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant