Fatal Error: Cannot read module file ‘netcdf.mod’ opened

All things involving the setup (compiling, NetCDF, etc.) of the WRF Model itself.

Fatal Error: Cannot read module file ‘netcdf.mod’ opened

Postby neluwala » Thu Oct 03, 2019 9:04 am

I get below error even I compiled netcdf again



module_physics_init.f90:4481:6:

use netcdf
1
Fatal Error: Cannot read module file ‘netcdf.mod’ opened at (1), because it was created by a different version of GNU Fortran
compilation terminated.
Command exited with non-zero status 1
0.52user 0.04system 0:00.77elapsed 73%CPU (0avgtext+0avgdata 56840maxresident)k
0inputs+16outputs (0major+16841minor)pagefaults 0swaps
../configure.wrf:532: recipe for target 'module_physics_init.o' failed
make[3]: [module_physics_init.o] Error 1 (ignored)
make[3]: Leaving directory '/home2/pandukan/tharindu/WRF/phys'
ar: `u' modifier ignored since `D' is the default (see `U')
ar: module_physics_init.o: No such file or directory
Makefile:218: recipe for target 'physics' failed
make[2]: [physics] Error 1 (ignored)
neluwala
 
Posts: 3
Joined: Sat Jul 04, 2015 10:31 am

Re: Fatal Error: Cannot read module file ‘netcdf.mod’ opened

Postby neluwala » Tue Oct 08, 2019 12:06 am

This was solved.
Not sure which thing fixed,
I copied the wrf from git and recompliled
removed netcdf and installed again
neluwala
 
Posts: 3
Joined: Sat Jul 04, 2015 10:31 am


Return to Installation

Who is online

Users browsing this forum: No registered users and 5 guests