Re: NCARG PWRX function

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Tue, 4 Aug 2009 12:52:08 -0600 (MDT)

Dear Ruan Tao,

I'm not sure about the first question. You are using some older code
that I am not familiar with. I'm hoping Dave Kennison or Fred Clare
will be able to answer.

As for your second question, I think you need to add "-lgfortran" to
your compile line.

Please see our FAQ question on this:

     http://www.ncl.ucar.edu/FAQ/#misc_003

--Mary

On Wed, 5 Aug 2009, RUAN Tao wrote:

> Dear ncl helper,
>
> 1. Actually I want to check the output of OBSGRID which is the object
> analysis tool for WRF. When I used one of the utility which needed the
> ncarg tools for compiling, I got the error as follows,
>
> ERROR 3 IN PWRX - ARRAY IND OR IDD NOT LOADED CORRECTLY
>
>
>
> It seems some problem occured while calling PWRX function, but the utility
> is already process the output of OBSGRID in the previous time flame
> successfully. Could you give me some advice to fix this problem? The
> version of ncarg I am using is ncarg-4.4.1-x86_64.
>
> 2. when I want to compile another program inside WPS with NCL5.0.0, I got
> some error message as
>
> pgf90 -o plotfmt.exe plotfmt.o read_met_module.o module_debug.o \
> misc_definitions_module.o cio.o met_data_module.o \
> -L/usr/local/ncl-5.0.0-x86_64/lib -lncarg
> -lncarg_gks -lncarg_c -L/usr/X11R6/lib -lX11
> -L/usr/local/pgi-cdk-8.0.5cos5/linux86-64/8.0-5/lib
> -lpgftnrtl -lpgc -L/usr/lib64 -lg2c
> /usr/local/ncl-5.0.0-x86_64/lib/libncarg.a(cpcldr.o): In function
> `cpcldr_':
> cpcldr.f:(.text+0x420): undefined reference to `_gfortran_concat_string'
> cpcldr.f:(.text+0x446): undefined reference to `_gfortran_concat_string'
>
>
> does that means the ncl 5.0 inside my system is compiled by gfortran? how
> can I fix this? Do I need to recompile my ncl with pgi fortran?
>
>
> I appreciate your help.
>
> LJ(RUAN Tao)
>
>
>
>
> _______________________________________________
> ncl-install mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-install
>
_______________________________________________
ncl-install mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-install
Received on Tue Aug 04 2009 - 12:52:08 MDT

This archive was generated by hypermail 2.2.0 : Wed Aug 05 2009 - 20:36:26 MDT