Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 20040225: netCDFPerl install problem



Brock,

> To: support@xxxxxxxxxxxxxxxx
> From: Brock Murch <bmurch@xxxxxxxxxxxxxxxxxxx>
> Subject: netCDFPerl install problem
> Organization: USF
> Keywords: 200402252112.i1PLC0rV020734 netCDF Perl

The above message contained the following:

>       Any advice would be appreciated. Trying to work with Charlton
> Purvis at SC to get Carribean METAR wind data into netCDF for a
> Carribean mapserver application for a NOAA showcase next month in DC.
> 
> uname -a
> Linux fox.marine.usf.edu 2.4.20-28.9 #1 Thu Dec 18 13:45:22 EST 2003 i686 i686 
> i386 GNU/Linux
> 
> # cat VERSION
> 1.2.2
> 
> 
> which cc
> /usr/bin/cc
> [root@fox src]# type cc
> cc is /usr/bin/cc
...
> I also attached the core produced incase that helps. Also the perl_version
> 
> Many thanks,
> 
> -- 
> Brock Murch
> Managing Director
> Institute for Marine Remote Sensing 
> University of South Florida 
> 140 7th Ave South  
> St. Petersburg, FL 33701 
> http://imars.usf.edu/
> (727) 553-1186
...
> making `test' in directory /home/bmurch/software/perl/netcdf-perl-1.2.2/src/perl
> 
> make[2]: Entering directory `/home/bmurch/software/perl/netcdf-perl-1.2.2/src/perl'
> cp NetCDF.pm blib/lib/NetCDF.pm
> AutoSplitting blib/lib/NetCDF.pm (blib/lib/auto/NetCDF)
> Running Mkbootstrap for NetCDF ()
> chmod 644 NetCDF.bs
> cp NetCDF.bs blib/arch/auto/NetCDF/NetCDF.bs
> chmod 644 blib/arch/auto/NetCDF/NetCDF.bs
> PERL_DL_NONLAZY=1 /usr/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl
> Creating netCDF file...........................ok
> Setting fill mode..............................ok
> Defining fixed dimensions......................ok
> Defining fixed variables.......................ok
> Writing global attribute.......................ok
> Writing variable attributes....................ok
> Defining record dimension......................ok
> Defining record variables......................ok
> Ending definition..............................ok
> Writing fixed variable values..................ok
> Synchronizing netCDF I/O.......................ok
> Writing record values..........................ok
> Closing netCDF file............................ok
> Opening netCDF file for reading................ok
> Inquiring about netCDF file....................ok
> Checking global attribute name.................ok
> Checking global attribute value................ok
> Getting second dimension ID....................ok
> Checking second dimension information..........ok
> Checking fixed variable ID.....................ok
> Checking fixed variable information............ok
> Checking last value of first record variable...make[2]: *** [test_dynamic] Segmentation fault (core dumped)
> make[2]: Leaving directory `/home/bmurch/software/perl/netcdf-perl-1.2.2/src/perl'
> make[1]: *** [perl/test] Error 1
> make[1]: Leaving directory `/home/bmurch/software/perl/netcdf-perl-1.2.2/src'
> make: *** [test] Error 2
...

This is a known problem.  It appears to be due to a bug in version 5.8
of the perl(1) utility (it doesn't occur with any other version of
perl(1) -- including previous ones).

The workaround is to use another version of perl(1) (e.g., 5.7).

Regards,
Steve Emmerson


 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Office of Programs University Corporation for Atmospheric Research (UCAR)   Unidata is a member of the UCAR Office of Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690