Hi Lee,<br><br>Try to link against gfortran runtime library (-lgfortran). It may resolve the linking issues.<br><br>- D.<br><br><br><div class="gmail_quote">2012/7/24 Lee Eddington <span dir="ltr">&lt;<a href="mailto:lee.w.eddington@gmail.com" target="_blank">lee.w.eddington@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I&#39;m trying to compile RIP using PGI and am getting the following:<br>
<br>
<br>
/usr/local/lib/libncarg.a(agcurv.o): In function `agcurv_&#39;:<br>
agcurv.f:(.text+0x66): undefined reference to `_gfortran_copy_string&#39;<br>
/usr/local/lib/libncarg.a(aggtch.o): In function `aggtch_&#39;:<br>
aggtch.f:(.text+0x3e): undefined reference to `_gfortran_copy_string&#39;<br>
aggtch.f:(.text+0x7b): undefined reference to `_gfortran_copy_string&#39;<br>
/usr/local/lib/libncarg.a(aginit.o): In function `aginit_&#39;:<br>
aginit.f:(.text+0x27e): undefined reference to `_gfortran_pow_r4_i4&#39;<br>
/usr/local/lib/libncarg.a(agscan.o): In function `.L23&#39;:<br>
agscan.f:(.text+0x120a): undefined reference to `_gfortran_st_write&#39;<br>
agscan.f:(.text+0x1212): undefined reference to `_gfortran_st_write_done&#39;<br>
/usr/local/lib/libncarg.a(agsetp.o): In function `agsetp_&#39;:<br>
agsetp.f:(.text+0x5fa): undefined reference to `_gfortran_compare_string&#39;<br>
<br>
<br>
I&#39;m assuming it&#39;s because I downloaded the NCL Linux binaries that<br>
were compiled with gfortran and that this is not compatible with<br>
compiling RIP with PGI.<br>
<br>
I tried compiling RIP with gfortran and got some of the following errors:<br>
<br>
<br>
Error: Can&#39;t open included file &#39;netcdf.inc&#39;<br>
<br>
<br>
I&#39;m assuming this is due to compiling NetCDF with PGI.<br>
<br>
Do I have to compile NCL with PGI or is there something else I need to do?<br>
<br>
Thanks,<br>
Lee<br>
_______________________________________________<br>
Wrf-users mailing list<br>
<a href="mailto:Wrf-users@ucar.edu">Wrf-users@ucar.edu</a><br>
<a href="http://mailman.ucar.edu/mailman/listinfo/wrf-users" target="_blank">http://mailman.ucar.edu/mailman/listinfo/wrf-users</a><br>
</blockquote></div><br>