[Thread Prev][Thread Next][Index]
Re: [ferret_users] parsing in go-files fails
- To: ferret_users@xxxxxxxx
- Subject: Re: [ferret_users] parsing in go-files fails
- From: Martin Schmidt <martin.schmidt@xxxxxxxxxxxxxxxxx>
- Date: Thu, 24 May 2018 09:03:38 +0200
- Arc-authentication-results: i=3; mx.google.com; arc=pass (i=2); spf=neutral (google.com: 52.222.5.176 is neither permitted nor denied by domain of martin.schmidt@xxxxxxxxxxxxxxxxx) smtp.mailfrom=martin.schmidt@xxxxxxxxxxxxxxxxx
- Arc-authentication-results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=io-warnemuende.de); spf=neutral (google.com: 65.127.216.227 is neither permitted nor denied by domain of martin.schmidt@xxxxxxxxxxxxxxxxx) smtp.mailfrom=martin.schmidt@xxxxxxxxxxxxxxxxx
- Arc-authentication-results: i=1; mx.google.com; spf=pass (google.com: domain of martin.schmidt@xxxxxxxxxxxxxxxxx designates 192.124.245.147 as permitted sender) smtp.mailfrom=martin.schmidt@xxxxxxxxxxxxxxxxx
- Arc-message-signature: i=3; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:content-language:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:from:references:to:subject :arc-authentication-results:arc-message-signature :arc-authentication-results:arc-message-signature :arc-authentication-results; bh=93xvshQUkshlOLZNZqlBxP89brFamNfDNpiQUJEYmqQ=; b=v0mVn2XdQwLiTBtZ9tvlYMOJcqQ7f1joddV3idK+srTxTU0ZOKmpJU6V37sCDtko1D 4YJoW/FhXOokzuEy6aSoeYiYx25k/OJ7xSHX/q1bHC1V7MkQ+XbAd2dmEmll/LiPAtbP 8LZTsVDxWXwAwI6tpkSrhNhJTWYV3l7Cdo0SmrScPQE7FTa6q3N5GWI49ZhDXgog/mAL PmVoKCSnDXq6kAu7Vh+lGPep/Kc02iPyn0+vECEOKVNX4e/G9xTnhDBPw6NeR9NFPEvI hQS6P29k0rrctk6L4+dR+gFixTpEGOxd9IGomeDnL+iXLwc0GP0LbaiJtyN0F7ObdAYn +6TQ==
- Arc-message-signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-language:content-transfer-encoding:in-reply-to:mime-version :user-agent:date:message-id:from:references:to:subject :arc-authentication-results:arc-message-signature :arc-authentication-results; bh=93xvshQUkshlOLZNZqlBxP89brFamNfDNpiQUJEYmqQ=; b=FCtOaQFdpaFgADIXrkfNBvYaZMFyM7CmpN+7l+M/0v3+TBtrRRN6G268dvhQXq9Nh+ KpHjccC8Iv2ocrvAZ/xZCiMDWgJ28Ml1sIai77OfS1RmalzgBzhqr1KhFFuI0Y7hqeol i0et/WTrtBHhM2bWtUMeJmx9YJshG7rQaWSitNutMaygidWTcg8JcM7Njw8IjPqTRHAB ZJF74bau7Jw8DVQ3aOaM4zrZlGYQ4mBEjjginRiNLAcQVBfJBVvBbv11fberIKoDKqYF i7Lgm4E9tXFm05j0wfdEih3WgNUy/hTIOnu0o6xlKSd5pRbX0LbSmKNX2oT/07baoK0z yhNw==
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-language:content-transfer-encoding:in-reply-to:mime-version :user-agent:date:message-id:from:references:to:subject :arc-authentication-results; bh=93xvshQUkshlOLZNZqlBxP89brFamNfDNpiQUJEYmqQ=; b=EMN3rU/JI7yq/wp7Ii0Dmq1iR14PUtZWrGRbzN/gTokQkgpI0thQWxfBrGWVJPdFtY 6/WcTDUt8mZcHX+mdjCzO0XPuejr6TGTcSlbLTYFFpHQnHIzoBXzPslLS1zFpY3gC0Yd YAiKpReEOkQ6ritudrrzM9JkLG8LcuVJmwPl4tc9Ezo83eyLeWL2y0uzT5jRS8kevCV+ 7ctPsgg99fD7WfzX6L9bJz6Xv60xBIWEPJ28AA66+RBtULxUirBNaxWlBfonvAsyegXN R4zx59kxB/VC1Zcu6b6qnWNaVwo8JXJz6MBaw06rbLeA5c4qr4YnJsHc9trs3lgfd7kw qKHw==
- Arc-seal: i=3; a=rsa-sha256; t=1527145439; cv=pass; d=google.com; s=arc-20160816; b=JRS5O7zAAvX5DVrjtRrUo1NN7UjBXiuxbzYrbJSblajYZmNxUoeWum5gsRWKvVLeRH 6/Sx6mrfoMjTl95kQkdKV54kS/xtOtzQy029r1HUQY5SiHlBleGWcEpDaHre+VxQireV CQ80EgfB4C0RuGJTy3NAHbM9NpFRqgrPLqJ6EPbnplXLUZJ+dIJ3q8rHeSLYuIub9kZ2 j4AxGI81rNlRNqbCdWNEiFYUph4kBcXsRG4ICpJ61NH4rmjj5XZDHBmXA8E8dBxeFBzF +my0djpg58n49O/RTRwGTj9UVXCVeYkVNelH3CS7njRZWiOvsVngaOYIVjCtSuw3RljD 9Lug==
- Arc-seal: i=2; a=rsa-sha256; t=1527145435; cv=pass; d=google.com; s=arc-20160816; b=EaVM1tk4VPrWarw0c6+v08f2XqG3NyOa5BkyiFRybWYp3fxGt1nb/7+TUVjNo4K/uZ onY3RjcsaVo1bmR9L7RTyS20pwnnk1+8aiKH8MrodjBDkaNIZjbCY8m6LDeyNYJAi/Ll OwJdQ5vqMdksD2fPdVM784ouRe11/M+SWyqBj8Hu+mYoaPp+k26jau6t1YPcDG6Pqr6N muU4W8ZIEShT5nbhYMsQzvE3ECjnW82NHyOHusZ0Vjwt/w/GUsbfp8s4fWThfYcVLk5b +GbVXXi1Q0btJjkbTbaUo1WPUF8NAfbRJAt3A4CfLR/VmtyA8KKxLq/4LqT342cD9Vot bKvA==
- Arc-seal: i=1; a=rsa-sha256; t=1527145427; cv=none; d=google.com; s=arc-20160816; b=vBASnGCgwQjSkI9d1BfzSLVqTWUuYtTx/1k8E2TqJdstnFVMJP8gvUBymoSK+V7FaC AOTUpMkQNC5GLfSFoLeLIbEwJl/ZlrQmcecW5RamIvxIBtwlwR43/mOqMQse3iTQefih 3exwLrOWbSTdM91OtZKsrw/zh9Ut7eWJT9h7WjT7Vvib7N+nsSfXVOqqGl+C0yePjZwa AZLKczfumEGcjgcdk1nYlEPj/OkaTGmryLByJb29RJ/ID9AePGR0ZVmxPfjyea8SQIdP oPhvzOZi2NGDDqhz9HqzNOR91sG/oV89Ar0Qs2qrqpsrUdzZqfGXkLXhqwugyOjhr3Dx r8zw==
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=noaa.gov; s=google; h=sender:subject:to:references:from:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language:message-id :x-original-sender:x-original-authentication-results:precedence :mailing-list:list-id:list-post:list-help:list-archive; bh=93xvshQUkshlOLZNZqlBxP89brFamNfDNpiQUJEYmqQ=; b=YZ62bYx6OHLFe49R8iAlULIqZEpGdoIQqA32cTm+luvkXZFsMwNJOQheaOPo7ZwaaP pJGLT5AnWtm1aBYuSsxPRyLqsT618ooSS+42YQYqrqBMASkrKozDW3gMkDV37H2X9HJh mQvuBaH0tBNWbCbKUKZLwbVx34J3bOSgcVgKnrP7Ox2duifNuQ5lz0fgdIr+Y590WXbW KN8YWvNblSCHF++a0mkK0ZdfAYxRUv/zQBo9ns5/EGTfRIHqCgm8v/zxqIE7593Exe/z VFlvPiUwpy+wlTPQK3xV1ZtKeDZ1odpg3YofTNOm04RQB0raS1bIu1ufsCpN3QQ5NiSO W40Q==
- In-reply-to: <1e762313-c9e4-2654-7e60-9c765e103070@noaa.gov>
- 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: <CANw+CUu5o+cAGy10GNVOHLdZ_ksnySPxGa61eVE4QU8ZbwwfUQ@mail.gmail.com> <CAEwQpaLxNfJT2sk2Juk2ZXsJZjknV6i8xcEwYm83dQoj3beifQ@mail.gmail.com> <dcf36aa5-13e4-b455-390d-3f60f47c2d86@io-warnemuende.de> <1e762313-c9e4-2654-7e60-9c765e103070@noaa.gov>
- Sender: owner-ferret_users@xxxxxxxx
- User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0
Hi Ansley,
I see many lines from the comments in the go-script and finally:
! define internal variables
!
define symbol mv_r = $1"5" ! number of rows
!-> defiymbol mv_r = 3
! Exit_GO
Having a space in the beginning of the line gives interestingly:
yes? go multi_view 3, 5, 0.15, 0.1, 0.03, 0.25, 0.10, 0.022, , 0.05,0.035
**TMAP ERR: non-existent or not on line
mlti_view (.jnl)
The same happens with other scripts
yes? go land
**TMAP ERR: non-existent or not on line
lnd (.jnl)
yes? go land
**TMAP ERR: non-existent or not on line
l (.jnl)
Is the line parsing done with python or is this fortran code from ferret?
Best,
Martin
On 05/23/2018 09:19 PM, Ansley C. Manke wrote:
Hi Martin,
I'm not seeing this. What you show looks as though a command line
"define symbol mv_r = 3" is losing some text somewhere along the
way as the command is read or as the parser is filling in the argument
values to create the actual command that will run. I wonder if this is
in the operation of the readline library or something of that sort.
Try this, to capture the commands as they run,
yes? set redirect/tee/clobber/file=multi_view.out
yes? set mode verify:always
yes? go multi_view 3, 5, 0.15, 0.1, 0.03, 0.25, 0.10, 0.022, ,
0.05,0.035
In the file multi_view.out, I'm seeing this, after all the
introductory comment lines:
...
! define internal variables
!
define symbol mv_r = $1"5" ! number of rows
!-> define symbol mv_r = 3
define symbol mv_c = $2"3" ! number of columns
!-> define symbol mv_c = 5
...
On 5/22/2018 7:48 AM, Martin Schmidt wrote:
Hi,
in the latest ferret version, v7.4, an error found in v7.3 is still
alive. A least a little bit.
machine>/sw/viz/ferret/py_ferret_v74_os423_py_2713/ferret
NOAA/PMEL TMAP
PyFerret v7.4 (optimized)
Linux 4.4.126-48-default - 04/29/18
22-May-18 15:49
yes? go multi_view 3, 5, 0.15, 0.1, 0.03, 0.25, 0.10, 0.022, ,
0.05,0.035
**ERROR: invalid subcommand: mv_r = 3
defiymbol mv_r = 3
Command file, command group, or REPEAT execution aborted
Opening data sets and rendering images works well otherwise.
I compiled pyferret by myself. The compiler is gcc-5, linux is
OS42.3. Compiler flags are left as recommended. python is python2.7
coming with the system. The code works well on one machine but the
identical binary fails on other machines with the same OS42.3-system,
all are 64-bit systems.
- ldd applied to libpyferret.so gives identical results on both
machines (after removing the address-information)
- the user environment is "similar"
The major difference is that the code is build on a E7-8893 v4 CPU.
It works there. For many other software (including ferret v22) those
binaries run on other platforms with E5 and i5-CPUs. No hardware
specific optimisation flags were used. We are maintaining a common
software pool this way, it works for many software packages.
I do not know, where in the code parameter parsing for go-scripts or
go-script parsing is done. The error message "defiymbol mv_r"
suggests a local memory problem or a problem with function parameter
types?
All suggestions or help would be very welcome.
Greetings,
Martin Schmidt
--
Dr. Martin Schmidt
Leibniz-Institute for Baltic Sea Research
Seestrasse 15
D18119 Rostock
Germany
[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce /
NOAA /
OAR /
PMEL /
Ferret
Privacy Policy | Disclaimer | Accessibility Statement