I am building Wrf 4.5 as part of a coupled atmosphere-ocean model, with an intel compiler with mpi parallelization. Although the correct path is specified to netcdf include files, the compilation output (attached) reports a series of errors of not finding netcdf fortran routines like the following
'wrf_io.f
.text+0x349b): undefined reference to `nf_open_'
I cannot identify what specific step in the build is failing to find those routines. Netcdf environment variables are set, the netcdf install has been built with fortran, and with hdf5 compatibility
The compilation ignores the errors and reaches completion, generating real.exe, but failing to produce wrf.exe. Subsequent attempts to run real.exe result in the following output. This is regardless of what is specified in namelist.input. It can be a file with nothing but a '/' character in it, and real.exe fails in the exact same way.
$ ./real.exe
starting wrf task 0 of 1
module_io_quilt_old.F 2950 T
MPASPECT: UNABLE TO GENERATE PROCESSOR MESH. STOPPING.
MPASPECT: UNABLE TO GENERATE PROCESSOR MESH. STOPPING.
PROCMIN_M 1
PROCMIN_M 1
PROCMIN_N 1
PROCMIN_N 1
P 0
P 0
MINM 1
MINM 1
MINN 0
MINN 0
-------------- FATAL CALLED ---------------
-------------- FATAL CALLED ---------------
FATAL CALLED FROM FILE: <stdin> LINE: 410
FATAL CALLED FROM FILE: <stdin> LINE: 410
module_dm: mpaspect
module_dm: mpaspect
-------------------------------------------
-------------------------------------------
The netcdf specification works for the ocean model which also relies on netcdf fortran libraries to build successfully.
My questions are:
1. can anyone tell me from the config/compile output what specific action is failing. I think errors like this usually just seem to mean a -I path or -Lpath is missing somewhere, but I'm stumped here.
2. Is the failure to seemingly correctly build libwrfio_nf.a impacting the real.exe executable as well as wrf.exe, despite real.exe being built 'successfully?
Any thoughts or suggestions would be greatly appreciated.
Thanks!
'wrf_io.f
I cannot identify what specific step in the build is failing to find those routines. Netcdf environment variables are set, the netcdf install has been built with fortran, and with hdf5 compatibility
The compilation ignores the errors and reaches completion, generating real.exe, but failing to produce wrf.exe. Subsequent attempts to run real.exe result in the following output. This is regardless of what is specified in namelist.input. It can be a file with nothing but a '/' character in it, and real.exe fails in the exact same way.
$ ./real.exe
starting wrf task 0 of 1
module_io_quilt_old.F 2950 T
MPASPECT: UNABLE TO GENERATE PROCESSOR MESH. STOPPING.
MPASPECT: UNABLE TO GENERATE PROCESSOR MESH. STOPPING.
PROCMIN_M 1
PROCMIN_M 1
PROCMIN_N 1
PROCMIN_N 1
P 0
P 0
MINM 1
MINM 1
MINN 0
MINN 0
-------------- FATAL CALLED ---------------
-------------- FATAL CALLED ---------------
FATAL CALLED FROM FILE: <stdin> LINE: 410
FATAL CALLED FROM FILE: <stdin> LINE: 410
module_dm: mpaspect
module_dm: mpaspect
-------------------------------------------
-------------------------------------------
The netcdf specification works for the ocean model which also relies on netcdf fortran libraries to build successfully.
My questions are:
1. can anyone tell me from the config/compile output what specific action is failing. I think errors like this usually just seem to mean a -I path or -Lpath is missing somewhere, but I'm stumped here.
2. Is the failure to seemingly correctly build libwrfio_nf.a impacting the real.exe executable as well as wrf.exe, despite real.exe being built 'successfully?
Any thoughts or suggestions would be greatly appreciated.
Thanks!