[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: address@hidden
> ------------------------------------------------------------------------

Regards,
Steve Emmerson

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


NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.