[Wrf-users] RIP compile issues

Lee Eddington lee.w.eddington at gmail.com
Mon Jul 23 22:19:10 MDT 2012


I'm trying to compile RIP using PGI and am getting the following:


/usr/local/lib/libncarg.a(agcurv.o): In function `agcurv_':
agcurv.f:(.text+0x66): undefined reference to `_gfortran_copy_string'
/usr/local/lib/libncarg.a(aggtch.o): In function `aggtch_':
aggtch.f:(.text+0x3e): undefined reference to `_gfortran_copy_string'
aggtch.f:(.text+0x7b): undefined reference to `_gfortran_copy_string'
/usr/local/lib/libncarg.a(aginit.o): In function `aginit_':
aginit.f:(.text+0x27e): undefined reference to `_gfortran_pow_r4_i4'
/usr/local/lib/libncarg.a(agscan.o): In function `.L23':
agscan.f:(.text+0x120a): undefined reference to `_gfortran_st_write'
agscan.f:(.text+0x1212): undefined reference to `_gfortran_st_write_done'
/usr/local/lib/libncarg.a(agsetp.o): In function `agsetp_':
agsetp.f:(.text+0x5fa): undefined reference to `_gfortran_compare_string'


I'm assuming it's because I downloaded the NCL Linux binaries that
were compiled with gfortran and that this is not compatible with
compiling RIP with PGI.

I tried compiling RIP with gfortran and got some of the following errors:


Error: Can't open included file 'netcdf.inc'


I'm assuming this is due to compiling NetCDF with PGI.

Do I have to compile NCL with PGI or is there something else I need to do?

Thanks,
Lee


More information about the Wrf-users mailing list