When I use intel compiler to compile MCIP, I get the following error, I have looked up a lot of information and I can’t determine whether it is a problem with my netcdf or ioapi, please help me, how can I solve it. Here is my error message and my makefile
MAKEFILE
#…Intel Fortran
FC = ifort
NETCDF = /public/home/ecichm/liuc/tools/netcdf4.5
IOAPI_ROOT = /public/source/ioapi-3.2
###FFLAGS = -g -O0 -check all -C -traceback -FR -I$(NETCDF)/include \
-I$(IOAPI_ROOT)/Linux2_x86_64ifort
FFLAGS = -FR -O3 -traceback -I$(NETCDF)/include -I$(IOAPI_ROOT)/Linux2_x86_64ifort
LIBS = -L$(IOAPI_ROOT)/Linux2_x86_64ifort -lioapi
-L$(NETCDF)/lib -lnetcdff -lnetcdf
DEFS =
ERROR:
/public/source/ioapi-3.2/Linux2_x86_64ifort/libnetcdf.a(libdap4_la-d4http.o): In function NCD4_fetchurl_file': d4http.c:(.text+0x73): undefined reference to
curl_easy_setopt’
d4http.c:(.text+0x91): undefined reference to curl_easy_setopt' d4http.c:(.text+0xaa): undefined reference to
curl_easy_setopt’
d4http.c:(.text+0xc4): undefined reference to curl_easy_setopt' d4http.c:(.text+0xdf): undefined reference to
curl_easy_perform’
d4http.c:(.text+0x10a): undefined reference to curl_easy_getinfo' d4http.c:(.text+0x117): undefined reference to
curl_easy_strerror’
/public/source/ioapi-3.2/Linux2_x86_64ifort/libnetcdf.a(libdap4_la-d4http.o): In function NCD4_fetchurl': d4http.c:(.text+0x186): undefined reference to
curl_easy_setopt’
d4http.c:(.text+0x1a4): undefined reference to curl_easy_setopt' d4http.c:(.text+0x1c4): undefined reference to
curl_easy_setopt’
d4http.c:(.text+0x1d8): undefined reference to curl_easy_setopt' d4http.c:(.text+0x1ea): undefined reference to
curl_easy_setopt’
d4http.c:(.text+0x1fa): undefined reference to curl_easy_perform' d4http.c:(.text+0x221): undefined reference to
curl_easy_getinfo’
d4http.c:(.text+0x245): undefined reference to curl_easy_getinfo' d4http.c:(.text+0x255): undefined reference to
curl_easy_strerror’
d4http.c:(.text+0x2cc): undefined reference to curl_easy_strerror' d4http.c:(.text+0x2ef): undefined reference to
curl_easy_strerror’
/public/source/ioapi-3.2/Linux2_x86_64ifort/libnetcdf.a(libdap4_la-d4http.o): In function NCD4_curlopen': d4http.c:(.text+0x3fe): undefined reference to
curl_easy_init’
d4http.c:(.text+0x41e): undefined reference to curl_easy_setopt' d4http.c:(.text+0x433): undefined reference to
curl_easy_strerror’
/public/source/ioapi-3.2/Linux2_x86_64ifort/libnetcdf.a(libdap4_la-d4http.o): In function NCD4_curlclose': d4http.c:(.text+0x4d6): undefined reference to
curl_easy_cleanup’
/public/source/ioapi-3.2/Linux2_x86_64ifort/libnetcdf.a(libdap4_la-d4http.o): In function NCD4_fetchlastmodified': d4http.c:(.text+0x4f5): undefined reference to
curl_easy_setopt’
d4http.c:(.text+0x513): undefined reference to curl_easy_setopt' d4http.c:(.text+0x527): undefined reference to
curl_easy_setopt’
d4http.c:(.text+0x53b): undefined reference to curl_easy_setopt' d4http.c:(.text+0x54f): undefined reference to
curl_easy_setopt’
/public/source/ioapi-3.2/Linux2_x86_64ifort/libnetcdf.a(libdap4_la-d4http.o):d4http.c:(.text+0x563): more undefined references to curl_easy_setopt' follow /public/source/ioapi-3.2/Linux2_x86_64ifort/libnetcdf.a(libdap4_la-d4http.o): In function
NCD4_fetchlastmodified’:
d4http.c:(.text+0x57f): undefined reference to curl_easy_perform' d4http.c:(.text+0x59c): undefined reference to
curl_easy_getinfo’
d4http.c:(.text+0x5a9): undefined reference to curl_easy_strerror' /public/source/ioapi-3.2/Linux2_x86_64ifort/libnetcdf.a(libdap4_la-d4http.o): In function
NCD4_ping’:
d4http.c:(.text+0x5f6): undefined reference to curl_easy_init' d4http.c:(.text+0x616): undefined reference to
curl_easy_setopt’
d4http.c:(.text+0x623): undefined reference to curl_easy_strerror' d4http.c:(.text+0x6a5): undefined reference to
curl_easy_setopt’
d4http.c:(.text+0x6c3): undefined reference to curl_easy_setopt' d4http.c:(.text+0x6e1): undefined reference to
curl_easy_setopt’
d4http.c:(.text+0x6ff): undefined reference to curl_easy_setopt' d4http.c:(.text+0x725): undefined reference to
curl_easy_setopt’
/public/source/ioapi-3.2/Linux2_x86_64ifort/libnetcdf.a(libdap4_la-d4http.o):d4http.c:(.text+0x743): more undefined references to curl_easy_setopt' follow /public/source/ioapi-3.2/Linux2_x86_64ifort/libnetcdf.a(libdap4_la-d4http.o): In function
NCD4_ping’:
d4http.c:(.text+0x795): undefined reference to curl_easy_perform' d4http.c:(.text+0x7bc): undefined reference to
curl_easy_getinfo’
d4http.c:(.text+0x7d1): undefined reference to curl_easy_strerror' d4http.c:(.text+0x843): undefined reference to
curl_easy_getinfo’
d4http.c:(.text+0x86f): undefined reference to curl_easy_cleanup' d4http.c:(.text+0x88f): undefined reference to
curl_easy_strerror’
d4http.c:(.text+0x8be): undefined reference to curl_easy_strerror' d4http.c:(.text+0x8e1): undefined reference to
curl_easy_strerror’
/public/source/ioapi-3.2/Linux2_x86_64ifort/libnetcdf.a(libnetcdf4_la-nc4attr.o): In function NC4_rename_att': nc4attr.c:(.text+0x98c): undefined reference to
H5Adelete’
nc4attr.c:(.text+0xa4d): undefined reference to H5Adelete' /public/source/ioapi-3.2/Linux2_x86_64ifort/libnetcdf.a(libnetcdf4_la-nc4attr.o): In function
NC4_del_att’:
nc4attr.c:(.text+0xc57): undefined reference to H5Adelete' /public/source/ioapi-3.2/Linux2_x86_64ifort/libnetcdf.a(libdap4_la-d4curlfunctions.o): In function
NCD4_set_flags_perlink’:
d4curlfunctions.c:(.text+0x237): undefined reference to curl_easy_setopt' /public/source/ioapi-3.2/Linux2_x86_64ifort/libnetcdf.a(libdap4_la-d4curlfunctions.o): In function
set_curlflag’:
d4curlfunctions.c:(.text+0x2e8): undefined reference to curl_easy_setopt' d4curlfunctions.c:(.text+0x30b): undefined reference to
curl_easy_setopt’
d4curlfunctions.c:(.text+0x33d): undefined reference to curl_easy_setopt' d4curlfunctions.c:(.text+0x37b): undefined reference to
curl_easy_setopt’
/public/source/ioapi-3.2/Linux2_x86_64ifort/libnetcdf.a(libdap4_la-d4curlfunctions.o):d4curlfunctions.c:(.text+0x3c9): more undefined references to curl_easy_setopt' follow /public/source/ioapi-3.2/Linux2_x86_64ifort/libnetcdf.a(libdap4_la-d4curlfunctions.o): In function
NCD4_curl_protocols’:
d4curlfunctions.c:(.text+0x86a): undefined reference to curl_version_info' /public/source/ioapi-3.2/Linux2_x86_64ifort/libnetcdf.a(libdap4_la-d4curlfunctions.o): In function
NCD4_reportcurlerror’:
d4curlfunctions.c:(.text+0x8ea): undefined reference to curl_easy_strerror' make[1]: *** [mcip.exe] Error 1 make[1]: Leaving directory
/public/home/ecichm/liuc/tools/CMAQ-5.3/PREP/mcip/src’
make: *** [all] Error 2