[ncl-install] Build NCL 6.1.2 on with xlc

HCL Infosystems Ltd hpcssupport at tropmet.res.in
Tue Mar 26 02:40:24 MDT 2013


Hi wei,

I checked udunits with "nm libudunits.a" command and it has all ut_xxxx functions. Also netcdf lib also having nc_xxxx functions. I am using the proper link, but still I am getting the same error as discribed in my last mail.

For any confusion, i removed these source codes i.e. udunits and netcdf and again I rebuiled the same. But still there is no luck for me.

So please let me know what need to be done from my side. Do i need to send you configure logs for udunits and netcdf as well?

Regards
Amit

----- Original Message -----
From: "Wei Huang" <huangwei at ucar.edu>
To: "HCL Infosystems Ltd" <hpcssupport at tropmet.res.in>
Cc: "Mary Haley" <haley at ucar.edu>, ncl-install at ucar.edu
Sent: Friday, March 22, 2013 9:05:27 PM
Subject: Build NCL 6.1.2 on with xlc

Amit,

Sorry about the tar file. I use a Mac, and it could be a issue with Mac and your AIX system.
But I am glad you have resolved that issue. If you still need that tar file, I can re-tar and send to you.

The error message mainly related to udunits, and netcdf.
It seems either you do not have proper libraries for those two package,
or you have the wrong link.

>From your make output file:
        -L/gpfs1/home/amit/TEST/ncl_ncarg-6.1.2/NCL/lib 
        -L/gpfs1/home/amit/NCL/local/lib 
        -L/opt/freeware/lib 
        -L/usr/lib 
        -L/usr/local/lib 
        -L/gpfs1/home/amit/NCL/cairo-1.10.2/lib 
        -L/gpfs1/home/amit/punam/cairo/freetype-2.4.11/lib 
        -L/gpfs1/home/amit/SOURCE/curl-7.29.0/lib 
        -L/gpfs1/home/amit/SOURCE/udunits-2.1.24/lib 
        -lnetcdf -lcurl        
        -ludunits2 -lexpat  
        -lgrib2c -ljasper -lpng -lz -lpng -lz 
        -lcairo -lfontconfig -lpixman-1 -lfreetype -lexpat -lpng -lz 
        -lpthread -lbz2 -lXrender 

Please check the udunits-2.1.24/lib to make sure you have libudunits2.a, 
and then run "nm libudunits.a" to make sure you have those ut_xxxx functions.

I could see clearly where netcdf lib come from, and make sure it has those nc_xxxx functions.

Regards,

Wei

huangwei at ucar.edu
VETS/CISL
National Center for Atmospheric Research
P.O. Box 3000 (1850 Table Mesa Dr.)
Boulder, CO 80307-3000 USA
(303) 497-8924






On Mar 21, 2013, at 11:04 PM, HCL Infosystems Ltd <hpcssupport at tropmet.res.in> wrote:

> Hi Wei,
> 
> Yes, I am trying to build NCL6.1.2 and today, while doing the untar of the "remove_pretty_function.tar.gz" file, i am getting the below msg:
> 
> ############################################QUOTE##################################################
> amit at iitm01n2:/gpfs1/home/amit/NCL/ncl_ncarg-6.1.2/ni/src/ncl>tar xvf remove_pretty_function.tar.gz
> tar: Ignoring unknown extended header keyword `SCHILY.dev'
> tar: Ignoring unknown extended header keyword `SCHILY.ino'
> tar: Ignoring unknown extended header keyword `SCHILY.nlink'
> Execute.c
> tar: Ignoring unknown extended header keyword `SCHILY.dev'
> tar: Ignoring unknown extended header keyword `SCHILY.ino'
> tar: Ignoring unknown extended header keyword `SCHILY.nlink'
> FileSupport.c
> tar: Ignoring unknown extended header keyword `SCHILY.dev'
> tar: Ignoring unknown extended header keyword `SCHILY.ino'
> tar: Ignoring unknown extended header keyword `SCHILY.nlink'
> NclAdvancedFile.c
> tar: Ignoring unknown extended header keyword `SCHILY.dev'
> tar: Ignoring unknown extended header keyword `SCHILY.ino'
> tar: Ignoring unknown extended header keyword `SCHILY.nlink'
> NclAtt.c
> tar: Ignoring unknown extended header keyword `SCHILY.dev'
> tar: Ignoring unknown extended header keyword `SCHILY.ino'
> tar: Ignoring unknown extended header keyword `SCHILY.nlink'
> NclMultiDVallistData.c
> tar: Ignoring unknown extended header keyword `SCHILY.dev'
> tar: Ignoring unknown extended header keyword `SCHILY.ino'
> tar: Ignoring unknown extended header keyword `SCHILY.nlink'
> NclNetCDF4.c
> tar: Ignoring unknown extended header keyword `SCHILY.dev'
> tar: Ignoring unknown extended header keyword `SCHILY.ino'
> tar: Ignoring unknown extended header keyword `SCHILY.nlink'
> Translate.c
> ###########################################UNQUOTE#################################################
> 
> And after untar i reran the "make Everything >& make-output &" command, but still i am getting the same error about "Undeclared identifier __PRETTY_FUNCTION__". Maybe some gun tar version incompatibility occurred. 
> 
> Also Yesterday, i manually commented this "__PRETTY_FUNCTION__" from the above files which were causing to build NCL V6.1.2. So as of now, build process is not giving me the error message for "Undeclared identifier __PRETTY_FUNCTION__". But now, i stuck  with different error message. Please find the attached file "make-output" for new error message.    
> 
> So request you to please look into this error.
> 
> Regards
> Amit


More information about the ncl-install mailing list