[Wrf-users] RIP compile issues

Dmitry N. Mikushin maemarcus at gmail.com
Wed Jul 25 10:51:21 MDT 2012


Hi Lee,

Try to link against gfortran runtime library (-lgfortran). It may resolve
the linking issues.

- D.


2012/7/24 Lee Eddington <lee.w.eddington at gmail.com>

> 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
> _______________________________________________
> Wrf-users mailing list
> Wrf-users at ucar.edu
> http://mailman.ucar.edu/mailman/listinfo/wrf-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/wrf-users/attachments/20120725/0c96dd43/attachment.html 


More information about the Wrf-users mailing list