Dear all,
I get the source code from USGS and try to couple WRF and ROMS.
WRF could be compiled successfully, but there were some problems for ROMS compilation as followings:
distribute.f90(2074): error #7013: This module file was not generated by any release of this compiler. [NETCDF]
USE netcdf
----------^
distribute.f90(2476): error #7013: This module file was not generated by any release of this compiler. [NETCDF]
USE netcdf
----------^
distribute.f90(2109): error #6404: This name does not have a type, and must have an explicit type. [NF90_NOERR]
mp_ncread1d=nf90_noerr
------------------^
Does anyone have an idea about this? Any suggestions are greatly appreciated.
Alex
ROMS-WRF compiling problem
Re: ROMS-WRF compiling problem
this looks like a netcdf issue.
It is essentially saying that the compiler you chose (ifort or pgi or gfortran?) is not the same compiler (or version of that compiler) that was used to compile the netcdf libraries.
To compile ROMS, and eventually with COAWST, you need to select a compiler, mpi, netcdf, and MCT all that are built with that compiler.
-john
It is essentially saying that the compiler you chose (ifort or pgi or gfortran?) is not the same compiler (or version of that compiler) that was used to compile the netcdf libraries.
To compile ROMS, and eventually with COAWST, you need to select a compiler, mpi, netcdf, and MCT all that are built with that compiler.
-john
Re: ROMS-WRF compiling problem
Thanks very much John.
The last problem was solved, but I got a new one as following:
mct_coupler_params.f90(2): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [MCT_WRF_COUPLER_PARAMS]
USE mct_wrf_coupler_params
----------^
I have checked my INCLUDE paths, there were no wrong directions. By the way, I can not find mct_wrf_coupler_params anywhere.
Do you have any suggestions about this.
Regards,
Alex
The last problem was solved, but I got a new one as following:
mct_coupler_params.f90(2): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [MCT_WRF_COUPLER_PARAMS]
USE mct_wrf_coupler_params
----------^
I have checked my INCLUDE paths, there were no wrong directions. By the way, I can not find mct_wrf_coupler_params anywhere.
Do you have any suggestions about this.
Regards,
Alex
Re: ROMS-WRF compiling problem
ok. i have seen this before.
the error you are seeing is at the end of the log file, but the problem is probably somewhere way near the top. WRF will keep building even after it encounters a problem. Since this has nothing to do with Rutgers, we can either move this to the coawst trac site, or you you can send me an email after doing this:
type
scrip build.log
./coawst.bash
exit
and then send the build.log to
jcwarner@usgs.gov
the error you are seeing is at the end of the log file, but the problem is probably somewhere way near the top. WRF will keep building even after it encounters a problem. Since this has nothing to do with Rutgers, we can either move this to the coawst trac site, or you you can send me an email after doing this:
type
scrip build.log
./coawst.bash
exit
and then send the build.log to
jcwarner@usgs.gov
Re: ROMS-WRF compiling problem
Hello, I also share the same problem, the attached is my build.log
- Attachments
-
build.log
- (344.63 KiB) Downloaded 291 times
Re: ROMS-WRF compiling problem
"*****************************************************************************
No environment variable NETCDF set.
Stopping
*****************************************************************************
"
Please go through the log file closely. WRF needs to have the locations of the netcdf libs. Of course, this will be a different method than roms needs. We describe all this in the user manual.
for wrf, you need to
export NETCDF=...netcdfxxx/
for roms it is
export NETCDF_INCDIR=...netcdfxxx/include
export NETCDF_LIBDIR=...netcdfxxx/lib
No environment variable NETCDF set.
Stopping
*****************************************************************************
"
Please go through the log file closely. WRF needs to have the locations of the netcdf libs. Of course, this will be a different method than roms needs. We describe all this in the user manual.
for wrf, you need to
export NETCDF=...netcdfxxx/
for roms it is
export NETCDF_INCDIR=...netcdfxxx/include
export NETCDF_LIBDIR=...netcdfxxx/lib