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

Error cannot open module file ‘hdf5.mod’ while make on Ubuntu 24.04 #48

Open
AlanVoore opened this issue Sep 19, 2024 · 0 comments
Open

Comments

@AlanVoore
Copy link

I am trying to install QuickPIC on ubuntu 24.04 but keep on getting the following error when I try to use command make in the source directory:

user@user-Inspiron:~/Downloads/QuickPIC-OpenSource-master/source$ make
mpif90 -c -I/home/user/Downloads/json-fortran-6.3.0/lib -fopenmp -I/home/user/Downloads/hdf5-1.13.2/hdf5/include -I/home/user/Downloads/hdf5-1.13.2/hdf5/lib -lhdf5hl_fortran -lhdf5_fortran -lhdf5_hl -lhdf5  -O3 -fdefault-real-8 -fdefault-double-8  -ffree-form  hdf5io_class.f03 -o hdf5io_class.o
hdf5io_class.f03:8:11:

    8 |       use HDF5
      |           1
Fatal Error: Cannot open module file ‘hdf5.mod’ for reading at (1): No such file or directory
compilation terminated.
make: *** [makefile:166: hdf5io_class.o] Error 1

I have installed HDF5 from source. How should I resolve this error?

@AlanVoore AlanVoore changed the title Error cannot open module file ‘hdf5.mod’ while make on Ubuntu Error cannot open module file ‘hdf5.mod’ while make on Ubuntu 24.04 Sep 19, 2024
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