[Thread Prev][Thread Next][Index]
Re: [ferret_users] Memory error
- To: ferret_users@xxxxxxxx
- Subject: Re: [ferret_users] Memory error
- From: "Ansley C. Manke" <ansley.b.manke@xxxxxxxx>
- Date: Thu, 23 Jan 2020 14:21:20 -0800
- Arc-authentication-results: i=2; mx.google.com; dkim=pass header.i=@noaa.gov header.s=google header.b=jNXRZceC; spf=pass (google.com: domain of ansley.b.manke@xxxxxxxx designates 209.85.220.41 as permitted sender) smtp.mailfrom=ansley.b.manke@xxxxxxxx; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=noaa.gov
- Arc-authentication-results: i=1; mx.google.com; dkim=pass header.i=@noaa.gov header.s=google header.b=jNXRZceC; spf=pass (google.com: domain of ansley.b.manke@xxxxxxxx designates 209.85.220.41 as permitted sender) smtp.mailfrom=ansley.b.manke@xxxxxxxx; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=noaa.gov
- Arc-message-signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-archive:list-help:list-post:list-id:mailing-list:precedence :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:to:subject:dkim-signature; bh=e1qwPDqDi3qfGZ5F8Vn9EhM0NGZZfxog121invVVH7A=; b=e/KMdeRlXvmzxI2/J4slf9d49qggirKhxWCB4ci4AlgqyAhFB0P0yEFeqPUmROpO3f OuUZKriSqbyoU+isOKp/fMPSY3dK8S1EA4uHtddaOCJqgu1QHZBjn4PvHTiBIxZK8cUq iH/q1HOR6tLv7tSu4GVGC7J4I6HBOqNTqLyR/Nc68xJAl7ITxKcK2IT117FuTrG2DOiE 5PNLuEHOPeg6nyp0/xGXrYmI+jOJokr6s9wubrtK2QYV0drapsuY4sZKjnVLtbDuFit+ h4kULiYJsGP6gZr2nhpz/GaJ4RTschj704ui4nNF3Dgaq+7RSGZpO342x98rsiE7aYOE f/5Q==
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:to:subject:dkim-signature; bh=e1qwPDqDi3qfGZ5F8Vn9EhM0NGZZfxog121invVVH7A=; b=qmX1MW8jbcFcft6GYvk/MQETokhvuIbxOaUPAWyslt+TcbzHLp2/kEHP6qZXtlFk6x ReBAQv7SYvequt1zyhXEAblxqDSXUSJoGgJgssTg/+Tc5d+2PBg5+ryhDnMRpqhZUEqE lKeJUiEqBCUFL766oiGbpgCUbpUj7ePBspl7oJWvSBncw3HNY0TEUTwSZc40+MAMBg/l cOv9n/QzfXsyC+eLo5+liwVgOH7ti0z0sN7M2DvGaxxSHW6AZ/TR6BNDOZ+jWROWXPeQ HrxMfzztImz/grkxRZRuSgaWfR5wv53jc3DL4kl8rFXWkWLRBvl300bCETq2n3kT1LiF IIfw==
- Arc-seal: i=2; a=rsa-sha256; t=1579818084; cv=pass; d=google.com; s=arc-20160816; b=FCwT7poNQT+whIyJUssS9jDL9GmkZTr0wY7ukUlIOXrhpFY7qGVg+GBDuZDqKZGsyt NpqMIsvf2UStdXjTUJ9XVXVm7oINwn19bJNJItgRXylrrku46lnX2Uyx554mnFOY/r8a /QhIvLLYMjUxr69r7oYPNbaM5ZSjajC2C4dicWW1WLvaaKWHWj3p2BGbAfs0LZLrSbGY GydbwmKmbFP6X859vnFQDbCSbdmFE5LHi054jMXiqZNMAHz4tIPoOW9FPdZnsHax6yFq 8UEBOvIV5PkgrrMME2WgBt0clmCx42x/uTG4AUunVm9TN7PeUqtkP3mCpS4mNXEAtkao NZgw==
- Arc-seal: i=1; a=rsa-sha256; t=1579818083; cv=none; d=google.com; s=arc-20160816; b=izKtT6l7rbCc7y0tBFGO1UmJBxP7SYp/6W0yWKAmb01h7AOo1PK8fk+Z4LKPYePf54 1qiXX2+P1WYjY4mBv52IdVsrx9ks/YhkEKf+sI8RBP9o6Ub9wQLxzbwa+DFJp8mbxapE nA6i5g+rxbN3Azu2fY7G79NAAxp2qE2zun+SmhzlZnkqC8T9mhDlESCiVpSjLeTajJ6H 3RIqPI3el+SaBb8V/Yq621D77Zm2pXx4XoOO48AeHtAz21GMrRO8Oyg4F1WujIZDfra1 jXWOaGQR4o3FEti+pGwSvILMflOD7VEuHgaPyIoKZVPahZXAXTF+IPYjn3vso1tpkwk3 hv3g==
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=noaa.gov; s=google; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive; bh=e1qwPDqDi3qfGZ5F8Vn9EhM0NGZZfxog121invVVH7A=; b=lpEXGvagZoswnKAlp43i+uUADYbpz6G8aLZwzK58Mbl5THz++rqbuV4IM6EgXjm6r9 R3WhtiUoIh0NHMqqw6F1sXZJqY/rfJu95qaBSVuk+qvWD1CtbYcvpEVDMFAma4UZosSL deNbtzBu7TPzZHrsTM5FOUXJIXVM8k2pZyPLuCQJF0laWbzrFi/BO4grDuTcY/izdCnK G/1AWw37wcriuNRoy450KzJp3sKMcZZ8CrHlWpYk/ljHkfj7ef+WGqXUW2zYD+V0YA6k oTGSIch6i9mOx9A8P+nmLy+CfoZ16KqEvT4d6OqyMbjmrEqxrKs+He0EJVzfU7GzSyiT KKtg==
- In-reply-to: <3a342462d87fd2d4ad97646b867377de@iiserkol.ac.in>
- List-archive: <https://groups.google.com/a/noaa.gov/group/ferret_users/>
- List-help: <https://support.google.com/a/noaa.gov/bin/topic.py?topic=25838>, <mailto:ferret_users+help@noaa.gov>
- List-id: <ferret_users.noaa.gov>
- List-post: <https://groups.google.com/a/noaa.gov/group/ferret_users/post>, <mailto:ferret_users@noaa.gov>
- Mailing-list: list ferret_users@xxxxxxxx; contact ferret_users+owners@xxxxxxxx
- References: <3a342462d87fd2d4ad97646b867377de@iiserkol.ac.in>
- Sender: owner-ferret_users@xxxxxxxx
- User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.3.1
Hi Asiya,
First I'd like to say that in the most recent versions of Ferret,
SET MEMORY does not allocate memory from the system but only sets
an upper limit on the amount it will use as needed. This
discussion is for versions previous to v7.2. The current
documentation for SET MEMORY is here, with the discussion at the
bottom of the page for earlier versions.
https://ferret.pmel.noaa.gov/Ferret/documentation/users-guide/computing-environment/MEMORY-USE
In Ferret v7, the SET MEMORY/SIZE= causes Ferret to ask the
system to allocate that numer of mega-words (storage locations) of
memory, so SET MEM/SIZE=1400 asks for over 11 Gb of memory. When
you tried tried "SET MEMORY/SIZE=1400" did you see an error
message? In v7, it might report
Cached data cleared from memory
Unable to allocate 1400.0 Mwords of memory.
Restoring previous memory of 25.6 Mwords.
To get an idea of the amount of memory you might need, look at
the subset of the grid that your definitions use. The _expression_ sst_0001[x=120:180@ave,y=-16:6@ave]
needs to read data 60*22*165. It's in megawords, so,
yes? list 60*22*165/1000
VARIABLE : 60*22*165/1000
217.8
So just for that _expression_ you'd need to have the SET
MEMORY/SIZE setting larger than 218. Ferret will store
intermediate results and re-use some of the memory, but there are
a number of calculations done to evaluate variable "correl", so
probably more memory is needed. Try SET MEMORY/SIZE=300, or maybe
500
On 1/22/2020 11:52 PM, abs15ms027
wrote:
Hello,
I am repeatedly getting an error while using some of the data sets
in Ferret. Error is as follows:
Command file, command group, or REPEAT execution aborted
*** NOTE: You can use SET MEMORY/SIZE=xxx to increase
memory.
*** NOTE: The "Memory use" section of the FERRET Users
Guide has further tips.
I tried SET MEMORY/SIZE=1400 and SET MEMORY/SIZE=5e12, but still,
I am getting the same error.
My script looks as follows.
use abs_era_data.nc
set mode metafile
let
ab=(sst_0001[x=120:180@ave,y=-16:6@ave]+sst_0001[x=-150:-180@ave,y=-16:6@ave])/2
let p=ab
let q=sp_0001[g=sst_0001]
go variance
let ad=(correl)*(39/(1-(correl)^2))^0.5
let sign=if abs(ad) ge 2.02269092 then correl
fill/x=-70:100/y=0:55/pal=blue_orange/nolab correl #getting error
at this lin
contour/x=-40:90/y=12:60/ov/nolab sign
go box 8,-13,41,52
go box 69.5,75,29,35.5
go land thick
LABEL ,,-1,0,.16 "Longtitude"
LABEL ,,-1,90,.16 "Latitude"
label/nouser 4.5,6.5,0,0,0.1 "@TRcorrelation of SST over
equitorial Pacific with Surface pressure"
cancel mode metafile
sp Fprint -o slp_sst_ipwp_correl_qq.ps metafile.plt
Ferret version I am using is FERRET v7 (opt)
The data set used is ERA 5 single-level data and includes these
variables:-
name title I J K
L M N
SST_0001 Sea surface temperature 1:1440 1:721
... 1:164 ... ...
SP_0001 Surface pressure 1:1440 1:721
... 1:164 ... ...
TP_0001 Total precipitation 1:1440 1:721
... 1:164 ... ...
SST_0005 Sea surface temperature 1:1440 1:721
... 1:164 ... ...
SP_0005 Surface pressure 1:1440 1:721
... 1:164 ... ...
TP_0005 Total precipitation 1:1440 1:721
... 1:164
It would be of great help if you could provide me with a solution
to this problem.
Thanking you in anticipation
Asiya
[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce /
NOAA /
OAR /
PMEL /
Ferret
Privacy Policy | Disclaimer | Accessibility Statement