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

ninja build gives hdf5 error #2058

Closed
3 tasks done
albenstein opened this issue Jun 23, 2023 · 6 comments
Closed
3 tasks done

ninja build gives hdf5 error #2058

albenstein opened this issue Jun 23, 2023 · 6 comments
Labels

Comments

@albenstein
Copy link

albenstein commented Jun 23, 2023

Describe the bug
I tried to install SU2 from source on HPC system, but on ninja install step it gives error about hdf5 like on attached file.
(base) [root@headnode SU2_v7.5.1]# ./meson.py build -Denable-autodiff=true -Denable-directdiff=true -Dwith-mpi=enabled -Dwith-omp=true --prefix=/shared/apps/SU2/7.5.1/
(base) [root@headnode SU2_v7.5.1]# ./ninja -C build install

Bug report checklist
Please make sure that you have followed the checklist below, many common problems can be solved by:

Desktop (please complete the following information):

  • OS: [e.g., Linux (Redhat 7.9)]
  • C++ compiler and version: [e.g., g++ (GCC) 8.5.0]
  • MPI implementation and version: [e.g., OpenMPI 4.0.3]
  • SU2 Version: [e.g., v7.5.1]

ninja.txt

@albenstein albenstein added the bug label Jun 23, 2023
@pcarruscag
Copy link
Member

Try going to externals/cgns/hdf5/meson.build and in line 19 replace 'cpp' with 'c'

@albenstein
Copy link
Author

@pcarruscag I changed the line and called mensa.py --reconfigure and then called ninja. It gives error again on ninja.txt
ninja.txt

@albenstein
Copy link
Author

I forgot to call miniconda eval bash.hook. I re called ninja and got this error:
ninja.txt

@pcarruscag
Copy link
Member

ok please try the same change in externals/cgns/meson.build

@albenstein
Copy link
Author

@pcarruscag It fixed installation issue.
Thank you.

@pcarruscag
Copy link
Member

Thanks for testing, we'll put the fix in the new version

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

No branches or pull requests

2 participants