On Fri, 4 Feb 2011, Luca Rizzi wrote:
> Starlink namaka is ready for release.
Not quite.
There are a couple of problems with SPLAT under 32bit Linux:
% splat --debuglevel 1 $
WARNING: No line identifiers are available
Feb 7, 2011 4:09:44 PM uk.ac.starlink.splat.imagedata.NDFJ <clinit>
CONFIG: couldn't load library splat:
/loc/pwdb/pdraper/namaka/star-namaka/starjava/lib/i386/libsplat.so:
/loc/pwdb/pdraper/namaka/star-namaka/starjava/lib/i386/libsplat.so:
undefined symbol: _g95_filename
java.lang.UnsatisfiedLinkError: couldn't load library splat:
/loc/pwdb/pdraper/namaka/star-namaka/starjava/lib/i386/libsplat.so:
/loc/pwdb/pdraper/namaka/star-namaka/starjava/lib/i386/libsplat.so:
undefined symbol: _g95_filename
at uk.ac.starlink.util.Loader.loadLibrary(Loader.java:150)
at uk.ac.starlink.splat.imagedata.NDFJ.<clinit>(NDFJ.java:86)
at uk.ac.starlink.splat.data.SpecDataFactory.makeNDFSpecDataImpl(SpecDataFactory.java:388)
at uk.ac.starlink.splat.data.SpecDataFactory.makeLocalFileImpl(SpecDataFactory.java:359)
at uk.ac.starlink.splat.data.SpecDataFactory.get(SpecDataFactory.java:334)
at uk.ac.starlink.splat.data.SpecDataFactory.get(SpecDataFactory.java:223)
at uk.ac.starlink.splat.iface.SplatBrowser.tryAddSpectrum(SplatBrowser.java:1899)
at uk.ac.starlink.splat.iface.SpectrumIO.addSpectra(SpectrumIO.java:270)
at uk.ac.starlink.splat.iface.SpectrumIO$Loader.run(SpectrumIO.java:587)
Caused by: java.lang.UnsatisfiedLinkError:
/loc/pwdb/pdraper/namaka/star-namaka/starjava/lib/i386/libsplat.so:
/loc/pwdb/pdraper/namaka/star-namaka/starjava/lib/i386/libsplat.so:
undefined symbol: _g95_filename
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1753)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1678)
at java.lang.Runtime.loadLibrary0(Runtime.java:822)
at java.lang.System.loadLibrary(System.java:993)
at uk.ac.starlink.util.Loader.loadLibrary(Loader.java:115)
... 8 more
To get the line identifiers built you'll need to clean out SPLAT and
rebuild install it:
% cd splat
% ant clean
% ant build
% ant install
(this error probably means JNIAST was broken when you did the initial
build).
The SPLAT JNI library problem I'm not sure about. Normally:
% ant build-native
% ant install
would do it, but I suspect something else has gone wrong, like a missing
runtime library from the g95 compiler, probably -lf95.
Cheers,
Peter.
(PS, as for the release once this problem is resolved I'm happy).
> Minor changes since last time:
>
> - fix documentation on OsX (it was basically missing)
> - added back JSA perl module (removed by mistake)
> - included a few more patches in the namaka branch of starlink (scb mainly)
> - include the namaka branch of oracdr as of noon hawaii time
>
> I would suggest that we take one more weekend to run final tests if anybody
> is up for it.
> I have run these tests:
> - tested splat, gaia, topcat
> - reduce a night worth of acsis and wfcam data
> - run a few perl commands like autoastrom on an image
>
> Ok to make the official release on Monday morning Hawaii time?
>
--
Peter W. Draper, http://astro.dur.ac.uk/~pdraper
|