I am attempting to install CDAT 4.0.5 on a x86_64 RHEL4
system. The problems that I am encountering can be
divided into compile issues and run-time issues.
I have resolved the compile issues. This has required
adding -fPIC to the CFLAGS and CXXFLAGS env vars, and
making adjustments to several configuration files so
that the /usr/lib64 and /usr/X11R6/lib64 are accessed
when loading.
However, I have encountered a couple runtime errors,
and I'm hoping that someone who know this code can help
me get it 64-bit clean.
Here is the results of running the test_script ...
[bhaxo@climate CDAT-4.0.5]$ ./test_script $CDAT
Testing /usr/local/cdat-4.0.5/bin/python
/home/bhaxo/downloads_local/CDAT/CDAT-4.0.5/Packages/cdms/Test
Test 1: Dataset I/O ... OK
Test 2: CdmsFile I/O ... OK
Test 3: CdmsFile [Numerics] read/write ... OK
Test 4: CdmsFile [MA] read/write ... OK
CDMS I/O error: WARNING: unable to allocate of
-1848901632 bytes of memory in
cdunifpp
CDMS I/O error: CDUNIF_PP: error condition detected in
routine
pp_read_all_headers
Test 5: get/sub, time functions ...
Traceback (most recent call last):
File "cdtest05.py", line 48, in ?
fw =
cdms.open(os.path.join(sys.prefix,'sample_data','ps.wrap.test.0E.nc'))
File
"/usr/local/cdat-4.0.5/lib/python2.4/site-packages/cdms/dataset.py",
line 104, in openDataset
file = CdmsFile(path,mode)
File
"/usr/local/cdat-4.0.5/lib/python2.4/site-packages/cdms/dataset.py",
line 681, in __init__
raise CDMSError, 'Cannot open file %s'%path
cdms.error.CDMSError: Cannot open file
/usr/local/cdat-4.0.5/sample_data/ps.wrap.test.0E.nc
Test 6: TransientVariables ... OK
Test 7: Database import ... OK
Test 8: Regridding ... OK
Test 10: Dataset (filemap) ...
Traceback (most recent call last):
File "cdtest10.py", line 65, in ?
uar2 = u.getRegion(time=(t1,t2,'con'))
File
"/usr/local/cdat-4.0.5/lib/python2.4/site-packages/cdms/avariable.py",
line 569, in getRegion
return self.subRegion(*specs, **keys)
File
"/usr/local/cdat-4.0.5/lib/python2.4/site-packages/cdms/avariable.py",
line 624, in subRegion
return self.subSlice(*slicelist, **d)
File
"/usr/local/cdat-4.0.5/lib/python2.4/site-packages/cdms/avariable.py",
line 420, in subSlice
d = self.expertSlice (slicelist)
File
"/usr/local/cdat-4.0.5/lib/python2.4/site-packages/cdms/variable.py",
line 492, in expertSlice
f = self.parent.openFile(filename,'r')
File
"/usr/local/cdat-4.0.5/lib/python2.4/site-packages/cdms/dataset.py",
line 560, in openFile
f = Cdunif.CdunifFile(path,mode)
CdunifError: Unknown error
Test 11: MV module (transient variable arithmetic) ... OK
Test 12: Extended wraparound ... OK
Test 13: Curvilinear grids ... OK
Test 14: Generic grids ... OK
Testing /usr/local/cdat-4.0.5/bin/vcdat
-------------------------------------------------------------------
Tests completed.
I have traced the first error to pp_read_all_headers()
in file
cdunifpp_read.c, where the code attempts to allocate
the "-1848901632 bytes" of memory (about line 560).
Perhaps the preceding seeks while reading the header
are mis-seeking resulting in out-of-frame reads.
Suggestions?
Thanks ... bob
3hGddP <a href="http://hnpckkytrnae.com/">hnpckkytrnae</a>, [url=http://qcumgzoaehoz.com/]qcumgzoaehoz[/url], [link=http://ubdqgisbtszk.com/]ubdqgisbtszk[/link], http://eftppdtgaafe.com/