Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The error associated with compiling Sandy Case #318

Open
wrhsysu opened this issue Sep 13, 2024 · 3 comments
Open

The error associated with compiling Sandy Case #318

wrhsysu opened this issue Sep 13, 2024 · 3 comments

Comments

@wrhsysu
Copy link

wrhsysu commented Sep 13, 2024

The netcdf-4 lib has been used, but no matter how I try, the following error still, could you help me?

get_sparse_matrix.f90(73): error #6404: This name does not have a type, and must have an explicit type. [NF90_INQ_NCID]
status=nf90_inq_ncid(ncSPSid,grp_name,grpid)
---------------^
compilation aborted for get_sparse_matrix.f90 (code 1)
make: *** [mct_params] Error 1
cd /WORK2/zjou_cchen_1/Projects/coawst/Sandynew/COAWST//WRF; ls; ./clean -a;
./configure;
echo " "; echo " ";
echo "cleaned wrf";

@jcwarner-usgs
Copy link
Collaborator

netcdf4 is required, but it needs to be built with netcdf4 options activated.
there is a command, i think it is

nf-config --all

i get:

This netCDF-Fortran 4.4.4 has been built with the following features:

--cc -> mpiicc
--cflags -> -I/vortexfs1/apps/impistack-1.0/include -I/vortexfs1/apps/impistack-1.0/include

--fc -> mpiifort
--fflags -> -I/vortexfs1/apps/impistack-1.0/include
--flibs -> -L/vortexfs1/apps/impistack-1.0/lib -lnetcdff -L/vortexfs1/apps/impistack-1.0/lib -lnetcdf -lnetcdf
--has-f90 -> no
--has-f03 -> yes

--has-nc2 -> yes
--has-nc4 -> yes <---------------------THIS IS WHAT TO LOOK FOR -------------

--prefix -> /vortexfs1/apps/impistack-1.0
--includedir-> /vortexfs1/apps/impistack-1.0/include
--version -> netCDF-Fortran 4.4.4

@wrhsysu
Copy link
Author

wrhsysu commented Sep 14, 2024

Thank you! Now the netcdf error has been fixed. I continue to try to compile the sandy case. New errors occur:
coawst/Sandynew/COAWST/WRF/external/RSL_LITE/librsl_lite.a /WORK2/zjou_cchen_1/Projects/coawst/Sandynew/COAWST/WRF/frame/module_internal_header_util.o /WORK2/zjou_cchen_1/Projects/coawst/Sandynew/COAWST/WRF/frame/pack_utils.o /WORK2/zjou_cchen_1/Projects/coawst/Sandynew/COAWST/WRF/external/io_netcdf/libwrfio_nf.a
/WORK2/zjou_cchen_1/Projects/coawst/Sandynew/COAWST/WRF/main/libwrflib.a(module_io_quilt.o): In function module_wrf_quilt_mp_quilt_': module_io_quilt.f90:(.text+0x8cf2): undefined reference to ext_pnc_inquire_filename_'
module_io_quilt.f90:(.text+0x8d17): undefined reference to ext_pnc_ioclose_' /WORK2/zjou_cchen_1/Projects/coawst/Sandynew/COAWST/WRF/main/libwrflib.a(module_io.o): In function module_io_mp_wrf_get_dom_ti_real_arr_':
module_io.f90:(.text+0x30d): undefined reference to ext_pnc_get_dom_ti_real_' /WORK2/zjou_cchen_1/Projects/coawst/Sandynew/COAWST/WRF/main/libwrflib.a(module_io.o): In function module_io_mp_wrf_get_dom_ti_real_sca_':
module_io.f90:(.text+0x961): undefined reference to ext_pnc_get_dom_ti_real_' /WORK2/zjou_cchen_1/Projects/coawst/Sandynew/COAWST/WRF/main/libwrflib.a(module_io.o): In function module_io_mp_wrf_put_dom_ti_real_arr_':
module_io.f90:(.text+0xf08): undefined reference to ext_pnc_put_dom_ti_real_' /WORK2/zjou_cchen_1/Projects/coawst/Sandynew/COAWST/WRF/main/libwrflib.a(module_io.o): In function module_io_mp_wrf_put_dom_ti_real_sca_':
module_io.f90:(.text+0x1390): undefined reference to ext_pnc_put_dom_ti_real_' /WORK2/zjou_cchen_1/Projects/coawst/Sandynew/COAWST/WRF/main/libwrflib.a(module_io.o): In function module_io_mp_wrf_get_dom_ti_double_arr_':
module_io.f90:(.text+0x1871): undefined reference to ext_pnc_get_dom_ti_double_' /WORK2/zjou_cchen_1/Projects/coawst/Sandynew/COAWST/WRF/main/libwrflib.a(module_io.o): In function module_io_mp_wrf_get_dom_ti_double_sca_':
module_io.f90:(.text+0x1ddb): undefined reference to ext_pnc_get_dom_ti_double_' /WORK2/zjou_cchen_1/Projects/coawst/Sandynew/COAWST/WRF/main/libwrflib.a(module_io.o): In function module_io_mp_wrf_put_dom_ti_double_arr_':
module_io.f90:(.text+0x22e0): undefined reference to ext_pnc_put_dom_ti_double_' /WORK2/zjou_cchen_1/Projects/coawst/Sandynew/COAWST/WRF/main/libwrflib.a(module_io.o): In function module_io_mp_wrf_put_dom_ti_double_sca_':
module_io.f90:(.text+0x275c): undefined reference to ext_pnc_put_dom_ti_double_' /WORK2/zjou_cchen_1/Projects/coawst/Sandynew/COAWST/WRF/main/libwrflib.a(module_io.o): In function module_io_mp_wrf_get_dom_ti_integer_arr_':
module_io.f90:(.text+0x2c91): undefined reference to ext_pnc_get_dom_ti_integer_' /WORK2/zjou_cchen_1/Projects/coawst/Sandynew/COAWST/WRF/main/libwrflib.a(module_io.o): In function module_io_mp_wrf_get_dom_ti_integer_sca_':
module_io.f90:(.text+0x32e5): undefined reference to ext_pnc_get_dom_ti_integer_' /WORK2/zjou_cchen_1/Projects/coawst/Sandynew/COAWST/WRF/main/libwrflib.a(module_io.o): In function module_io_mp_wrf_put_dom_ti_integer_arr_':
module_io.f90:(.text+0x388c): undefined reference to ext_pnc_put_dom_ti_integer_' /WORK2/zjou_cchen_1/Projects/coawst/Sandynew/COAWST/WRF/main/libwrflib.a(module_io.o): In function module_io_mp_wrf_put_dom_ti_integer_sca_':
module_io.f90:(.text+0x3d14): undefined reference to ext_pnc_put_dom_ti_integer_' /WORK2/zjou_cchen_1/Projects/coawst/Sandynew/COAWST/WRF/main/libwrflib.a(module_io.o): In function module_io_mp_wrf_get_dom_ti_logical_arr_':
module_io.f90:(.text+0x4249): undefined reference to ext_pnc_get_dom_ti_logical_' /WORK2/zjou_cchen_1/Projects/coawst/Sandynew/COAWST/WRF/main/libwrflib.a(module_io.o): In function module_io_mp_wrf_get_dom_ti_logical_sca_':
module_io.f90:(.text+0x489d): undefined reference to ext_pnc_get_dom_ti_logical_' /WORK2/zjou_cchen_1/Projects/coawst/Sandynew/COAWST/WRF/main/libwrflib.a(module_io.o): In function module_io_mp_wrf_put_dom_ti_logical_arr_':
module_io.f90:(.text+0x4e44): undefined reference to ext_pnc_put_dom_ti_logical_' /WORK2/zjou_cchen_1/Projects/coawst/Sandynew/COAWST/WRF/main/libwrflib.a(module_io.o): In function module_io_mp_wrf_put_dom_ti_logical_sca_':
module_io.f90:(.text+0x52cc): undefined reference to ext_pnc_put_dom_ti_logical_' /WORK2/zjou_cchen_1/Projects/coawst/Sandynew/COAWST/WRF/main/libwrflib.a(module_io.o): In function module_io_mp_wrf_get_dom_ti_char_arr_':
module_io.f90:(.text+0x57bf): undefined reference to ext_pnc_get_dom_ti_char_' /WORK2/zjou_cchen_1/Projects/coawst/Sandynew/COAWST/WRF/main/libwrflib.a(module_io.o): In function module_io_mp_wrf_put_dom_ti_char_arr_':
module_io.f90:(.text+0x5d28): undefined reference to ext_pnc_put_dom_ti_char_' /WORK2/zjou_cchen_1/Projects/coawst/Sandynew/COAWST/WRF/main/libwrflib.a(module_io.o): In function module_io_mp_wrf_get_dom_td_real_arr_':
module_io.f90:(.text+0x6283): undefined reference to ext_pnc_get_dom_td_real_' /WORK2/zjou_cchen_1/Projects/coawst/Sandynew/COAWST/WRF/main/libwrflib.a(module_io.o): In function module_io_mp_wrf_get_dom_td_real_sca_':
module_io.f90:(.text+0x6890): undefined reference to ext_pnc_get_dom_td_real_' /WORK2/zjou_cchen_1/Projects/coawst/Sandynew/COAWST/WRF/main/libwrflib.a(module_io.o): In function module_io_mp_wrf_put_dom_td_real_arr_':
module_io.f90:(.text+0x6e3a): undefined reference to ext_pnc_put_dom_td_real_' /WORK2/zjou_cchen_1/Projects/coawst/Sandynew/COAWST/WRF/main/libwrflib.a(module_io.o): In function module_io_mp_wrf_put_dom_td_real_sca_':
module_io.f90:(.text+0x7330): undefined reference to ext_pnc_put_dom_td_real_' /WORK2/zjou_cchen_1/Projects/coawst/Sandynew/COAWST/WRF/main/libwrflib.a(module_io.o): In function module_io_mp_wrf_get_dom_td_double_arr_':
module_io.f90:(.text+0x782c): undefined reference to ext_pnc_get_dom_td_double_' /WORK2/zjou_cchen_1/Projects/coawst/Sandynew/COAWST/WRF/main/libwrflib.a(module_io.o): In function module_io_mp_wrf_get_dom_td_double_sca_':
module_io.f90:(.text+0x7d43): undefined reference to ext_pnc_get_dom_td_double_' /WORK2/zjou_cchen_1/Projects/coawst/Sandynew/COAWST/WRF/main/libwrflib.a(module_io.o): In function module_io_mp_wrf_put_dom_td_double_arr_':
module_io.f90:(.text+0x8248): undefined reference to ext_pnc_put_dom_td_double_' /WORK2/zjou_cchen_1/Projects/coawst/Sandynew/COAWST/WRF/main/libwrflib.a(module_io.o): In function module_io_mp_wrf_put_dom_td_double_sca_':
module_io.f90:(.text+0x8732): undefined reference to ext_pnc_put_dom_td_double_' /WORK2/zjou_cchen_1/Projects/coawst/Sandynew/COAWST/WRF/main/libwrflib.a(module_io.o): In function module_io_mp_wrf_get_dom_td_integer_arr_':
module_io.f90:(.text+0x8c8b): undefined reference to ext_pnc_get_dom_td_integer_' /WORK2/zjou_cchen_1/Projects/coawst/Sandynew/COAWST/WRF/main/libwrflib.a(module_io.o): In function module_io_mp_wrf_get_dom_td_integer_sca_':
module_io.f90:(.text+0x9298): undefined reference to ext_pnc_get_dom_td_integer_' /WORK2/zjou_cchen_1/Projects/coawst/Sandynew/COAWST/WRF/main/libwrflib.a(module_io.o): In function module_io_mp_wrf_put_dom_td_integer_arr_':
module_io.f90:(.text+0x9842): undefined reference to ext_pnc_put_dom_td_integer_' /WORK2/zjou_cchen_1/Projects/coawst/Sandynew/COAWST/WRF/main/libwrflib.a(module_io.o): In function module_io_mp_wrf_put_dom_td_integer_sca_':
module_io.f90:(.text+0x9d38): undefined reference to ext_pnc_put_dom_td_integer_' /WORK2/zjou_cchen_1/Projects/coawst/Sandynew/COAWST/WRF/main/libwrflib.a(module_io.o): In function module_io_mp_wrf_get_dom_td_logical_arr_':
module_io.f90:(.text+0xa291): undefined reference to ext_pnc_get_dom_td_logical_' /WORK2/zjou_cchen_1/Projects/coawst/Sandynew/COAWST/WRF/main/libwrflib.a(module_io.o): In function module_io_mp_wrf_get_dom_td_logical_sca_':
module_io.f90:(.text+0xa89e): undefined reference to ext_pnc_get_dom_td_logical_' /WORK2/zjou_cchen_1/Projects/coawst/Sandynew/COAWST/WRF/main/libwrflib.a(module_io.o): In function module_io_mp_wrf_put_dom_td_logical_arr_':
module_io.f90:(.text+0xae48): undefined reference to ext_pnc_put_dom_td_logical_' /WORK2/zjou_cchen_1/Projects/coawst/Sandynew/COAWST/WRF/main/libwrflib.a(module_io.o): In function module_io_mp_wrf_put_dom_td_logical_sca_':
module_io.f90:(.text+0xb33e): undefined reference to ext_pnc_put_dom_td_logical_' /WORK2/zjou_cchen_1/Projects/coawst/Sandynew/COAWST/WRF/main/libwrflib.a(module_io.o): In function module_io_mp_wrf_get_dom_td_char_arr_':
module_io.f90:(.text+0xb837): undefined reference to ext_pnc_get_dom_td_char_' /WORK2/zjou_cchen_1/Projects/coawst/Sandynew/COAWST/WRF/main/libwrflib.a(module_io.o): In function module_io_mp_wrf_put_dom_td_char_arr_':
module_io.f90:(.text+0xbd16): undefined reference to ext_pnc_put_dom_td_char_' /WORK2/zjou_cchen_1/Projects/coawst/Sandynew/COAWST/WRF/main/libwrflib.a(module_io.o): In function module_io_mp_wrf_get_var_ti_real_arr_':
module_io.f90:(.text+0xc224): undefined reference to ext_pnc_get_var_ti_real_' /WORK2/zjou_cchen_1/Projects/coawst/Sandynew/COAWST/WRF/main/libwrflib.a(module_io.o): In function module_io_mp_wrf_get_var_ti_real_sca_':
module_io.f90:(.text+0xc831): undefined reference to ext_pnc_get_var_ti_real_' /WORK2/zjou_cchen_1/Projects/coawst/Sandynew/COAWST/WRF/main/libwrflib.a(module_io.o): In function module_io_mp_wrf_put_var_ti_real_arr_':
module_io.f90:(.text+0xcddb): undefined reference to ext_pnc_put_var_ti_real_' /WORK2/zjou_cchen_1/Projects/coawst/Sandynew/COAWST/WRF/main/libwrflib.a(module_io.o): In function module_io_mp_wrf_put_var_ti_real_sca_':
module_io.f90:(.text+0xd2d1): undefined reference to ext_pnc_put_var_ti_real_' /WORK2/zjou_cchen_1/Projects/coawst/Sandynew/COAWST/WRF/main/libwrflib.a(module_io.o): In function module_io_mp_wrf_get_var_ti_double_arr_':
module_io.f90:(.text+0xd7cd): undefined reference to ext_pnc_get_var_ti_double_' /WORK2/zjou_cchen_1/Projects/coawst/Sandynew/COAWST/WRF/main/libwrflib.a(module_io.o): In function module_io_mp_wrf_get_var_ti_double_sca_':
module_io.f90:(.text+0xdce4): undefined reference to ext_pnc_get_var_ti_double_' /WORK2/zjou_cchen_1/Projects/coawst/Sandynew/COAWST/WRF/main/libwrflib.a(module_io.o): In function module_io_mp_wrf_put_var_ti_double_arr_':
module_io.f90:(.text+0xe1e9): undefined reference to ext_pnc_put_var_ti_double_' /WORK2/zjou_cchen_1/Projects/coawst/Sandynew/COAWST/WRF/main/libwrflib.a(module_io.o): In function module_io_mp_wrf_put_var_ti_double_sca_':
module_io.f90:(.text+0xe6d3): undefined reference to ext_pnc_put_var_ti_double_' /WORK2/zjou_cchen_1/Projects/coawst/Sandynew/COAWST/WRF/main/libwrflib.a(module_io.o): In function module_io_mp_wrf_get_var_ti_integer_arr_':
module_io.f90:(.text+0xec2c): undefined reference to ext_pnc_get_var_ti_integer_' /WORK2/zjou_cchen_1/Projects/coawst/Sandynew/COAWST/WRF/main/libwrflib.a(module_io.o): In function module_io_mp_wrf_get_var_ti_integer_sca_':
module_io.f90:(.text+0xf239): undefined reference to ext_pnc_get_var_ti_integer_' /WORK2/zjou_cchen_1/Projects/coawst/Sandynew/COAWST/WRF/main/libwrflib.a(module_io.o): In function module_io_mp_wrf_put_var_ti_integer_arr_':
module_io.f90:(.text+0xf7e3): undefined reference to ext_pnc_put_var_ti_integer_' /WORK2/zjou_cchen_1/Projects/coawst/Sandynew/COAWST/WRF/main/libwrflib.a(module_io.o): In function module_io_mp_wrf_put_var_ti_integer_sca_':
module_io.f90:(.text+0xfcd9): undefined reference to ext_pnc_put_var_ti_integer_' /WORK2/zjou_cchen_1/Projects/coawst/Sandynew/COAWST/WRF/main/libwrflib.a(module_io.o): In function module_io_mp_wrf_get_var_ti_logical_arr_':
module_io.f90:(.text+0x10232): undefined reference to ext_pnc_get_var_ti_logical_' /WORK2/zjou_cchen_1/Projects/coawst/Sandynew/COAWST/WRF/main/libwrflib.a(module_io.o): In function module_io_mp_wrf_get_var_ti_logical_sca_':
module_io.f90:(.text+0x1083f): undefined reference to ext_pnc_get_var_ti_logical_' /WORK2/zjou_cchen_1/Projects/coawst/Sandynew/COAWST/WRF/main/libwrflib.a(module_io.o): In function module_io_mp_wrf_put_var_ti_logical_arr_':
module_io.f90:(.text+0x10de9): undefined reference to ext_pnc_put_var_ti_logical_' /WORK2/zjou_cchen_1/Projects/coawst/Sandynew/COAWST/WRF/main/libwrflib.a(module_io.o): In function module_io_mp_wrf_put_var_ti_logical_sca_':
module_io.f90:(.text+0x112df): undefined reference to ext_pnc_put_var_ti_logical_' /WORK2/zjou_cchen_1/Projects/coawst/Sandynew/COAWST/WRF/main/libwrflib.a(module_io.o): In function module_io_mp_wrf_get_var_ti_char_arr_':
module_io.f90:(.text+0x117d8): undefined reference to ext_pnc_get_var_ti_char_' /WORK2/zjou_cchen_1/Projects/coawst/Sandynew/COAWST/WRF/main/libwrflib.a(module_io.o): In function module_io_mp_wrf_put_var_ti_char_arr_':
module_io.f90:(.text+0x11cb7): undefined reference to ext_pnc_put_var_ti_char_' /WORK2/zjou_cchen_1/Projects/coawst/Sandynew/COAWST/WRF/main/libwrflib.a(module_io.o): In function module_io_mp_wrf_get_var_td_real_arr_':
module_io.f90:(.text+0x121ca): undefined reference to ext_pnc_get_var_td_real_' /WORK2/zjou_cchen_1/Projects/coawst/Sandynew/COAWST/WRF/main/libwrflib.a(module_io.o): In function module_io_mp_wrf_get_var_td_real_sca_':
module_io.f90:(.text+0x127d4): undefined reference to ext_pnc_get_var_td_real_' /WORK2/zjou_cchen_1/Projects/coawst/Sandynew/COAWST/WRF/main/libwrflib.a(module_io.o): In function module_io_mp_wrf_put_var_td_real_arr_':
module_io.f90:(.text+0x12d8a): undefined reference to ext_pnc_put_var_td_real_' /WORK2/zjou_cchen_1/Projects/coawst/Sandynew/COAWST/WRF/main/libwrflib.a(module_io.o): In function module_io_mp_wrf_put_var_td_real_sca_':
module_io.f90:(.text+0x1329d): undefined reference to ext_pnc_put_var_td_real_' /WORK2/zjou_cchen_1/Projects/coawst/Sandynew/COAWST/WRF/main/libwrflib.a(module_io.o): In function module_io_mp_wrf_get_var_td_double_arr_':
module_io.f90:(.text+0x137b6): undefined reference to ext_pnc_get_var_td_double_' /WORK2/zjou_cchen_1/Projects/coawst/Sandynew/COAWST/WRF/main/libwrflib.a(module_io.o): In function module_io_mp_wrf_get_var_td_double_sca_':
module_io.f90:(.text+0x13cee): undefined reference to ext_pnc_get_var_td_double_' /WORK2/zjou_cchen_1/Projects/coawst/Sandynew/COAWST/WRF/main/libwrflib.a(module_io.o): In function module_io_mp_wrf_put_var_td_double_arr_':
module_io.f90:(.text+0x14214): undefined reference to ext_pnc_put_var_td_double_' /WORK2/zjou_cchen_1/Projects/coawst/Sandynew/COAWST/WRF/main/libwrflib.a(module_io.o): In function module_io_mp_wrf_put_var_td_double_sca_':
module_io.f90:(.text+0x1471b): undefined reference to ext_pnc_put_var_td_double_' /WORK2/zjou_cchen_1/Projects/coawst/Sandynew/COAWST/WRF/main/libwrflib.a(module_io.o): In function module_io_mp_wrf_get_var_td_integer_arr_':
module_io.f90:(.text+0x14c82): undefined reference to ext_pnc_get_var_td_integer_' /WORK2/zjou_cchen_1/Projects/coawst/Sandynew/COAWST/WRF/main/libwrflib.a(module_io.o): In function module_io_mp_wrf_get_var_td_integer_sca_':
module_io.f90:(.text+0x1528c): undefined reference to ext_pnc_get_var_td_integer_' /WORK2/zjou_cchen_1/Projects/coawst/Sandynew/COAWST/WRF/main/libwrflib.a(module_io.o): In function module_io_mp_wrf_put_var_td_integer_arr_':
module_io.f90:(.text+0x15842): undefined reference to ext_pnc_put_var_td_integer_' /WORK2/zjou_cchen_1/Projects/coawst/Sandynew/COAWST/WRF/main/libwrflib.a(module_io.o): In function module_io_mp_wrf_put_var_td_integer_sca_':
module_io.f90:(.text+0x15d55): undefined reference to ext_pnc_put_var_td_integer_' /WORK2/zjou_cchen_1/Projects/coawst/Sandynew/COAWST/WRF/main/libwrflib.a(module_io.o): In function module_io_mp_wrf_get_var_td_logical_arr_':
module_io.f90:(.text+0x162bc): undefined reference to ext_pnc_get_var_td_logical_' /WORK2/zjou_cchen_1/Projects/coawst/Sandynew/COAWST/WRF/main/libwrflib.a(module_io.o): In function module_io_mp_wrf_get_var_td_logical_sca_':
module_io.f90:(.text+0x168c6): undefined reference to ext_pnc_get_var_td_logical_' /WORK2/zjou_cchen_1/Projects/coawst/Sandynew/COAWST/WRF/main/libwrflib.a(module_io.o): In function module_io_mp_wrf_put_var_td_logical_arr_':
module_io.f90:(.text+0x16e7c): undefined reference to ext_pnc_put_var_td_logical_' /WORK2/zjou_cchen_1/Projects/coawst/Sandynew/COAWST/WRF/main/libwrflib.a(module_io.o): In function module_io_mp_wrf_put_var_td_logical_sca_':
module_io.f90:(.text+0x1738f): undefined reference to ext_pnc_put_var_td_logical_' /WORK2/zjou_cchen_1/Projects/coawst/Sandynew/COAWST/WRF/main/libwrflib.a(module_io.o): In function module_io_mp_wrf_get_var_td_char_arr_':
module_io.f90:(.text+0x178c1): undefined reference to ext_pnc_get_var_td_char_' /WORK2/zjou_cchen_1/Projects/coawst/Sandynew/COAWST/WRF/main/libwrflib.a(module_io.o): In function module_io_mp_wrf_put_var_td_char_arr_':
module_io.f90:(.text+0x17e18): undefined reference to ext_pnc_put_var_td_char_' /WORK2/zjou_cchen_1/Projects/coawst/Sandynew/COAWST/WRF/main/libwrflib.a(module_io.o): In function module_io_mp_wrf_ioinit_':
module_io.f90:(.text+0x1a09e): undefined reference to ext_pnc_ioinit_' /WORK2/zjou_cchen_1/Projects/coawst/Sandynew/COAWST/WRF/main/libwrflib.a(module_io.o): In function module_io_mp_wrf_ioexit_':
module_io.f90:(.text+0x1a283): undefined reference to ext_pnc_ioexit_' /WORK2/zjou_cchen_1/Projects/coawst/Sandynew/COAWST/WRF/main/libwrflib.a(module_io.o): In function module_io_mp_wrf_open_for_write_begin_':
module_io.f90:(.text+0x1ad44): undefined reference to ext_pnc_open_for_write_begin_' /WORK2/zjou_cchen_1/Projects/coawst/Sandynew/COAWST/WRF/main/libwrflib.a(module_io.o): In function module_io_mp_wrf_open_for_write_commit_':
module_io.f90:(.text+0x1b6d7): undefined reference to ext_pnc_open_for_write_commit_' /WORK2/zjou_cchen_1/Projects/coawst/Sandynew/COAWST/WRF/main/libwrflib.a(module_io.o): In function module_io_mp_wrf_open_for_read_begin_':
module_io.f90:(.text+0x1bba7): undefined reference to ext_pnc_open_for_read_begin_' /WORK2/zjou_cchen_1/Projects/coawst/Sandynew/COAWST/WRF/main/libwrflib.a(module_io.o): In function module_io_mp_wrf_open_for_read_commit_':
module_io.f90:(.text+0x1c0d4): undefined reference to ext_pnc_open_for_read_commit_' /WORK2/zjou_cchen_1/Projects/coawst/Sandynew/COAWST/WRF/main/libwrflib.a(module_io.o): In function module_io_mp_wrf_open_for_read_':
module_io.f90:(.text+0x1c4fc): undefined reference to ext_pnc_open_for_read_' /WORK2/zjou_cchen_1/Projects/coawst/Sandynew/COAWST/WRF/main/libwrflib.a(module_io.o): In function module_io_mp_wrf_inquire_opened_':
module_io.f90:(.text+0x1cabe): undefined reference to ext_pnc_inquire_opened_' /WORK2/zjou_cchen_1/Projects/coawst/Sandynew/COAWST/WRF/main/libwrflib.a(module_io.o): In function module_io_mp_wrf_inquire_filename_':
module_io.f90:(.text+0x1ceab): undefined reference to ext_pnc_inquire_filename_' /WORK2/zjou_cchen_1/Projects/coawst/Sandynew/COAWST/WRF/main/libwrflib.a(module_io.o): In function module_io_mp_wrf_ioclose_':
module_io.f90:(.text+0x1d471): undefined reference to ext_pnc_ioclose_' /WORK2/zjou_cchen_1/Projects/coawst/Sandynew/COAWST/WRF/main/libwrflib.a(module_io.o): In function module_io_mp_wrf_get_next_time_':
module_io.f90:(.text+0x1d79b): undefined reference to ext_pnc_get_next_time_' module_io.f90:(.text+0x1d7da): undefined reference to ext_pnc_get_next_time_'
/WORK2/zjou_cchen_1/Projects/coawst/Sandynew/COAWST/WRF/main/libwrflib.a(module_io.o): In function module_io_mp_wrf_get_previous_time_': module_io.f90:(.text+0x1dbcf): undefined reference to ext_pnc_get_previous_time_'
/WORK2/zjou_cchen_1/Projects/coawst/Sandynew/COAWST/WRF/main/libwrflib.a(module_io.o): In function module_io_mp_wrf_set_time_': module_io.f90:(.text+0x1de97): undefined reference to ext_pnc_set_time_'
/WORK2/zjou_cchen_1/Projects/coawst/Sandynew/COAWST/WRF/main/libwrflib.a(module_io.o): In function module_io_mp_wrf_get_var_info_': module_io.f90:(.text+0x1e4a1): undefined reference to ext_pnc_get_var_info_'
/WORK2/zjou_cchen_1/Projects/coawst/Sandynew/COAWST/WRF/main/libwrflib.a(module_io.o): In function wrf_read_field1_': module_io.f90:(.text+0x1fdf9): undefined reference to ext_pnc_read_field_'
/WORK2/zjou_cchen_1/Projects/coawst/Sandynew/COAWST/WRF/main/libwrflib.a(module_io.o): In function wrf_write_field1_': module_io.f90:(.text+0x217ba): undefined reference to ext_pnc_write_field_'
make: *** [coawstM] Error 1

@jcwarner-usgs
Copy link
Collaborator

i have seen this also.
you want to compile WRF without parallel netcdf. (No pnetcdf).
there is a flag or an environment variable.
try
export PNETCDF=""
you want it to be blank so wrf does not find it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants