Re: wrf_user_fortran_util_0.so, file not loaded

From: <bbaer_at_nyahnyahspammersnyahnyah>
Date: Fri, 27 Jun 2008 09:22:05 +0930

Hi Mary, thanks.
In /root/.bashrc :
export LD_LIBRARY_PATH=/home/admin/DRJACK/UTIL/PGI

The file looks OK:
[root_at_ns1 root]# cd /home/admin/DRJACK/UTIL/PGI
[root_at_ns1 PGI]# ls -la
total 620
drwxrwxr-x 2 500 500 4096 2008-03-26 15:48 .
drwxr-xr-x 5 root root 4096 2007-09-26 15:36 ..
-rwxr-xr-x 1 root root 109944 2007-09-28 15:08 libg2c.so.0
-r-xr-xr-x 1 root root 395769 2008-03-26 15:48 libguide.so
-r-xr-xr-x 1 500 500 104864 2005-11-13 09:06 libpgc.so

It was built on a different machine. But I think it is used
elsewhere in this propgram suite succesfully.....

The program calling this is a cgi script from a web page, so
I suspect it may be related to the apache environment?
My apologies, this code was all written by someone else and
I have virtually no programming skills, just some sys admin
skills.
Regards, Bernie.

> Bernie,
>
> What exactly do you have LD_LIBRARY_PATH set to?
>
> If "libpgc.so" was in the directory /usr/local/lib, say,
> then you would set:
>
> setenv LD_LIBRARY_PATH /usr/local/lib
>
> Was this *.so built on the same machine that you are
> trying to load it on? Perhaps the libpgc.so is at a
> different version, or could be soft-linked to a bad file.
> You should do an "ls -l" on the file to see if it is
> linked to a valid file.
>
> Just FYI: the latest version of NCL has many of the WRF
> functions built-in, so you may not need these *.so files.
> You can see a full list of WRF functions (both analysis
> and graphical) at:
>
> http://www.ncl.ucar.edu/Document/Functions/wrf.shtml
>
>
> --Mary
>
> On Fri, 27 Jun 2008, Bernie Baer wrote:
>
> > Hello all,
> > any advice why wrf_user_fortran_util_0.so would not be
> > loaded? $LD_LIBRARY_PATH is pointing to the directory
> > where libpgc.so is located, so that is a mystery also.
> > Output of script is below, thanks, Bernie.
> >
> > Copyright (C) 1995-2007 - All Rights Reserved
> > University Corporation for Atmospheric Research
> > NCAR Command Language Version 4.3.1
> > The use of this software is governed by a License
> > Agreement. See http://www.ncl.ucar.edu/ for more
> > details. (0) ENV_NCL_ID= Valid 1400 LST THU 26 Jun
> > 2008 = (0) ENV_NCL_REGIONNAME= NEWSOUTHWALES =
> > (0)
> > ENV_NCL_FILENAME=
> >
> /home/admin/DRJACK/WRF/WRFV2/RASP/NEWSOUTHWALES/wrfout_d02
> > _2008-06-26_03:00:00 =?
> > (0) ENV_NCL_OUTDIR= /tmp =
> > (0) ENV_NCL_PARAMS=
> > sounding0_NEWSOUTHWALES_-33.511_147.871 = (0)
> > ENV_NCL_CONTOURS= missing = (0)
> > ENV_NCL_INFOFILENAME= missing = warning:An error
> > occurred loading the external file
> > ./wrf_user_fortran_util_0.so, file not loaded libpgc.so:
> > cannot open shared object file: No such file or
> directory ^Mwarning:error at line 4 in file
> wrf_user_mass.ncl >
> > ^Mfatal:syntax error: line 177 in file wrf_user_mass.ncl
> > before or near : wrf_user_fortran_util_0 :
> > ------------------------------^
> >
> > ^Mfatal:error in statement
> > ^Mfatal:syntax error: line 181 in file wrf_user_mass.ncl
> > before or near : wrf_user_fortran_util_0 :
> > ------------------------------^
> >
> > ^Mfatal:error in statement
> > ^Mfatal:syntax error: line 184 in file wrf_user_mass.ncl
> > before or near : wrf_user_fortran_util_0 :
> > ------------------------------^
> >
> > ^Mfatal:error in statement
> > ^Mfatal:syntax error: line 200 in file wrf_user_mass.ncl
> > before or near : wrf_user_fortran_util_0 :
> > ------------------------------^
> >
> > ^Mfatal:error in statement
> > ^Mfatal:syntax error: line 208 in file wrf_user_mass.ncl
> > before or near : wrf_user_fortran_util_0 :
> > ------------------------------^
> >
> > ^Mfatal:error in statement
> > ^Mfatal:syntax error: line 210 in file wrf_user_mass.ncl
> > before or near : wrf_user_fortran_util_0 :
> > ------------------------------^
> > ------------------------------^
> >
> > ^Mfatal:error in statement
> > ^Mfatal:syntax error: line 225 in file wrf_user_mass.ncl
> > before or near : wrf_user_fortran_util_0 :
> > ------------------------------^
> >
> > ^Mfatal:error in statement
> > ^Mfatal:syntax error: line 233 in file wrf_user_mass.ncl
> > before or near : wrf_user_fortran_util_0 :
> > ------------------------------^
> >
> > ^Mfatal:error in statement
> > ^Mfatal:syntax error: line 235 in file wrf_user_mass.ncl
> > before or near : wrf_user_fortran_util_0 :
> > ------------------------------^
> >
> > ^Mfatal:error in statement
> > ^Mfatal:syntax error: line 249 in file wrf_user_mass.ncl
> > before or near : wrf_user_fortran_util_0 :
> > ------------------------------^
> >
> > ^Mfatal:error in statement
> > ^Mfatal:syntax error: line 256 in file wrf_user_mass.ncl
> > before or near : wrf_user_fortran_util_0 :
> > ------------------------------^
> >
> > ^Mfatal:error in statement
> > ^Mfatal:syntax error: line 258 in file wrf_user_mass.ncl
> > before or near : wrf_user_fortran_util_0 :
> > ------------------------------^
> >
> > ^Mfatal:error in statement
> > ^Mfatal:syntax error: line 279 in file wrf_user_mass.ncl
> > before or near : wrf_user_fortran_util_0 :
> > ------------------------------^
> >
> > ^Mfatal:error in statement
> > ^Mfatal:syntax error: line 281 in file wrf_user_mass.ncl
> > before or near : wrf_user_fortran_util_0 :
> > ------------------------------^
> >
> > ^Mfatal:error in statement
> > ^Mfatal:syntax error: line 316 in file wrf_user_mass.ncl
> > before or near : wrf_user_fortran_util_0 :
> > --------------------------------^
> >
> > ^Mfatal:error in statement
> > ^Mfatal:Syntax Error in block, block not executed
> > ^Mfatal:error at line 338 in file wrf_user_mass.ncl
> >
> > ^Mfatal:syntax error: line 525 in file wrf_user_mass.ncl
> > before or near : wrf_user_fortran_util_0 :
> > -------------------------------^
> >
> > ^Mfatal:error in statement
> > ^Mfatal:syntax error: line 662 in file wrf_user_mass.ncl
> > before or near : wrf_user_fortran_util_0 :
> > -------------------------------^
> >
> > ^Mfatal:error in statement
> > ^Mfatal:syntax error: line 684 in file wrf_user_mass.ncl
> > before or near : wrf_user_fortran_util_0 :
> > -------------------------------^
> >
> > ^Mfatal:error in statement
> > ^Mfatal:syntax error: line 710 in file wrf_user_mass.ncl
> > before or near : wrf_user_fortran_util_0 :
> > -------------------------------^
> >
> > ^Mfatal:error in statement
> > ^Mfatal:syntax error: line 736 in file wrf_user_mass.ncl
> > before or near : wrf_user_fortran_util_0 :
> > -------------------------------^
> >
> > ^Mfatal:error in statement
> > ^Mfatal:syntax error: line 760 in file wrf_user_mass.ncl
> > before or near : wrf_user_fortran_util_0 :
> > -------------------------------^
> >
> > ^Mfatal:error in statement
> > ^Mfatal:syntax error: line 783 in file wrf_user_mass.ncl
> > before or near : wrf_user_fortran_util_0 :
> > -------------------------------^
> >
> > ^Mfatal:error in statement
> > ^Mfatal:syntax error: line 800 in file wrf_user_mass.ncl
> > before or near : wrf_user_fortran_util_0 :
> > -------------------------------^
> >
> > ^Mfatal:error in statement
> > ^Mfatal:syntax error: line 832 in file wrf_user_mass.ncl
> > before or near : wrf_user_fortran_util_0 :
> > -------------------------------^
> >
> > ^Mfatal:error in statement
> > ^Mfatal:syntax error: line 834 in file wrf_user_mass.ncl
> > before or near : wrf_user_fortran_util_0 :
> > -------------------------------^
> >
> > ^Mfatal:error in statement
> > ^Mfatal:Syntax Error in block, block not executed
> > ^Mfatal:error at line 866 in file wrf_user_mass.ncl
> >
> > ^Mfatal:syntax error: line 909 in file wrf_user_mass.ncl
> > before or near : wrf_user_fortran_util_0 :
> > ----------------------------^
> >
> > ^Mfatal:error in statement
> > ^Mfatal:Syntax Error in block, block not executed
> > ^Mfatal:error at line 912 in file wrf_user_mass.ncl
> >
> > ^Mfatal:syntax error: line 931 in file wrf_user_mass.ncl
> > before or near : wrf_user_fortran_util_0 :
> > ----------------------------^
> >
> > ^Mfatal:error in statement
> > ^Mfatal:Syntax Error in block, block not executed
> > ^Mfatal:error at line 950 in file wrf_user_mass.ncl
> >
> > ^Mwarning:An error occurred loading the external
> > file ./ncl_jack_fortran.so, file not loaded
> > libpgc.so: cannot open shared object file: No such file
> > or directory ^Mwarning:error at line 130 in file
> rasp.ncl >
> > ^M(0) >>> using NON-FIXED COLORS
> > fatal:Could not open (rasp.site_load.initialization.ncl)
> > ^Mfatal:error at line 659 in file rasp.ncl
> >
> >
> >
> >
> >
> ----------------------------------------------------------
> ---------------------- >
> >
> >
Received on Thu Jun 26 2008 - 17:52:05 MDT

This archive was generated by hypermail 2.2.0 : Mon Jul 14 2008 - 10:44:22 MDT