Dear all,<div><br></div><div>I have problem compiling WRF version 3.2 using portland group compiler. I have installed pg compiler version 10.5 and also compiled netcdf version 4.1.1 using the pg compiler. The problem is, when I try to compile test cases for WRF, a series of error like below appear and the compilation failed:</div>
<div><br></div><div><div>/state/partition1/apps/netcdf/libncdap3/oc/./ocinternal.c:161: undefined reference to `curl_version_info&#39;</div><div>/usr/local/lib/libnetcdf.a(liboc_la-http.o): In function `ocfetchhttpcode&#39;:</div>
<div>/state/partition1/apps/netcdf/libncdap3/oc/./http.c:25: undefined reference to `curl_easy_getinfo&#39;</div><div>/usr/local/lib/libnetcdf.a(liboc_la-http.o): In function `ocfetchurl_file&#39;:</div><div>/state/partition1/apps/netcdf/libncdap3/oc/./http.c:44: undefined reference to `curl_easy_setopt&#39;</div>
<div>/state/partition1/apps/netcdf/libncdap3/oc/./http.c:49: undefined reference to `curl_easy_setopt&#39;</div><div>/state/partition1/apps/netcdf/libncdap3/oc/./http.c:54: undefined reference to `curl_easy_setopt&#39;</div>
<div>/state/partition1/apps/netcdf/libncdap3/oc/./http.c:59: undefined reference to `curl_easy_setopt&#39;</div><div>/state/partition1/apps/netcdf/libncdap3/oc/./http.c:59: undefined reference to `curl_easy_perform&#39;</div>
<div>/state/partition1/apps/netcdf/libncdap3/oc/./http.c:74: undefined reference to `curl_easy_getinfo&#39;</div><div>/state/partition1/apps/netcdf/libncdap3/oc/./http.c:79: undefined reference to `curl_easy_strerror&#39;</div>
<div>/usr/local/lib/libnetcdf.a(liboc_la-http.o): In function `ocfetchurl&#39;:</div><div>/state/partition1/apps/netcdf/libncdap3/oc/./http.c:93: undefined reference to `curl_easy_setopt&#39;</div><div>/state/partition1/apps/netcdf/libncdap3/oc/./http.c:98: undefined reference to `curl_easy_setopt&#39;</div>
<div>/state/partition1/apps/netcdf/libncdap3/oc/./http.c:103: undefined reference to `curl_easy_setopt&#39;</div><div>/state/partition1/apps/netcdf/libncdap3/oc/./http.c:108: undefined reference to `curl_easy_setopt&#39;</div>
<div>/state/partition1/apps/netcdf/libncdap3/oc/./http.c:108: undefined reference to `curl_easy_perform&#39;</div><div>/state/partition1/apps/netcdf/libncdap3/oc/./http.c:114: undefined reference to `curl_easy_strerror&#39;</div>
<div>/state/partition1/apps/netcdf/libncdap3/oc/./http.c:121: undefined reference to `curl_easy_getinfo&#39;</div><div>/state/partition1/apps/netcdf/libncdap3/oc/./http.c:132: undefined reference to `curl_easy_strerror&#39;</div>
<div>/usr/local/lib/libnetcdf.a(liboc_la-http.o): In function `occurlopen&#39;:</div><div>/state/partition1/apps/netcdf/libncdap3/oc/./http.c:217: undefined reference to `curl_easy_init&#39;</div><div>/state/partition1/apps/netcdf/libncdap3/oc/./http.c:225: undefined reference to `curl_easy_setopt&#39;</div>
<div>/state/partition1/apps/netcdf/libncdap3/oc/./http.c:225: undefined reference to `curl_easy_setopt&#39;</div><div>/usr/local/lib/libnetcdf.a(liboc_la-http.o): In function `occurlclose&#39;:</div><div>/state/partition1/apps/netcdf/libncdap3/oc/./http.c:242: undefined reference to `curl_easy_cleanup&#39;</div>
<div>/usr/local/lib/libnetcdf.a(liboc_la-http.o): In function `ocsetcurlproperties&#39;:</div><div>/state/partition1/apps/netcdf/libncdap3/oc/./http.c:283: undefined reference to `curl_easy_strerror&#39;</div><div>/usr/local/lib/libnetcdf.a(liboc_la-http.o): In function `ocfetchlastmodified&#39;:</div>
<div>/state/partition1/apps/netcdf/libncdap3/oc/./http.c:297: undefined reference to `curl_easy_setopt&#39;</div><div>/state/partition1/apps/netcdf/libncdap3/oc/./http.c:302: undefined reference to `curl_easy_setopt&#39;</div>
<div>/state/partition1/apps/netcdf/libncdap3/oc/./http.c:302: undefined reference to `curl_easy_setopt&#39;</div><div>/state/partition1/apps/netcdf/libncdap3/oc/./http.c:302: undefined reference to `curl_easy_setopt&#39;</div>
<div>/state/partition1/apps/netcdf/libncdap3/oc/./http.c:302: undefined reference to `curl_easy_setopt&#39;</div><div>/usr/local/lib/libnetcdf.a(liboc_la-http.o):/state/partition1/apps/netcdf/libncdap3/oc/./http.c:302: more undefined references to `curl_easy_setopt&#39; follow</div>
<div>/usr/local/lib/libnetcdf.a(liboc_la-http.o): In function `ocfetchlastmodified&#39;:</div><div>/state/partition1/apps/netcdf/libncdap3/oc/./http.c:302: undefined reference to `curl_easy_perform&#39;</div><div>/state/partition1/apps/netcdf/libncdap3/oc/./http.c:312: undefined reference to `curl_easy_getinfo&#39;</div>
<div>/state/partition1/apps/netcdf/libncdap3/oc/./http.c:318: undefined reference to `curl_easy_strerror&#39;</div><div>/usr/local/lib/libnetcdf.a(liboc_la-curlfunctions.o): In function `set_user_password&#39;:</div><div>
/state/partition1/apps/netcdf/libncdap3/oc/./curlfunctions.c:26: undefined reference to `curl_easy_setopt&#39;</div><div>/state/partition1/apps/netcdf/libncdap3/oc/./curlfunctions.c:35: undefined reference to `curl_easy_setopt&#39;</div>
<div>/usr/local/lib/libnetcdf.a(liboc_la-curlfunctions.o): In function `set_proxy&#39;:</div><div>/state/partition1/apps/netcdf/libncdap3/oc/./curlfunctions.c:49: undefined reference to `curl_easy_setopt&#39;</div><div>/state/partition1/apps/netcdf/libncdap3/oc/./curlfunctions.c:53: undefined reference to `curl_easy_setopt&#39;</div>
<div>/state/partition1/apps/netcdf/libncdap3/oc/./curlfunctions.c:65: undefined reference to `curl_easy_setopt&#39;</div><div>/usr/local/lib/libnetcdf.a(liboc_la-curlfunctions.o):/state/partition1/apps/netcdf/libncdap3/oc/./curlfunctions.c:88: more undefined references to `curl_easy_setopt&#39; follow</div>
<div><br></div><div>I have searching the internet for a few days now, for solution but to no avail. If there is anyone who knows the solution, or know where I can find the solution, your help is greatly appreciated. I used Rocks cluster 5.3 for the OS and a few amd opteron machines built into cluster for this installation.</div>
<div><br></div><div>Thank you very much</div><br>-- <br>Regards,<br><br>Hisham Bin Mohd Aderis<br>Quantum Beez Sdn. Bhd.<br><br>IMPORTANT:<br>This e-mail (including any attachment hereto) is intended solely for the addressee and is confidential and privileged.  If this should have been sent to you in error, you are not to reproduce, distribute or take any action in reliance on it. Kindly notify us and delete the e-mail and all attachments immediately.<br>
<br>As e-mail and/or attachments may contain viruses and other interfering or damaging elements, the receipt and/or downloading of e-mail and/or attachments will be at your own risk and we accept no liability for any damage sustained as a result of any such viruses; you should carry out your own virus checks before opening any attachment.<br>
<br>
</div>