Hi,
I downloaded the latest version of ROMS using Git today and am trying to compile the Upwelling test case using build_roms.sh, which I adapted for the server I’m using.
The compilation runs without issues until it reaches the nf_fread4d_mod function, at which point I get the following error:
ipa: file get_idata.f90: Fortran Module nf_fread4d_mod used in this file was not found.
However, the required files—nf_fread4d.f90, nf_fread4d_mod.mod, and nf_fread4d.o—are present in my Build folder. I am using the PGI Fortran Compiler.
Currently Loaded Modulefiles:
1) libraries/netcdf/4.7.4-pgi
2) compilers/pgi/2020
I would appreciate any suggestions you might have for debugging this issue.
Thanks in advance.
Leilane
nf_fread4d_mod not found
-
- Posts: 1
- Joined: Fri Feb 28, 2025 1:49 pm
- Location: Oregons State University
Re: nf_fread4d_mod not found
If you built the first time with the -j option, try running the build script again with the -noclean and not the -j option. There is a small chance that the module wasn't quite finished building when get_idata.f90 requested it.