Howdy! There is a running fault problem.
I used the GRID3 function to grid the irregularly scattered points (several million points) to regularly 3D gridded points (longitude, latitude, altitude). The code related is only:
lonout = findgen(46)*8
latout = findgen(46)*4-90
preout = 210.0-findgen(42)*5
lonout = lonout/360.
latout = latout/90.
preout = preout/210.0
thout = GRID3(lonIn,latIn,prIn,thDay,lonout,latout,preout,/GRID) ;thDay is thevariable needed to grid
The code was ran on a server with CentOS release version 6.5 and IDL release version8.2.3.
When the code was ran on the server with 5,000,000 scattered points for the first time,it worked well while calculating very slowly. Then I terminated it and reducedthe point number to around 500,000. But the code gave the error message with Segmentation fault (core dumped).
I tried reduced the point number to 8,000 and it worked well again but for 10,000points, the error message appeared again. I changed the server stack size andmax memory size to unlimited. It still didn’t work.
Doesanyone meet this situation before and help me to solve this problem? Thanks.
|