Hide Forgot
Description of problem: When using ut_calendar function of NCL, the application is aborted and a segmentation fault is issued. Version-Release number of selected component (if applicable): 5.2.1 How reproducible: always Steps to Reproduce: 1. enter NCL, typing in a terminal ncl 2. create a small batch of data with an units attribute: x = (/1,2,3/) x@units = "days since 2000-1-1 00:00:00.0" 3. print the result of ut_calendar function: print( ut_calendar( x, -3 ) ) Actual results: NCL will be aborted and a segmentation fault is issued. Expected results: the function used in step (3) sould return Variable: unnamed (return) Type: integer Total Size: 12 bytes 3 values Number of Dimensions: 1 Dimensions and sizes: [3] Coordinates: Number Of Attributes: 1 calendar : standard (0) 2000010200 (1) 2000010300 (2) 2000010400 Additional info: none
As workaround try setting the UDUNITS_PATH environment variable to /usr/share/udunits.
What is your thought on updating ncl to 6.0.0 in F14? I'm leaning towards doing so if only because this issue having existed so long without anyone reporting it leads me to believe that almost no one is using these binaries.
I was using these binaries because it has been more easy to teach my students to use NCL without worry about installation details from NCL's official website. After noted this issue, I was planning to erase them from all computers. However, if a update that fix this issue is available, I'll continue to use them on future installations.
ncl-6.0.0-2.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/ncl-6.0.0-2.fc14
ncl-6.0.0-2.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/ncl-6.0.0-2.fc15
Package ncl-6.0.0-2.fc14: * should fix your issue, * was pushed to the Fedora 14 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing ncl-6.0.0-2.fc14' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/ncl-6.0.0-2.fc14 then log in and leave karma (feedback).
It's working very nicely! In addition, the location of libraries is the official one. In 5.2.1 version, they were installed in $NCARG_ROOT/share/ncarg/nclscripts/csm. Now, they are in $NCARG_ROOT/lib/...
Please, as this update is available, inform people of ncl-talk about it. It's a very easy way to install NCL in fedora system.
ncl-6.0.0-2.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report.
ncl-6.0.0-2.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report.