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]

[UDUNITS #RSQ-889375]: Installation Problems



Chris,

> I added the LD_MATH='-lm' as you suggested. This helped. I am able to
> compile now. However, I get a segmentation fault when I run my code. The
> segmentation fault occurs in timeindex --> udparse --> utdec.

What is "timeindex"?  Is that your program?  Is it written in C or 
Fortran?

> I worked
> all morning without success trying to figure out why it crashed. I was
> able to run my code on a linux 32-bit computer previously. The code now
> crashes on my new 64-bit linux computer. Attached are the log files
> again (configure.log, make.log, test.log, and install.log). I also
> attached the udunits.inc file. I had to modify this file to get things
> to work on 32-bit linux. I modified this file in exactly the same way
> for the 64-bit linux. I thought this file might be helpful to you.

The UDUNITS package works on 64-bit systems here and the "make test"
that you did shows that the library (but not the Perl extension module)
works on your system.

The problem is probably something simple.  How are you using the 
package?  If you're using the Fortran interface, then in what primitive
type are you storing the returned pointers to unit structures?

> Thanks,
> Chris
> 
> 
> ------------------------------------------------------------------------
> Dr. Christopher J. Mertens
> Senior Research Scientist
> NASA Langley Research Center
> Science Directorate, Chemistry and Dynamics Branch
> 21 Langley Blvd., Mail Stop 401B
> Hampton, Virginia 23681-2199 USA
> Voice: +1-757-864-2179
> Fax: +1-757-864-6326
> Email: Christopher.J.Mertens@xxxxxxxx
> ------------------------------------------------------------------------

Regards,
Steve Emmerson

Ticket Details
===================
Ticket ID: RSQ-889375
Department: Support UDUNITS
Priority: Normal
Status: On Hold


 
 
  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