[Thread Prev][Thread Next][Index]
[ferret_users] pyferret fails to read a very long directory
- To: ferret_users@xxxxxxxx
- Subject: [ferret_users] pyferret fails to read a very long directory
- From: Martin Schmidt <martin.schmidt@xxxxxxxxxxxxxxxxx>
- Date: Mon, 3 Jun 2019 13:04:43 +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.231 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.149 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; bh=yU/oZo/qgLQ+iK6rKlPeAeIyQuCgQ6xL0Ps99rxgmXw=; b=En1upBlpGKvJehNBdmXVU2HuA/nU30jqihF32JioZrXWscLyvEVoqTmqUW7Lx3khQv 6TKAR7G6eYUZWFdfDAv4qqUtdt5zLr7LKigHUzKHWXJ9WxHUIALK8WgxnLxIC36q/bUp yNEFqZIEkE8KHjBSlDmvSeMvSJs+a4f7O5imT1xD0eue3WyFCSky1IQwDXH2/SS3uNu5 WWy/ei9MCwzNpS2gVWZ76BpW/vo/2ufEqM3YUpk9cRRZsBMdLVf3/n9A2NQ1jvzc63ha /cn6XffFHkzVSmTPoDmj+tn/KH7EaaiPTjpR7HugLrq2xzmQD1U4q8eCTHZJlziAUZ0D LjBw==
- 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; bh=yU/oZo/qgLQ+iK6rKlPeAeIyQuCgQ6xL0Ps99rxgmXw=; b=PGrMlkbBedimyiLY4JWvbUhznfNVBKJ7eTY0fsiOaUiRSDz9ojwuOU+OlZrp0VKgNK Ir4RfxAPbyh1VJxeJB6bi5Do4eKoiT9zfGpSnduf8Oph4FZCsthbi0oP2Ly4uVtrZzqg ILOaiy3XSHD6sMXKsfp8CLnURg8JHV+NObHnUv7PyDPg5F9CQKWP9ID1LtOqQIE6k6PQ HhgsgZi0KxwodfQDJMX3m6FwYBLsSx8AVHCMluspwC5QVA/93qX9elnaicyULVZQWsWS AKkebj4/n1FukZRDvnfak/Ipfx2KBmC9yEohS5uQNfs+l6oWm2y4vFSv1dhsejtqA1dU 2HQA==
- 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; bh=yU/oZo/qgLQ+iK6rKlPeAeIyQuCgQ6xL0Ps99rxgmXw=; b=O1fHqkNcFJOOi4KVVbbTt6m5PcwzZ8ge8TDhNlR51fSwGjOvKmgerl8HWPW3GeNbRl AIkESxbquVLC6Te4gGrPPeKJOdXUIWoL54pPD+LnxsAwX2HVlUa/dKRZHi4rBTJ4amdW 71PDC4R6a0YYNzSfrUfIp9jYjg3VP/SLeAxlYy0UsV6au7tuw0u3nKcswjtGgd3wEAGx VL+ANiBOHo7lUIvp1Qm102YfSz8me0/YXAJV0d3OLtNSaza29YFL/Xq6QifJT1ytaOpr WRmseWfLfHM50UmrFbI/tt8Ol+At5SXvhjCcYk/K8X9junxMNcUYpB7FYmySSNPYraxG PACw==
- Arc-seal: i=3; a=rsa-sha256; t=1559559914; cv=pass; d=google.com; s=arc-20160816; b=rNEQsc7PP3IiI+Hg8ceO+euXJ8+PHu0tZy1nrxNiriBF14IOQqvNbF8yS085NtD334 erNEmOnq3lOBJz/qUAj9nFHomiJzuGoMCqoK+ZhTcdUCEYK/cG9YtcSvI9qJv7zL6KAB w+/qi4KoetcGp/EzxSajOhp1enAU3kLjv3gNfZtv/dpgYHSRV7Vj4r03ocwvuQKQ9X3z TKSLFUvjyt5/FF00nLZGuMapMI0e7PlcJdqvEi2z9FVaXtgRx0vCQyEVTk3wPZWm/UDU iW54bF2Ztb0wNegaLVpmPO5/ArC+79857SDnoTnkGBfYYaWeU8ZMlKvAMTMq1OAXKljo OKpQ==
- Arc-seal: i=2; a=rsa-sha256; t=1559559910; cv=pass; d=google.com; s=arc-20160816; b=HJ5xC3iy1/H9O3BximRhvhUptA/DvNhhwvv7h3L9+IzT8UzwVTW9NucWjZ4c09Uoex XjRLnFbnyZrh947K3f2Kvs4RGHJWlFCzebvljcFd/o9dQk9Fj1CmB4xP02kSVpjrnxfR te0aZGWC4IHT7cMmuXqkbewFwTtNrEdwPKEAw57e0Mw+8nAn4Nl0sFs8K2ykHMUV1nRm U6PfcG1E5WbGkngTgePI3TiI9dpDgN/YhoewnW/pvt0iWBvgna/6YgcjOGb9DKZrwQv0 zGbBlzjC9JGTI9KLFNZKLdsBbeiN80C4lgaOYYE25eZsiwYpwGpw5l24qDbPpXN2QexD qD2Q==
- Arc-seal: i=1; a=rsa-sha256; t=1559559904; cv=none; d=google.com; s=arc-20160816; b=Tntnac1/zGnZH7nXS4/dxB2e9CzkWu7GFplClvE9SddG1tMMjZrryrc3rkvsIvtnXa sdljMc1aZ/AQDek9cXAGQuIn4pt09l7ahq2a6R7n/G6eJOP1w+aBdPwdIDNjPI/iaGjQ JDhA0NMyyYNUZvvfM8PI6a1KTPj1pVeh+IYOunlu4QBgwHI4ozUTjKJXhjzKJ1jIab7v ExSkpk+B8BiwsBOR47rvA4PFsX9Ug4pXZqg5HI9QxQhFLYfoHXetINT0VoXJ5R5S5yWb BpRnrwL3VHfj3nweXDqYjytiwPxRLUX8x9szBBzPeVp/l2m94Yh7oLZQx7P1Ui60HDIX 4p1g==
- 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=yU/oZo/qgLQ+iK6rKlPeAeIyQuCgQ6xL0Ps99rxgmXw=; b=Rr1RYmxteZPi5oXx96F9LW5gb6FfAQBG+u/WcV2kfW9M2jw0DQ1HMepBTlO7N7dgaY LCV6uTxdi5dMT2SpY4n4idYiEq432BDxPyVUcKAAolVgLXZetLB0xwKvzB4ZC+7L5wDb dq0qGc4LYZKZ3wQHkns323MSZ5x8Ehh4mDtLYAoZKnZt4i80ctmbaRs2sbd8iEOUKyzL ro4t86jhmg4sQU6asMcEFztzHPo5ZzQk86LNz2Tqv/czZp5fFgQ1+cjofE2taEOZ8L4F rFpftlZ6+4sbu/t8Yn89OhNAHrsCLEExs7cJySCz0w5eVWcb7pxs0sVQcD5C7YY4ynuD cjLQ==
- In-reply-to: <CALC=m4p9ifDiPH9Xm2JUG0s+k=8mhKKMNk_V7YqMR0epaq_YxQ@mail.gmail.com>
- 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: <CALC=m4qQSd4x7UOo97LuV-HgCR+TB-+Y17Cg018j=3Qohh5i0A@mail.gmail.com> <CALC=m4p9ifDiPH9Xm2JUG0s+k=8mhKKMNk_V7YqMR0epaq_YxQ@mail.gmail.com>
- Sender: owner-ferret_users@xxxxxxxx
- User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1
Dear all,
I am trying to glue a large amount of files using the aggregate
capability of ferret. The problem is the file list itself. The files are
ordered by a 4-digit number. So
ls -l wind_0*.nc
gives me 1000 file names,
ls -l wind_[0-2]*.nc
results in 3000 file names. All works well with up to 2000 file names.
In ferret:
yes? let file_list = SPAWN("ls -1 wind_0*nc")
yes? list file_list
gives the correct list and the aggregation works great as it should.
yes? let file_list = SPAWN("ls -1 wind_[0-2]*nc")
yes? list file_list
results in huge traceback and ferret quits.
yes? list file_list
*** Error in `/sw/data/python/miniconda/OS_42.3/2.7.15/bin/python':
free(): invalid pointer: 0x00007fcfbc746698 ***
======= Backtrace: =========
/lib64/libc.so.6(+0x740ef)[0x7fcfbc41b0ef]
/lib64/libc.so.6(+0x79646)[0x7fcfbc420646]
/lib64/libc.so.6(+0x7a393)[0x7fcfbc421393]
/sw/viz/ferret/py_ferret_v750_os423_py_2715_netcdf463/lib/python2.7/site-packages/pyferret/libpyferret.so(FerMem_Free+0x1a)[0x7fcfb622ee83]
...
/sw/data/python/miniconda/OS_42.3/2.7.15/bin/../lib/libpython2.7.so.1.0(PyEval_EvalFrameEx+0x7d14)[0x7fcfbd1b2ea4]
... several 100 similar lines from many other libraries in the miniconda
based python including a memory map and finally
Traceback (most recent call last):
File "<string>", line 1, in <module>
File
"/sw/viz/ferret/py_ferret_v750_os423_py_2715_netcdf463/lib/python2.7/site-packages/pyferret/__init__.py",
line 482, in init
result = run()
File
"/sw/viz/ferret/py_ferret_v750_os423_py_2715_netcdf463/lib/python2.7/site-packages/pyferret/__init__.py",
line 887, in run
retval = libpyferret._run(str_command)
RuntimeError: etc
I have no idea, which limit or ulimit, (but it is not the stacksize)
could be violated. I have no idea how to produce this list in python
directly, to check if this a python or ferret issue.
in _init_.py it crashs here:
readline.set_completer_delims(FERRET_READLINE_DELIMS)
# the actual Ferret function call
retval = libpyferret._run(str_command)
Is there eventually a limit in ferret itself?
Any hints would be very welcome.
Best,
Martin
[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce /
NOAA /
OAR /
PMEL /
Ferret
Privacy Policy | Disclaimer | Accessibility Statement