Re: lib path

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Mon, 17 Jul 2006 08:21:55 -0600 (MDT)

Dear Akhilesh,

It looks like the Makefile or script you got from WRF has some
hard-coded paths in it that are only good on NCAR supercomputers.

I believe you need to replace "/usr/local/lib32/r4i4" with wherever
you have installed the NCAR Graphics libraries on your system. This
should be the directory $NCARG_ROOT/lib.

On the NCAR supercomputers, because there are up to four versions of
NCAR Graphics on some of them (double precision and single precision,
with 32-bit and 64-bit versions of both of these), users there are
required to additionally set the NCARG_LIB environment variable to the
appropriate path to the NCAR Graphics libraries.

It sounds like you are working on your own IBM/AIX system, and I
assume that you only have one version of NCAR Graphics installed
there. Therefore, you want to make sure that you don't have NCARG_LIB
set; this is only required on systems where you have multiple versions
installed. I'm saying this just in case you are carrying over
NCARG_LIB from a possible NCAR account.

--Mary

On Sat, 15 Jul 2006, Akhilesh Mishra wrote:

> Dear Users,
> I have been trying to run WRF 3DVAR. I installed NCARG precomiled binaries
> for AIX_64_RS6000. I am working on IBM RS/6000 p690 AIX 5.1.03.
> I tested the NCARG as instructed and it was working well. When i run the
> script in 3DVAR, here is the error I am getting.
>
> xlf_r -o Map.exe -bmaxdata:2000000000 -bmaxstack:256000000 -Q
> ../libfdvar.a -L/usr/local/lib32/r4i4 -lncarg -lncarg_gks -lncarg_c -lX11
> -lm
> ld: 0706-006 Cannot find or open library file: -l ncarg
> ld:open(): A file or directory in the path name does not exist.
> ld: 0706-006 Cannot find or open library file: -l ncarg_gks
> ld:open(): A file or directory in the path name does not exist.
> ld: 0706-006 Cannot find or open library file: -l ncarg_c
> ld:open(): A file or directory in the path name does not exist.
> make: 1254-004 The error code from the last command is 255.
> make: 1254-005 Ignored error code 255 from last command.
> (mv Map.exe ../.);
> mv: 0653-401 Cannot rename Map.exe to .././Map.exe:
> A file or directory in the path name does not exist.
> make: 1254-004 The error code from the last command is 1.
> make: 1254-005 Ignored error code 1 from last command.
>
> Seems I couldn't set the LIB PATH properly. I appreciate the help.
> Many Thanks
>
> --
> Akhilesh Kumar Mishra
> Research Associate
> 411, Meteorology
> Florida State University, Tallahassee, FL, USA
>
_______________________________________________
ncarg-talk mailing list
ncarg-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncarg-talk
Received on Mon Jul 17 2006 - 08:21:55 MDT

This archive was generated by hypermail 2.2.0 : Mon Jul 17 2006 - 11:02:25 MDT