Skip to content

Compile error #55

Open
Open
@omakias

Description

@omakias

Hello,
trying to compile and get errors waht im doing wrong will be happy to get some help.
were useing module-enviroment on this cluster so im pre-load the needed modules:
Currently Loaded Modulefiles:

  1. openmpi/4.1.6/gcc/12.3.0 2) cmake/3.28.3 3) gcc/13.2.0 4) netcdf/4.9.2

and then i went to src folder and run:
make
mpif90 -c mod_netcdf.f90 -I/usr/include -cpp -D_MPI
mod_netcdf.f90:28:5:

28 | USE netcdf
| 1
Fatal Error: Cannot open module file ‘netcdf.mod’ for reading at (1): No such file or directory
compilation terminated.
make: *** [../arch/mpi_compiler:23: mod_netcdf.o] Error 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions