comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » memory allocation on Macs
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: memory allocation on Macs [message #61026 is a reply to message #60098] Fri, 27 June 2008 06:40 Go to previous messageGo to previous message
wlandsman is currently offline  wlandsman
Messages: 743
Registered: June 2000
Senior Member
On Jun 26, 7:43 pm, Keflavich <keflav...@gmail.com> wrote:
 I think a big part of the problem is that the
> astron routines copy a lot of the arrays.  Euler is one place it
> crashes, one of the WCS rotation programs is another.
>

Yeah, Euler is not at all concerned about memory issues. Besides
performing all calculations in double precision, it makes sure that
the original arrays are not modified, and precomputes arrays of
trigonometric quantities (e.g. sin(ra))

I've put an udpated version of euler.pro on
http://idlastro.gsfc.nasa.gov/ftp/pro/astro/euler.pro
which is more careful about memory issues. Let it update the input
arrays ,e.g.

IDL> euler, ra,dec,select=1

But considering that you have problems with other routines too, I'd
probably chunk your processing, so, for example, you only process 50
million coordinates at a time.

> also, isn't euler's syntax 'euler,ra,dec,glon,glat,1' ?

Yep, my fingers were typing faster than my brain was thinking...

--Wayne
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Astronomy Dominates IDL Useage
Next Topic: doc_library question

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 10:22:21 PDT 2025

Total time taken to generate the page: 0.64384 seconds