Dear all,
I am running a model called ROMS under fedora. When I execute the build script "build.bash" according to the wiki ROMS webpage about "Installing and Running ROMS for First Time Users", there is always a problem. The error message is listed as below:
----------------------------------------------------------------------------------------------------
cd /home/roms/Projects/upwelling/Build; /usr/bin/gfortran -c -frepack-arrays -g -fbounds-check -ffree-form -ffree-line-length-none mod_netcdf.f90
致命错误: 读出模块 netcdf,于行 1 列 1:Unexpected EOF
make: *** [/home/roms/Projects/upwelling/Build/mod_netcdf.o] 错误 1
------------------------------------------------------------------------------------------------------
The Chinese words mean that, "fatal error: read out module netcdf in line 1 row 1: Unexpected EOF
make: *** [/home/roms/Projects/upwelling/Build/mod_netcdf.o] error 1"
I have tried many ways to correct it, such as reinstalling netcdf, putting a "#" in line 1 row 1 of mod_netcdf.f90, and so on, but did not work. Sometimes the file could be others instead of mod_netcdf.o, and so I think it should be the problem of netcdf but I do not know how to solve it. I shall be crazy. Does anyone know what is the matter and how to solve the problem?
Please tell me. Thank you very much!!
I am running a model called ROMS under fedora. When I execute the build script "build.bash" according to the wiki ROMS webpage about "Installing and Running ROMS for First Time Users", there is always a problem. The error message is listed as below:
----------------------------------------------------------------------------------------------------
cd /home/roms/Projects/upwelling/Build; /usr/bin/gfortran -c -frepack-arrays -g -fbounds-check -ffree-form -ffree-line-length-none mod_netcdf.f90
致命错误: 读出模块 netcdf,于行 1 列 1:Unexpected EOF
make: *** [/home/roms/Projects/upwelling/Build/mod_netcdf.o] 错误 1
------------------------------------------------------------------------------------------------------
The Chinese words mean that, "fatal error: read out module netcdf in line 1 row 1: Unexpected EOF
make: *** [/home/roms/Projects/upwelling/Build/mod_netcdf.o] error 1"
I have tried many ways to correct it, such as reinstalling netcdf, putting a "#" in line 1 row 1 of mod_netcdf.f90, and so on, but did not work. Sometimes the file could be others instead of mod_netcdf.o, and so I think it should be the problem of netcdf but I do not know how to solve it. I shall be crazy. Does anyone know what is the matter and how to solve the problem?
Please tell me. Thank you very much!!