ERROR when install I/O API 3.2 with intel compiler

Hi,
I was trying to install ioapi 3.2 with intel compiler, but I got this:

make[1]: warning: Clock skew detected. Your build may be incomplete.
make[1]: Leaving directory /student/simeng/software/ioapi-3.2/ioapi' (cd /student/simeng/software/ioapi-3.2/m3tools ; make BIN=Linux2_x86_64ifort all) make[1]: Entering directory /student/simeng/software/ioapi-3.2/m3tools’
make[1]: Warning: File Makefile' has modification time 3.1e+04 s in the future cd /student/simeng/software/ioapi-3.2/Linux2_x86_64ifort; ifort -auto -warn notruncated_source -Bstatic -static-intel /student/simeng/software/ioapi-3.2/Linux2_x86_64ifort/airs2m3.o -L/student/simeng/software/ioapi-3.2/Linux2_x86_64ifort -lioapi -lnetcdff -lnetcdf -openmp -Bstatic -o airs2m3 /student/simeng/software/ioapi-3.2/Linux2_x86_64ifort/libnetcdff.a(fort-lib.o): In function nc_inq_varids_f’:
/public/software/netcdf-fortran-4.2/fortran/fort-lib.c:165: undefined reference to nc_inq_varids' /public/software/netcdf-fortran-4.2/fortran/fort-lib.c:169: undefined reference to nc_inq_varids’
/student/simeng/software/ioapi-3.2/Linux2_x86_64ifort/libnetcdff.a(fort-lib.o): In function nc_inq_dimids_f': /public/software/netcdf-fortran-4.2/fortran/fort-lib.c:194: undefined reference to nc_inq_dimids’
/public/software/netcdf-fortran-4.2/fortran/fort-lib.c:198: undefined reference to nc_inq_dimids' /student/simeng/software/ioapi-3.2/Linux2_x86_64ifort/libnetcdff.a(fort-lib.o): In function nc_insert_array_compound_f’:
/public/software/netcdf-fortran-4.2/fortran/fort-lib.c:235: undefined reference to nc_insert_array_compound' /student/simeng/software/ioapi-3.2/Linux2_x86_64ifort/libnetcdff.a(fort-lib.o): In function nc_inq_compound_field_f’:
/public/software/netcdf-fortran-4.2/fortran/fort-lib.c:252: undefined reference to nc_inq_compound_field' /public/software/netcdf-fortran-4.2/fortran/fort-lib.c:257: undefined reference to nc_inq_compound_field’
/student/simeng/software/ioapi-3.2/Linux2_x86_64ifort/libnetcdff.a(fort-nc4.o): In function nf_inq_ncid_': /public/software/netcdf-fortran-4.2/fortran/fort-nc4.c:30: undefined reference to nc_inq_ncid’
/student/simeng/software/ioapi-3.2/Linux2_x86_64ifort/libnetcdff.a(fort-nc4.o): In function nf_inq_grps_': /public/software/netcdf-fortran-4.2/fortran/fort-nc4.c:33: undefined reference to nc_inq_grps’
/student/simeng/software/ioapi-3.2/Linux2_x86_64ifort/libnetcdff.a(fort-nc4.o): In function nf_inq_grpname_': /public/software/netcdf-fortran-4.2/fortran/fort-nc4.c:36: undefined reference to nc_inq_grpname’
/student/simeng/software/ioapi-3.2/Linux2_x86_64ifort/libnetcdff.a(fort-nc4.o): In function nf_inq_grpname_full_': /public/software/netcdf-fortran-4.2/fortran/fort-nc4.c:39: undefined reference to nc_inq_grpname_full’
/student/simeng/software/ioapi-3.2/Linux2_x86_64ifort/libnetcdff.a(fort-nc4.o): In function nf_inq_grpname_len_': /public/software/netcdf-fortran-4.2/fortran/fort-nc4.c:42: undefined reference to nc_inq_grpname_len’
/student/simeng/software/ioapi-3.2/Linux2_x86_64ifort/libnetcdff.a(fort-nc4.o): In function nf_inq_grp_parent_': /public/software/netcdf-fortran-4.2/fortran/fort-nc4.c:45: undefined reference to nc_inq_grp_parent’
/student/simeng/software/ioapi-3.2/Linux2_x86_64ifort/libnetcdff.a(fort-nc4.o): In function nf_inq_grp_ncid_': /public/software/netcdf-fortran-4.2/fortran/fort-nc4.c:48: undefined reference to nc_inq_grp_ncid’
/student/simeng/software/ioapi-3.2/Linux2_x86_64ifort/libnetcdff.a(fort-nc4.o): In function nf_inq_grp_full_ncid_': /public/software/netcdf-fortran-4.2/fortran/fort-nc4.c:51: undefined reference to nc_inq_grp_full_ncid’
/student/simeng/software/ioapi-3.2/Linux2_x86_64ifort/libnetcdff.a(fort-nc4.o): In function nf_inq_typeids_': /public/software/netcdf-fortran-4.2/fortran/fort-nc4.c:60: undefined reference to nc_inq_typeids’
/student/simeng/software/ioapi-3.2/Linux2_x86_64ifort/libnetcdff.a(fort-nc4.o): In function nf_inq_typeid_': /public/software/netcdf-fortran-4.2/fortran/fort-nc4.c:63: undefined reference to nc_inq_typeid’
/student/simeng/software/ioapi-3.2/Linux2_x86_64ifort/libnetcdff.a(fort-nc4.o): In function nf_def_grp_': /public/software/netcdf-fortran-4.2/fortran/fort-nc4.c:66: undefined reference to nc_def_grp’
/student/simeng/software/ioapi-3.2/Linux2_x86_64ifort/libnetcdff.a(fort-nc4.o): In function nf_def_compound_': /public/software/netcdf-fortran-4.2/fortran/fort-nc4.c:69: undefined reference to nc_def_compound’
/student/simeng/software/ioapi-3.2/Linux2_x86_64ifort/libnetcdff.a(fort-nc4.o): In function nf_insert_compound_': /public/software/netcdf-fortran-4.2/fortran/fort-nc4.c:72: undefined reference to nc_insert_compound’
/student/simeng/software/ioapi-3.2/Linux2_x86_64ifort/libnetcdff.a(fort-nc4.o): In function nf_inq_compound_': /public/software/netcdf-fortran-4.2/fortran/fort-nc4.c:83: undefined reference to nc_inq_compound’
/student/simeng/software/ioapi-3.2/Linux2_x86_64ifort/libnetcdff.a(fort-nc4.o): In function nf_inq_compound_name_': /public/software/netcdf-fortran-4.2/fortran/fort-nc4.c:86: undefined reference to nc_inq_compound_name’
/student/simeng/software/ioapi-3.2/Linux2_x86_64ifort/libnetcdff.a(fort-nc4.o): In function nf_inq_compound_size_': /public/software/netcdf-fortran-4.2/fortran/fort-nc4.c:89: undefined reference to nc_inq_compound_size’
/student/simeng/software/ioapi-3.2/Linux2_x86_64ifort/libnetcdff.a(fort-nc4.o): In function nf_inq_compound_nfields_': /public/software/netcdf-fortran-4.2/fortran/fort-nc4.c:92: undefined reference to nc_inq_compound_nfields’
/student/simeng/software/ioapi-3.2/Linux2_x86_64ifort/libnetcdff.a(fort-nc4.o): In function nf_inq_compound_fieldname_': /public/software/netcdf-fortran-4.2/fortran/fort-nc4.c:101: undefined reference to nc_inq_compound_fieldname’
/student/simeng/software/ioapi-3.2/Linux2_x86_64ifort/libnetcdff.a(fort-nc4.o): In function nf_inq_compound_fieldindex_': /public/software/netcdf-fortran-4.2/fortran/fort-nc4.c:105: undefined reference to nc_inq_compound_fieldindex’
/student/simeng/software/ioapi-3.2/Linux2_x86_64ifort/libnetcdff.a(fort-nc4.o): In function nf_inq_compound_fieldoffset_': /public/software/netcdf-fortran-4.2/fortran/fort-nc4.c:109: undefined reference to nc_inq_compound_fieldoffset’
/student/simeng/software/ioapi-3.2/Linux2_x86_64ifort/libnetcdff.a(fort-nc4.o): In function nf_inq_compound_fieldtype_': /public/software/netcdf-fortran-4.2/fortran/fort-nc4.c:113: undefined reference to nc_inq_compound_fieldtype’
/student/simeng/software/ioapi-3.2/Linux2_x86_64ifort/libnetcdff.a(fort-nc4.o): In function nf_inq_compound_fieldndims_': /public/software/netcdf-fortran-4.2/fortran/fort-nc4.c:117: undefined reference to nc_inq_compound_fieldndims’
/student/simeng/software/ioapi-3.2/Linux2_x86_64ifort/libnetcdff.a(fort-nc4.o): In function nf_inq_compound_fielddim_sizes_': /public/software/netcdf-fortran-4.2/fortran/fort-nc4.c:121: undefined reference to nc_inq_compound_fielddim_sizes’
/student/simeng/software/ioapi-3.2/Linux2_x86_64ifort/libnetcdff.a(fort-nc4.o): In function nf_def_vlen_': /public/software/netcdf-fortran-4.2/fortran/fort-nc4.c:125: undefined reference to nc_def_vlen’
/student/simeng/software/ioapi-3.2/Linux2_x86_64ifort/libnetcdff.a(fort-nc4.o): In function nf_inq_vlen_': /public/software/netcdf-fortran-4.2/fortran/fort-nc4.c:128: undefined reference to nc_inq_vlen’
/student/simeng/software/ioapi-3.2/Linux2_x86_64ifort/libnetcdff.a(fort-nc4.o): In function nf_inq_user_type_': /public/software/netcdf-fortran-4.2/fortran/fort-nc4.c:131: undefined reference to nc_inq_user_type’
/student/simeng/software/ioapi-3.2/Linux2_x86_64ifort/libnetcdff.a(fort-nc4.o): In function nf_def_enum_': /public/software/netcdf-fortran-4.2/fortran/fort-nc4.c:134: undefined reference to nc_def_enum’
/student/simeng/software/ioapi-3.2/Linux2_x86_64ifort/libnetcdff.a(fort-nc4.o): In function nf_insert_enum_': /public/software/netcdf-fortran-4.2/fortran/fort-nc4.c:137: undefined reference to nc_insert_enum’
/student/simeng/software/ioapi-3.2/Linux2_x86_64ifort/libnetcdff.a(fort-nc4.o): In function nf_inq_enum_': /public/software/netcdf-fortran-4.2/fortran/fort-nc4.c:140: undefined reference to nc_inq_enum’
/student/simeng/software/ioapi-3.2/Linux2_x86_64ifort/libnetcdff.a(fort-nc4.o): In function nf_inq_enum_member_': /public/software/netcdf-fortran-4.2/fortran/fort-nc4.c:143: undefined reference to nc_inq_enum_member’
/student/simeng/software/ioapi-3.2/Linux2_x86_64ifort/libnetcdff.a(fort-nc4.o): In function nf_inq_enum_ident_': /public/software/netcdf-fortran-4.2/fortran/fort-nc4.c:146: undefined reference to nc_inq_enum_ident’
/student/simeng/software/ioapi-3.2/Linux2_x86_64ifort/libnetcdff.a(fort-nc4.o): In function nf_def_opaque_': /public/software/netcdf-fortran-4.2/fortran/fort-nc4.c:149: undefined reference to nc_def_opaque’
/student/simeng/software/ioapi-3.2/Linux2_x86_64ifort/libnetcdff.a(fort-nc4.o): In function nf_inq_opaque_': /public/software/netcdf-fortran-4.2/fortran/fort-nc4.c:152: undefined reference to nc_inq_opaque’
/student/simeng/software/ioapi-3.2/Linux2_x86_64ifort/libnetcdff.a(fort-nc4.o): In function nf_def_var_chunking_': /public/software/netcdf-fortran-4.2/fortran/fort-nc4.c:155: undefined reference to nc_def_var_chunking_ints’
/student/simeng/software/ioapi-3.2/Linux2_x86_64ifort/libnetcdff.a(fort-nc4.o): In function nf_def_var_deflate_': /public/software/netcdf-fortran-4.2/fortran/fort-nc4.c:158: undefined reference to nc_def_var_deflate’
/student/simeng/software/ioapi-3.2/Linux2_x86_64ifort/libnetcdff.a(fort-nc4.o): In function nf_def_var_fill_': /public/software/netcdf-fortran-4.2/fortran/fort-nc4.c:161: undefined reference to nc_def_var_fill’
/student/simeng/software/ioapi-3.2/Linux2_x86_64ifort/libnetcdff.a(fort-nc4.o): In function nf_inq_var_fill_': /public/software/netcdf-fortran-4.2/fortran/fort-nc4.c:164: undefined reference to nc_inq_var_fill’
/student/simeng/software/ioapi-3.2/Linux2_x86_64ifort/libnetcdff.a(fort-nc4.o): In function nf_def_var_fletcher32_': /public/software/netcdf-fortran-4.2/fortran/fort-nc4.c:167: undefined reference to nc_def_var_fletcher32’
/student/simeng/software/ioapi-3.2/Linux2_x86_64ifort/libnetcdff.a(fort-nc4.o): In function nf_inq_var_chunking_': /public/software/netcdf-fortran-4.2/fortran/fort-nc4.c:170: undefined reference to nc_inq_var_chunking_ints’
/student/simeng/software/ioapi-3.2/Linux2_x86_64ifort/libnetcdff.a(fort-nc4.o): In function nf_inq_var_deflate_': /public/software/netcdf-fortran-4.2/fortran/fort-nc4.c:173: undefined reference to nc_inq_var_deflate’
/student/simeng/software/ioapi-3.2/Linux2_x86_64ifort/libnetcdff.a(fort-nc4.o): In function nf_inq_var_szip_': /public/software/netcdf-fortran-4.2/fortran/fort-nc4.c:176: undefined reference to nc_inq_var_szip’
/student/simeng/software/ioapi-3.2/Linux2_x86_64ifort/libnetcdff.a(fort-nc4.o): In function nf_inq_var_fletcher32_': /public/software/netcdf-fortran-4.2/fortran/fort-nc4.c:179: undefined reference to nc_inq_var_fletcher32’
/student/simeng/software/ioapi-3.2/Linux2_x86_64ifort/libnetcdff.a(fort-nc4.o): In function nf_def_var_endian_': /public/software/netcdf-fortran-4.2/fortran/fort-nc4.c:182: undefined reference to nc_def_var_endian’
/student/simeng/software/ioapi-3.2/Linux2_x86_64ifort/libnetcdff.a(fort-nc4.o): In function nf_inq_var_endian_': /public/software/netcdf-fortran-4.2/fortran/fort-nc4.c:185: undefined reference to nc_inq_var_endian’
/student/simeng/software/ioapi-3.2/Linux2_x86_64ifort/libnetcdff.a(fort-nc4.o): In function nf_put_vlen_element_': /public/software/netcdf-fortran-4.2/fortran/fort-nc4.c:194: undefined reference to nc_put_vlen_element’
/student/simeng/software/ioapi-3.2/Linux2_x86_64ifort/libnetcdff.a(fort-nc4.o): In function nf_get_vlen_element_': /public/software/netcdf-fortran-4.2/fortran/fort-nc4.c:197: undefined reference to nc_get_vlen_element’
/student/simeng/software/ioapi-3.2/Linux2_x86_64ifort/libnetcdff.a(fort-nc4.o): In function nf_free_vlen_': /public/software/netcdf-fortran-4.2/fortran/fort-nc4.c:200: undefined reference to nc_free_vlen’
/student/simeng/software/ioapi-3.2/Linux2_x86_64ifort/libnetcdff.a(fort-nc4.o): In function nf_free_vlens_': /public/software/netcdf-fortran-4.2/fortran/fort-nc4.c:201: undefined reference to nc_free_vlens’
/student/simeng/software/ioapi-3.2/Linux2_x86_64ifort/libnetcdff.a(fort-nc4.o): In function nf_free_string_': /public/software/netcdf-fortran-4.2/fortran/fort-nc4.c:202: undefined reference to nc_free_string’
/student/simeng/software/ioapi-3.2/Linux2_x86_64ifort/libnetcdff.a(fort-nc4.o): In function nf_set_chunk_cache_': /public/software/netcdf-fortran-4.2/fortran/fort-nc4.c:226: undefined reference to nc_set_chunk_cache_ints’
/student/simeng/software/ioapi-3.2/Linux2_x86_64ifort/libnetcdff.a(fort-nc4.o): In function nf_get_chunk_cache_': /public/software/netcdf-fortran-4.2/fortran/fort-nc4.c:228: undefined reference to nc_get_chunk_cache_ints’
/student/simeng/software/ioapi-3.2/Linux2_x86_64ifort/libnetcdff.a(fort-nc4.o): In function nf_set_var_chunk_cache_': /public/software/netcdf-fortran-4.2/fortran/fort-nc4.c:231: undefined reference to nc_set_var_chunk_cache_ints’
/student/simeng/software/ioapi-3.2/Linux2_x86_64ifort/libnetcdff.a(fort-nc4.o): In function nf_get_var_chunk_cache_': /public/software/netcdf-fortran-4.2/fortran/fort-nc4.c:233: undefined reference to nc_get_var_chunk_cache_ints’
make[1]: *** [airs2m3] Error 1
make[1]: Leaving directory `/student/simeng/software/ioapi-3.2/m3tools’
make: *** [all] Error 2

Can anyone help me?

intel: 14.0.0.
netCDF: 4.3.0
hdf5: 1.8.12

Thank you for your time!

See https://cjcoats.github.io/ioapi/AVAIL.html#build, especially step 8.

This looks like a libraries-and-compilers compatibility problem. First of all, you need to build both the netCDF-C library libnetcdf.a and the netCDF Fortran library libnetcdff.a. Since you are using Intel compilers for the I/O API, you want to make sure you build both of them using those same compilers; do not use the vendor supplied (gfortran-only) libraries.