SMOKE compilation

Dear all,

While compiling SMOKE, I encountered the following error. Any help is much appreciated.

cd /home/a13/NAS/a13/SMOKE/src/…/Linux2_x86_64gfort; gfortran -I/home/a13/NAS/a13/SMOKE/ioapi/ioapi/fixed_src -I/home/a13/NAS/a13/SMOKE/src/inc -I/home/a13/NAS/a13/SMOKE/ioapi/Linux2_x86_64gfort -ffixed-line-length-132 -fno-backslash -O3 -ffast-math -funroll-loops -m64 -DAUTO_ARRAYS=1 -DF90=1 -DFLDMN=1 -DFSTR_L=int -DIOAPI_NO_STDOUT=1 -DNEED_ARGS=1 -o normbeis3 /home/a13/NAS/a13/SMOKE/src/…/Linux2_x86_64gfort/normbeis3.o /home/a13/NAS/a13/SMOKE/src/…/Linux2_x86_64gfort/rdb3fac.o /home/a13/NAS/a13/SMOKE/src/…/Linux2_x86_64gfort/rdb4fac.o /home/a13/NAS/a13/SMOKE/src/…/Linux2_x86_64gfort/rdb4fac_csv.o /home/a13/NAS/a13/SMOKE/src/…/Linux2_x86_64gfort/normbeis314.o /home/a13/NAS/a13/SMOKE/src/…/Linux2_x86_64gfort/normbeis361.o /home/a13/NAS/a13/SMOKE/src/…/Linux2_x86_64gfort/libemmod.a /home/a13/NAS/a13/SMOKE/src/…/Linux2_x86_64gfort/libsmoke.a /home/a13/NAS/a13/SMOKE/src/…/Linux2_x86_64gfort/libfileset.a -L/home/a13/NAS/a13/SMOKE/src/…/Linux2_x86_64gfort -lfileset -lsmoke -lemmod -lfileset -lsmoke -L/home/a13/NAS/a13/SMOKE/ioapi/Linux2_x86_64gfort -lioapi -lcurl -ldl -lz -L/home/a13/NAS/a13/smknetcdf/lib/libnetcdf.a -L/nas/wormulon/kdo/cmaq52/Build_CMAQ/LIBRARIES/netcdf/lib/libnetcdff.a -fopenmp -dynamic -L/usr/lib64 -lm -lpthread -lc
/home/a13/NAS/a13/SMOKE/src/…/Linux2_x86_64gfort/libioapi.a(modatts3.o): In function __modatts3_MOD_setcf1': modatts3.F90:(.text+0x55c1): undefined reference to nf_redef_’
modatts3.F90:(.text+0x57f7): undefined reference to nf_put_att_text_' modatts3.F90:(.text+0x58df): undefined reference to nf_def_var_’
modatts3.F90:(.text+0x59c5): undefined reference to nf_enddef_' modatts3.F90:(.text+0x5bd8): undefined reference to nf_put_att_text_’
modatts3.F90:(.text+0x5c65): undefined reference to nf_put_att_double_' modatts3.F90:(.text+0x5d17): undefined reference to nf_inq_dimid_’
modatts3.F90:(.text+0x5e76): undefined reference to nf_put_att_text_' modatts3.F90:(.text+0x5fd3): undefined reference to nf_put_att_text_’
modatts3.F90:(.text+0x6073): undefined reference to nf_put_att_double_' modatts3.F90:(.text+0x6191): undefined reference to nf_def_var_’
modatts3.F90:(.text+0x62b7): undefined reference to nf_inq_dimid_' modatts3.F90:(.text+0x6419): undefined reference to nf_put_att_text_’
modatts3.F90:(.text+0x6503): undefined reference to nf_put_att_text_' modatts3.F90:(.text+0x6611): undefined reference to nf_put_att_text_’
modatts3.F90:(.text+0x6723): undefined reference to nf_put_att_text_' modatts3.F90:(.text+0x6906): undefined reference to nf_put_att_text_’
modatts3.F90:(.text+0x69a4): undefined reference to nf_put_att_double_' modatts3.F90:(.text+0x6a2b): undefined reference to nf_put_att_double_’
modatts3.F90:(.text+0x6aae): undefined reference to nf_put_att_double_' modatts3.F90:(.text+0x6afd): undefined reference to nf_put_att_double_’
modatts3.F90:(.text+0x6b4e): undefined reference to nf_put_att_double_' /home/a13/NAS/a13/SMOKE/src/../Linux2_x86_64gfort/libioapi.a(modatts3.o):modatts3.F90:(.text+0x6b9a): more undefined references to nf_put_att_double_’ follow
/home/a13/NAS/a13/SMOKE/src/…/Linux2_x86_64gfort/libioapi.a(modatts3.o): In function __modatts3_MOD_setcf1': modatts3.F90:(.text+0x6be1): undefined reference to nf_inq_dimid_’
modatts3.F90:(.text+0x6d24): undefined reference to nf_put_att_text_' modatts3.F90:(.text+0x6dab): undefined reference to nf_put_att_double_’
modatts3.F90:(.text+0x6e2c): undefined reference to nf_put_att_double_' modatts3.F90:(.text+0x6eec): undefined reference to nf_put_att_double_’
modatts3.F90:(.text+0x6fd6): undefined reference to nf_put_att_double_' modatts3.F90:(.text+0x70a5): undefined reference to nf_def_var_’
modatts3.F90:(.text+0x7197): undefined reference to nf_put_att_text_' modatts3.F90:(.text+0x71fa): undefined reference to nf_put_att_text_’
modatts3.F90:(.text+0x7356): undefined reference to nf_put_att_double_' modatts3.F90:(.text+0x74a8): undefined reference to nf_put_att_double_’
modatts3.F90:(.text+0x7899): undefined reference to nf_put_vara_double_' modatts3.F90:(.text+0x7c29): undefined reference to nf_put_vara_double_’
modatts3.F90:(.text+0x7e47): undefined reference to nf_put_vara_double_' modatts3.F90:(.text+0x7f39): undefined reference to nf_put_att_text_’
modatts3.F90:(.text+0x8051): undefined reference to nf_put_att_double_' modatts3.F90:(.text+0x80e7): undefined reference to nf_put_att_double_’
modatts3.F90:(.text+0x8139): undefined reference to nf_put_att_double_' modatts3.F90:(.text+0x81e1): undefined reference to nf_put_att_text_’
modatts3.F90:(.text+0x824c): undefined reference to nf_put_att_text_' modatts3.F90:(.text+0x82bc): undefined reference to nf_put_att_text_’
modatts3.F90:(.text+0x831e): undefined reference to nf_put_att_text_' modatts3.F90:(.text+0x837a): undefined reference to nf_def_var_’
modatts3.F90:(.text+0x8445): undefined reference to nf_put_att_double_' modatts3.F90:(.text+0x84d4): undefined reference to nf_put_att_double_’
modatts3.F90:(.text+0x852a): undefined reference to nf_put_att_double_' modatts3.F90:(.text+0x859a): undefined reference to nf_put_att_text_’
modatts3.F90:(.text+0x8604): undefined reference to nf_put_att_text_' modatts3.F90:(.text+0x8671): undefined reference to nf_put_att_text_’
modatts3.F90:(.text+0x86da): undefined reference to nf_put_att_text_' modatts3.F90:(.text+0x8787): undefined reference to nf_put_att_double_’
modatts3.F90:(.text+0x87de): undefined reference to nf_put_att_double_' modatts3.F90:(.text+0x88af): undefined reference to nf_put_att_text_’
/home/a13/NAS/a13/SMOKE/src/…/Linux2_x86_64gfort/libioapi.a(modatts3.o): In function __modatts3_MOD_setmtext': modatts3.F90:(.text+0x8e61): undefined reference to nf_redef_’
modatts3.F90:(.text+0x9035): undefined reference to nf_put_att_text_' modatts3.F90:(.text+0x9256): undefined reference to nf_enddef_’
/home/a13/NAS/a13/SMOKE/src/…/Linux2_x86_64gfort/libioapi.a(modatts3.o): In function __modatts3_MOD_setcmaq2': modatts3.F90:(.text+0xb45c): undefined reference to nf_redef_’
modatts3.F90:(.text+0xb58b): undefined reference to nf_put_att_int_' modatts3.F90:(.text+0xb5eb): undefined reference to nf_put_att_text_’
modatts3.F90:(.text+0xb641): undefined reference to nf_put_att_text_' modatts3.F90:(.text+0xb696): undefined reference to nf_put_att_text_’
modatts3.F90:(.text+0xb6ea): undefined reference to nf_put_att_text_' modatts3.F90:(.text+0xb73f): undefined reference to nf_put_att_text_’
/home/a13/NAS/a13/SMOKE/src/…/Linux2_x86_64gfort/libioapi.a(modatts3.o):modatts3.F90:(.text+0xb795): more undefined references to nf_put_att_text_' follow /home/a13/NAS/a13/SMOKE/src/../Linux2_x86_64gfort/libioapi.a(modatts3.o): In function modatts3_MOD_setcmaq2’:
modatts3.F90:(.text+0xba39): undefined reference to nf_put_att_real_' modatts3.F90:(.text+0xba7c): undefined reference to nf_put_att_int

modatts3.F90:(.text+0xbabf): undefined reference to nf_put_att_int_' modatts3.F90:(.text+0xbb00): undefined reference to nf_put_att_int

modatts3.F90:(.text+0xbb41): undefined reference to nf_put_att_int_' modatts3.F90:(.text+0xbb84): undefined reference to nf_put_att_int_’
/home/a13/NAS/a13/SMOKE/src/…/Linux2_x86_64gfort/libioapi.a(modatts3.o):modatts3.F90:(.text+0xbbc7): more undefined references to nf_put_att_int_' follow /home/a13/NAS/a13/SMOKE/src/../Linux2_x86_64gfort/libioapi.a(modatts3.o): In function modatts3_MOD_setcmaq2’:
modatts3.F90:(.text+0xbc9f): undefined reference to nf_put_att_text_' modatts3.F90:(.text+0xbcf5): undefined reference to nf_put_att_text

modatts3.F90:(.text+0xbd4b): undefined reference to nf_put_att_text_' modatts3.F90:(.text+0xbd9f): undefined reference to nf_put_att_text

modatts3.F90:(.text+0xbdf3): undefined reference to nf_put_att_text_' /home/a13/NAS/a13/SMOKE/src/../Linux2_x86_64gfort/libioapi.a(modatts3.o):modatts3.F90:(.text+0xbe4c): more undefined references to nf_put_att_text_’ follow
/home/a13/NAS/a13/SMOKE/src/…/Linux2_x86_64gfort/libioapi.a(modatts3.o): In function __modatts3_MOD_setcmaq2': modatts3.F90:(.text+0xc77e): undefined reference to nf_put_att_int_’
modatts3.F90:(.text+0xc7c1): undefined reference to nf_put_att_int_' modatts3.F90:(.text+0xc804): undefined reference to nf_put_att_int_’
modatts3.F90:(.text+0xc847): undefined reference to nf_put_att_int_' modatts3.F90:(.text+0xc888): undefined reference to nf_put_att_int_’
/home/a13/NAS/a13/SMOKE/src/…/Linux2_x86_64gfort/libioapi.a(modatts3.o):modatts3.F90:(.text+0xc8c9): more undefined references to nf_put_att_int_' follow /home/a13/NAS/a13/SMOKE/src/../Linux2_x86_64gfort/libioapi.a(modatts3.o): In function modatts3_MOD_setcmaq2’:
modatts3.F90:(.text+0x12206): undefined reference to nf_enddef_' /home/a13/NAS/a13/SMOKE/src/../Linux2_x86_64gfort/libioapi.a(modatts3.o): In function modatts3_MOD_getcmaqt’:
modatts3.F90:(.text+0x131c0): undefined reference to nf_get_att_int_' modatts3.F90:(.text+0x13208): undefined reference to nf_get_att_text

modatts3.F90:(.text+0x13238): undefined reference to nf_get_att_text_' modatts3.F90:(.text+0x13268): undefined reference to nf_get_att_text

modatts3.F90:(.text+0x13298): undefined reference to nf_get_att_text_' modatts3.F90:(.text+0x132cb): undefined reference to nf_get_att_text

/home/a13/NAS/a13/SMOKE/src/…/Linux2_x86_64gfort/libioapi.a(modatts3.o):modatts3.F90:(.text+0x132fe): more undefined references to nf_get_att_text_' follow /home/a13/NAS/a13/SMOKE/src/../Linux2_x86_64gfort/libioapi.a(modatts3.o): In function modatts3_MOD_getcmaqt’:
modatts3.F90:(.text+0x1348c): undefined reference to nf_get_att_real_' modatts3.F90:(.text+0x134b9): undefined reference to nf_get_att_int

modatts3.F90:(.text+0x134e6): undefined reference to nf_get_att_int_' modatts3.F90:(.text+0x13513): undefined reference to nf_get_att_int

modatts3.F90:(.text+0x13543): undefined reference to nf_get_att_int_' modatts3.F90:(.text+0x1356c): undefined reference to nf_get_att_int

/home/a13/NAS/a13/SMOKE/src/…/Linux2_x86_64gfort/libioapi.a(modatts3.o):modatts3.F90:(.text+0x13599): more undefined references to nf_get_att_int_' follow /home/a13/NAS/a13/SMOKE/src/../Linux2_x86_64gfort/libioapi.a(modatts3.o): In function modatts3_MOD_getcmaqt’:
modatts3.F90:(.text+0x13626): undefined reference to nf_get_att_text_' modatts3.F90:(.text+0x13659): undefined reference to nf_get_att_text

modatts3.F90:(.text+0x1368c): undefined reference to nf_get_att_text_' modatts3.F90:(.text+0x136bf): undefined reference to nf_get_att_text

modatts3.F90:(.text+0x136f2): undefined reference to nf_get_att_text_' /home/a13/NAS/a13/SMOKE/src/../Linux2_x86_64gfort/libioapi.a(modatts3.o):modatts3.F90:(.text+0x13725): more undefined references to nf_get_att_text_’ follow
/home/a13/NAS/a13/SMOKE/src/…/Linux2_x86_64gfort/libioapi.a(modatts3.o): In function __modatts3_MOD_getcmaqt': modatts3.F90:(.text+0x13c80): undefined reference to nf_get_att_int_’
modatts3.F90:(.text+0x13cad): undefined reference to nf_get_att_int_' modatts3.F90:(.text+0x13cda): undefined reference to nf_get_att_int_’
modatts3.F90:(.text+0x13d07): undefined reference to nf_get_att_int_' modatts3.F90:(.text+0x13d34): undefined reference to nf_get_att_int_’
/home/a13/NAS/a13/SMOKE/src/…/Linux2_x86_64gfort/libioapi.a(modatts3.o):modatts3.F90:(.text+0x13d61): more undefined references to nf_get_att_int_' follow /home/a13/NAS/a13/SMOKE/src/../Linux2_x86_64gfort/libioapi.a(modatts3.o): In function modatts3_MOD_iscmaq’:
modatts3.F90:(.text+0x18637): undefined reference to nf_inq_attid_' /home/a13/NAS/a13/SMOKE/src/../Linux2_x86_64gfort/libioapi.a(desc3.o): In function desc3
’:
desc3.F90:(.text+0x34b): undefined reference to nf_get_att_text_' desc3.F90:(.text+0x37d): undefined reference to nf_get_att_int

desc3.F90:(.text+0x3b7): undefined reference to nf_get_att_int_' desc3.F90:(.text+0x3e9): undefined reference to nf_get_att_int_’
desc3.F90:(.text+0x41b): undefined reference to nf_get_att_int_' desc3.F90:(.text+0x453): undefined reference to nf_get_att_text_’
desc3.F90:(.text+0x48b): undefined reference to nf_get_att_text_' desc3.F90:(.text+0x4c3): undefined reference to nf_get_att_text_’
desc3.F90:(.text+0x5a0): undefined reference to nf_get_att_text_' desc3.F90:(.text+0x10b5): undefined reference to nf_inq_varnatts_’
desc3.F90:(.text+0x113f): undefined reference to nf_inq_attname_' desc3.F90:(.text+0x1184): undefined reference to nf_get_att_real_’
/home/a13/NAS/a13/SMOKE/src/…/Linux2_x86_64gfort/libioapi.a(init3.o): In function init3_': init3.F90:(.text+0x77): undefined reference to nf_inq_libvers_’
/home/a13/NAS/a13/SMOKE/src/…/Linux2_x86_64gfort/libioapi.a(open3.o): In function open3_': open3.F90:(.text+0x1b64): undefined reference to nf_close_’
/home/a13/NAS/a13/SMOKE/src/…/Linux2_x86_64gfort/libioapi.a(opnfil3.o): In function opnfil3_': opnfil3.F90:(.text+0xef): undefined reference to nf_open_’
opnfil3.F90:(.text+0x17f): undefined reference to nf_close_' opnfil3.F90:(.text+0x206): undefined reference to nf_get_att_int_’
opnfil3.F90:(.text+0x392): undefined reference to nf_get_att_int_' opnfil3.F90:(.text+0x3f3): undefined reference to nf_get_att_int_’
opnfil3.F90:(.text+0x425): undefined reference to nf_get_att_int_' opnfil3.F90:(.text+0x5e0): undefined reference to nf_inq_varid_’
opnfil3.F90:(.text+0x628): undefined reference to nf_sync_' opnfil3.F90:(.text+0x702): undefined reference to nf_get_att_int_’
opnfil3.F90:(.text+0x7ad): undefined reference to nf_get_att_int_' opnfil3.F90:(.text+0x85e): undefined reference to nf_get_att_text_’
opnfil3.F90:(.text+0x916): undefined reference to nf_inq_var_' opnfil3.F90:(.text+0x94d): undefined reference to nf_get_att_text_’
opnfil3.F90:(.text+0x985): undefined reference to nf_inq_varid_' opnfil3.F90:(.text+0xabc): undefined reference to nf_get_att_int_’
opnfil3.F90:(.text+0xd5c): undefined reference to nf_get_att_int_' opnfil3.F90:(.text+0xda4): undefined reference to nf_redef_’
opnfil3.F90:(.text+0xe12): undefined reference to nf_get_att_int_' opnfil3.F90:(.text+0xe44): undefined reference to nf_get_att_int_’
opnfil3.F90:(.text+0xe9a): undefined reference to nf_close_' opnfil3.F90:(.text+0xf5b): undefined reference to nf_put_att_text_’
opnfil3.F90:(.text+0x100f): undefined reference to nf_put_att_text_' opnfil3.F90:(.text+0x1084): undefined reference to nf_get_att_double_’
opnfil3.F90:(.text+0x10cc): undefined reference to nf_enddef_' opnfil3.F90:(.text+0x113a): undefined reference to nf_get_att_double_’
opnfil3.F90:(.text+0x119a): undefined reference to nf_get_att_double_' opnfil3.F90:(.text+0x1206): undefined reference to nf_get_att_double_’
opnfil3.F90:(.text+0x1266): undefined reference to nf_get_att_double_' opnfil3.F90:(.text+0x12c6): undefined reference to nf_get_att_double_’
/home/a13/NAS/a13/SMOKE/src/…/Linux2_x86_64gfort/libioapi.a(opnfil3.o):opnfil3.F90:(.text+0x1326): more undefined references to nf_get_att_double_' follow /home/a13/NAS/a13/SMOKE/src/../Linux2_x86_64gfort/libioapi.a(opnfil3.o): In function opnfil3_’:
x2_x86_64gfort/libioapi.a(modncfio.o): In function __modncfio_MOD_writenvstep0db': modncfio.F90:(.text+0x2644b): undefined reference to nf_open_’
modncfio.F90:(.text+0x2655c): undefined reference to nf_strerror_' modncfio.F90:(.text+0x265fe): undefined reference to nf_inq_unlimdim_’
modncfio.F90:(.text+0x26729): undefined reference to nf_strerror_' modncfio.F90:(.text+0x267b8): undefined reference to nf_close_’
modncfio.F90:(.text+0x268ed): undefined reference to nf_strerror_' modncfio.F90:(.text+0x26968): undefined reference to nf_inq_varid_’
modncfio.F90:(.text+0x26b59): undefined reference to nf_strerror_' modncfio.F90:(.text+0x26cef): undefined reference to nf_inq_var_’
modncfio.F90:(.text+0x27470): undefined reference to nf_strerror_' modncfio.F90:(.text+0x2775f): undefined reference to nf_put_vara_int1_’
/home/a13/NAS/a13/SMOKE/src/…/Linux2_x86_64gfort/libioapi.a(modncfio.o): In function __modncfio_MOD_writenvstep0ds': modncfio.F90:(.text+0x27a8b): undefined reference to nf_open_’
modncfio.F90:(.text+0x27b9c): undefined reference to nf_strerror_' modncfio.F90:(.text+0x27c3e): undefined reference to nf_inq_unlimdim_’
modncfio.F90:(.text+0x27d69): undefined reference to nf_strerror_' modncfio.F90:(.text+0x27df8): undefined reference to nf_close_’
modncfio.F90:(.text+0x27f2d): undefined reference to nf_strerror_' modncfio.F90:(.text+0x27fa8): undefined reference to nf_inq_varid_’
modncfio.F90:(.text+0x28199): undefined reference to nf_strerror_' modncfio.F90:(.text+0x2832f): undefined reference to nf_inq_var_’
modncfio.F90:(.text+0x28ab0): undefined reference to nf_strerror_' modncfio.F90:(.text+0x28d9f): undefined reference to nf_put_vara_int2_’
/home/a13/NAS/a13/SMOKE/src/…/Linux2_x86_64gfort/libioapi.a(modncfio.o): In function __modncfio_MOD_writenvstep0di': modncfio.F90:(.text+0x290cb): undefined reference to nf_open_’
modncfio.F90:(.text+0x291dc): undefined reference to nf_strerror_' modncfio.F90:(.text+0x2927e): undefined reference to nf_inq_unlimdim_’
modncfio.F90:(.text+0x293a9): undefined reference to nf_strerror_' modncfio.F90:(.text+0x29438): undefined reference to nf_close_’
modncfio.F90:(.text+0x2956d): undefined reference to nf_strerror_' modncfio.F90:(.text+0x295e8): undefined reference to nf_inq_varid_’
modncfio.F90:(.text+0x297d9): undefined reference to nf_strerror_' modncfio.F90:(.text+0x2996f): undefined reference to nf_inq_var_’
modncfio.F90:(.text+0x2a0f0): undefined reference to nf_strerror_' modncfio.F90:(.text+0x2a3df): undefined reference to nf_put_vara_int_’
/home/a13/NAS/a13/SMOKE/src/…/Linux2_x86_64gfort/libioapi.a(modncfio.o): In function __modncfio_MOD_writenvstep0dr': modncfio.F90:(.text+0x2a70b): undefined reference to nf_open_’
modncfio.F90:(.text+0x2a81c): undefined reference to nf_strerror_' modncfio.F90:(.text+0x2a8be): undefined reference to nf_inq_unlimdim_’
modncfio.F90:(.text+0x2a9e9): undefined reference to nf_strerror_' modncfio.F90:(.text+0x2aa78): undefined reference to nf_close_’
modncfio.F90:(.text+0x2abad): undefined reference to nf_strerror_' modncfio.F90:(.text+0x2ac28): undefined reference to nf_inq_varid_’
modncfio.F90:(.text+0x2ae19): undefined reference to nf_strerror_' modncfio.F90:(.text+0x2afaf): undefined reference to nf_inq_var_’
modncfio.F90:(.text+0x2b730): undefined reference to nf_strerror_' modncfio.F90:(.text+0x2ba1f): undefined reference to nf_put_vara_real_’
/home/a13/NAS/a13/SMOKE/src/…/Linux2_x86_64gfort/libioapi.a(modncfio.o): In function __modncfio_MOD_writencvec4dd': modncfio.F90:(.text+0x2bd54): undefined reference to nf_open_’
modncfio.F90:(.text+0x2be6c): undefined reference to nf_strerror_' modncfio.F90:(.text+0x2bf1c): undefined reference to nf_inq_varid_’
modncfio.F90:(.text+0x2c0c2): undefined reference to nf_strerror_' modncfio.F90:(.text+0x2c152): undefined reference to nf_close_’
modncfio.F90:(.text+0x2c28e): undefined reference to nf_strerror_' modncfio.F90:(.text+0x2c324): undefined reference to nf_inq_var_’
modncfio.F90:(.text+0x2c814): undefined reference to nf_strerror_' modncfio.F90:(.text+0x2cc40): undefined reference to nf_inq_dimlen_’
modncfio.F90:(.text+0x2d0ea): undefined reference to nf_inq_dimlen_' modncfio.F90:(.text+0x2d52a): undefined reference to nf_inq_dimlen_’
modncfio.F90:(.text+0x2d897): undefined reference to nf_strerror_' modncfio.F90:(.text+0x2d8c0): undefined reference to nf_inq_dimlen_’
modncfio.F90:(.text+0x2d967): undefined reference to nf_put_vara_double_' /home/a13/NAS/a13/SMOKE/src/../Linux2_x86_64gfort/libioapi.a(modncfio.o): In function modncfio_MOD_writencvec4db’:
modncfio.F90:(.text+0x2df14): undefined reference to nf_open_' modncfio.F90:(.text+0x2e02c): undefined reference to nf_strerror

modncfio.F90:(.text+0x2e0dc): undefined reference to nf_inq_varid_' modncfio.F90:(.text+0x2e282): undefined reference to nf_strerror

modncfio.F90:(.text+0x2e312): undefined reference to nf_close_' modncfio.F90:(.text+0x2e44e): undefined reference to nf_strerror_’
modncfio.F90:(.text+0x2e4e4): undefined reference to nf_inq_var_' modncfio.F90:(.text+0x2e9d4): undefined reference to nf_strerror_’
modncfio.F90:(.text+0x2ee00): undefined reference to nf_inq_dimlen_' modncfio.F90:(.text+0x2f2aa): undefined reference to nf_inq_dimlen_’
modncfio.F90:(.text+0x2f6ea): undefined reference to nf_inq_dimlen_' modncfio.F90:(.text+0x2fa57): undefined reference to nf_strerror_’
modncfio.F90:(.text+0x2fa80): undefined reference to nf_inq_dimlen_' modncfio.F90:(.text+0x2fb27): undefined reference to nf_put_vara_int1_’
/home/a13/NAS/a13/SMOKE/src/…/Linux2_x86_64gfort/libioapi.a(modncfio.o): In function __modncfio_MOD_writencvec4ds': modncfio.F90:(.text+0x300d4): undefined reference to nf_open_’
modncfio.F90:(.text+0x301ec): undefined reference to nf_strerror_' modncfio.F90:(.text+0x3029c): undefined reference to nf_inq_varid_’
modncfio.F90:(.text+0x30442): undefined reference to nf_strerror_' modncfio.F90:(.text+0x304d2): undefined reference to nf_close_’
modncfio.F90:(.text+0x3060e): undefined reference to nf_strerror_' modncfio.F90:(.text+0x306a4): undefined reference to nf_inq_var_’
modncfio.F90:(.text+0x30b94): undefined reference to nf_strerror_' modncfio.F90:(.text+0x30fc0): undefined reference to nf_inq_dimlen_’
modncfio.F90:(.text+0x3146a): undefined reference to nf_inq_dimlen_' modncfio.F90:(.text+0x318aa): undefined reference to nf_inq_dimlen_’
modncfio.F90:(.text+0x31c17): undefined reference to nf_strerror_' modncfio.F90:(.text+0x31c40): undefined reference to nf_inq_dimlen_’
modncfio.F90:(.text+0x31ce7): undefined reference to nf_put_vara_int2_' /home/a13/NAS/a13/SMOKE/src/../Linux2_x86_64gfort/libioapi.a(modncfio.o): In function __modncfio_MOD_writencvec4di’:

/home/a13/NAS/a13/SMOKE/src/…/Linux2_x86_64gfort/libioapi.a(modncfio.o): In function __modncfio_MOD_writencvar4dd': modncfio.F90:(.text+0x47e14): undefined reference to nf_open_’
modncfio.F90:(.text+0x47f2c): undefined reference to nf_strerror_' modncfio.F90:(.text+0x47fdc): undefined reference to nf_inq_varid_’
modncfio.F90:(.text+0x48182): undefined reference to nf_strerror_' modncfio.F90:(.text+0x48212): undefined reference to nf_close_’
modncfio.F90:(.text+0x4834e): undefined reference to nf_strerror_' modncfio.F90:(.text+0x483e4): undefined reference to nf_inq_var_’
modncfio.F90:(.text+0x488d4): undefined reference to nf_strerror_' modncfio.F90:(.text+0x48d00): undefined reference to nf_inq_dimlen_’
modncfio.F90:(.text+0x491aa): undefined reference to nf_inq_dimlen_' modncfio.F90:(.text+0x495ea): undefined reference to nf_inq_dimlen_’
modncfio.F90:(.text+0x49957): undefined reference to nf_strerror_' modncfio.F90:(.text+0x49980): undefined reference to nf_inq_dimlen_’
modncfio.F90:(.text+0x49a27): undefined reference to nf_put_vara_double_' /home/a13/NAS/a13/SMOKE/src/../Linux2_x86_64gfort/libioapi.a(modncfio.o): In function __modncfio_MOD_writencvar4db’:

collect2: error: ld returned 1 exit status
Makefile:678: recipe for target ‘normbeis3’ failed
make: *** [normbeis3] Error 1

The ioapi library is working correctly for CMAQ.

Thank you,

I am not sure which version of IOAPI installed on your server. Looks like you need to use the latest version of IOAPI. Although CMAQ may be comparable with older version of IOAPI library, SMOKE recently has been updated to use the latest version of IOAPI to incorporate a few functions added recently.

See https://www.cmascenter.org/ioapi/documentation/all_versions/html/AVAIL.html#ncf4

Among other things, you need netCDF-Fortran in addition to netCDF-C. In particular: (0) -L/home/a13/NAS/a13/smknetcdf/lib/libnetcdf.a is incorrect use of the -L flag; it should be -L/home/a13/NAS/a13/smknetcdf/lib -lnetcdf.a ; (1) -lnetcdf needs to come after -lioapi; and (2) you need -lnetcdff -lnetcdf instead of just -lnetcdf.

Hello again,

After some modifications, errors were exactly the same as mentioned on Error when compile SMOKEv4.7.

But after I did the Carlie’s suggestion for short version (removing GETPID), I get the following error.

cd /home/kdo/wormulon/kdo/SMOKE/src/…/Linux2_x86_64gfort; gfortran -I/home/kdo/wormulon/kdo/SMOKE/ioapi/ioapi/fixed_src -I/home/kdo/wormulon/kdo/SMOKE/src/inc -I/home/kdo/wormulon/kdo/SMOKE/ioapi/Linux2_x86_64gfort -ffixed-line-length-132 -fno-backslash -O3 -ffast-math -funroll-loops -m64 -DAUTO_ARRAYS=1 -DF90=1 -DFLDMN=1 -DFSTR_L=int -DIOAPI_NO_STDOUT=1 -DNEED_ARGS=1 -o uam2ncf uam2ncf.o /home/kdo/wormulon/kdo/SMOKE/src/…/Linux2_x86_64gfort/libemmod.a /home/kdo/wormulon/kdo/SMOKE/src/…/Linux2_x86_64gfort/libsmoke.a /home/kdo/wormulon/kdo/SMOKE/src/…/Linux2_x86_64gfort/libfileset.a -L/home/kdo/wormulon/kdo/SMOKE/src/…/Linux2_x86_64gfort -lfileset -lsmoke -lemmod -lfileset -lsmoke -L/home/kdo/wormulon/kdo/SMOKE/ioapi/Linux2_x86_64gfort -lioapi -lnetcdff -lnetcdf -fopenmp -dynamic -L/usr/lib64 -lm -lpthread -lc
cd /home/kdo/wormulon/kdo/SMOKE/src/…/Linux2_x86_64gfort; gfortran -I/home/kdo/wormulon/kdo/SMOKE/ioapi/ioapi/fixed_src -I/home/kdo/wormulon/kdo/SMOKE/src/inc -I/home/kdo/wormulon/kdo/SMOKE/ioapi/Linux2_x86_64gfort -ffixed-line-length-132 -fno-backslash -O3 -ffast-math -funroll-loops -m64 -DAUTO_ARRAYS=1 -DF90=1 -DFLDMN=1 -DFSTR_L=int -DIOAPI_NO_STDOUT=1 -DNEED_ARGS=1 -c /home/kdo/wormulon/kdo/SMOKE/src/emutil/gentpro.f
/home/kdo/wormulon/kdo/SMOKE/src/emutil/gentpro.f:1663:25:

  &              ((',', PROF_MON( S,NP )), NP = 1,12 )
                     1

Error: Expected a right parenthesis in expression at (1)
/home/kdo/wormulon/kdo/SMOKE/src/emutil/gentpro.f:1695:34:

  &                      ( (',', PROF_DAY( S,NP ) ), NP = 1,31 )
                              1

Error: Expected a right parenthesis in expression at (1)
Makefile:348: recipe for target ‘gentpro.o’ failed
make: *** [gentpro.o] Error 1

Thank you,

Please check our the previous ticket: