SAVE/RESTORE problems [message #11240] |
Thu, 19 March 1998 00:00 |
R.Balthazor
Messages: 7 Registered: June 1996
|
Junior Member |
|
|
Hello,
I have a pair of routines that worked fine in IDL4.0. The first
essentially read in some large arrays from a number of datasets, and
then performed a SAVE,/VARIABLES. The second then performed a RESTORE
and proceeded to perform various graphical plottings on them. The
reason it was split into two was that the first routine, reading in the
variables, took around 15 minutes to read everything in (the many source
datafiles are HUGE) and I wanted to experiment in the second routine
with different ways of plotting the output. The size of the idlsave.dat
file is around 23 Mbytes.
First I .compiled the routines under IDL5.0.2 and ran them. The first
routine ran fine, loading up the data from the huge datafiles. The
second crashed out in the following manner.
IDL> TUBEREAD4
Starting restore...
% Stopped on unknown instruction(0) at 538298664.
% Execution halted at: TUBEREAD4 1 tuberead4.pro
The diagnostic "Starting restore..." is a PRINT command immediately
before the RESTORE, and it doesn't reach the "Ending restore..."
immediately afterwards so I guess the problem is in RESTORE, even if it
claims it crashes out at line 1 (which is not the case).
Second try, I simply appended the second routine to the first, removed
the SAVE,/VARIABLES and the RESTORE (and the spurious END and PRO
lines), and compiled the whole thing. This ran perfectly, but is less
than useful because of the time taken to read in before I get any useful
image/data processing and output done.
I'd be very grateful if anyone can offer any suggestions for how to get
around this problem.
thanks in advance,
Richard
--
Dr. Richard Balthazor Upper Atmosphere Modelling Group
r.balthazor@sheffield.ac.uk School of Mathematics and Statistics
Tel: (+44 114) 222 3711 University of Sheffield
Fax: (+44 114) 222 3739 Sheffield S3 7RH
http://www.shef.ac.uk/~ms/staff/balthazor
|
|
|