giorgio.doglioni
New member
Hello,
I am trying to compile the data assimilation routines available in WRFDA. I have successfully compiled WRFPLUS, but I get several errors when trying to compile WRFDA (./compile all_wrfvar).
In particular, I get errors of the form:
./libwrfvar.a(da_netcdf_interface.o): in function "__da_netcdf_interface_MOD_da_get_bdytimestr_cdf":
da_netcdf_interface.f.text+0x6ee): undefined reference to "ncopn_"
Obviously, the *.exe files were not generated by the compilation.
I include here the configure.wrf and compile.out files.
I am using gfortran/gcc-9.1.0 and the versions of netCDF I am using are netCDF4.7.0 and netCDF-fortran4.4.5.
I will also attach the features of the used nerCDF versions as reported from the commands nf(nc)-config --all.
The netcdf libraries are linked as follows:
export NETCDF=/apps/netCDF4.7.0--gcc-9.1.0
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/apps/netCDF-Fortran-4.4.5--gcc-9.1.0/lib
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/apps/netCDF-Fortran-4.4.5--gcc-9.1.0/include
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/apps/netCDF4.7.0--gcc-9.1.0/lib
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/apps/netCDF4.7.0--gcc-9.1.0/include
I have tried to do the same process on another computer with intel/ifort (netcdf4.6.2 and netcdf-fortran4.4.4) but obtained the same result.
What am I doing wrong?
I would appreciate any suggestion from you on how to solve this problem.
Kind regards,
Giorgio
I am trying to compile the data assimilation routines available in WRFDA. I have successfully compiled WRFPLUS, but I get several errors when trying to compile WRFDA (./compile all_wrfvar).
In particular, I get errors of the form:
./libwrfvar.a(da_netcdf_interface.o): in function "__da_netcdf_interface_MOD_da_get_bdytimestr_cdf":
da_netcdf_interface.f.text+0x6ee): undefined reference to "ncopn_"
Obviously, the *.exe files were not generated by the compilation.
I include here the configure.wrf and compile.out files.
I am using gfortran/gcc-9.1.0 and the versions of netCDF I am using are netCDF4.7.0 and netCDF-fortran4.4.5.
I will also attach the features of the used nerCDF versions as reported from the commands nf(nc)-config --all.
The netcdf libraries are linked as follows:
export NETCDF=/apps/netCDF4.7.0--gcc-9.1.0
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/apps/netCDF-Fortran-4.4.5--gcc-9.1.0/lib
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/apps/netCDF-Fortran-4.4.5--gcc-9.1.0/include
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/apps/netCDF4.7.0--gcc-9.1.0/lib
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/apps/netCDF4.7.0--gcc-9.1.0/include
I have tried to do the same process on another computer with intel/ifort (netcdf4.6.2 and netcdf-fortran4.4.4) but obtained the same result.
What am I doing wrong?
I would appreciate any suggestion from you on how to solve this problem.
Kind regards,
Giorgio