Skip to content

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

@AlanVoore

Description

@AlanVoore

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions