Installation of NeXus libraries <br><br>To examine new ILL data in .nxs format I attempted using<br>the NeXus software donload from the web site onto Mac-OSX<br>version 10.5.8 (leopard, 2008), and fedora core 11 (x86_64, 2009)<br>
<br>Mac_osx<br>Using hdf5-1.8.5 <br>The .dmg package installed without any indications of the location.<br>I subsequently found this in /usr/local/... There was no manifest.<br>There was no uninstall. There were no fortran header file napif.inc<br>
or NXmodule.f90. I failed to build the examples; I did not have the<br>hdf4 library installed. I was using an HDF5 library which should<br>match the leopard system, which installed and checked through its<br>tests. There are two variants of hdf5, with fortran, without shareable<br>
libraries, and without fortran, with shareable libraries. I built<br>both; the latter is used with h5py, which I built successfully.<br><br>Since I had no idea of the configuration of the nexus build I decided to <br>copy the sources and build the library configuring without hdf4, <br>
without xml, with fortran<br><br>I noted that the fortran bindings were not installed, and the fortran<br>test evidently failed. <br><br>Taking NXmodule.f90 from the /bindings directory the program compiled<br>manually but then crashed on running; gdb example in script.<br>
<br>I tried the napi_test.c After editing napiconfig.h the program compiled<br>and ran.<br><br>I finally tried running napif5_test.f with the napif.inc header. The<br>fortran entry points are not in the library libNexus.a<br>
<br>The build and running scripts are in build31may.rtf<br><br>Linux<br>I checked the rpm and found that the fortran headers were missing. Again<br>there is no manifest, or indication of the configuration used. Installation<br>
failed through missing dependencies.<br><br>Script in fed11inst<br><br><br><br>There are a few conflicts between the installation instructions on the WIKI and<br>the main site; it is not clear which is the more relevant; those on the WIKI seem<br>
better. For the distributions the documentation in the READme and INSTALL<br>and RELEASE notes constitute rather a mixed bag.<br><br>The distributed fortran headers NXmodule.f90 (3.9) doesn't match the current<br>version 4.2.<br>
<br><br>I am thus a little disappointed in that none of the fortran examples seem to work,<br>and there is a lack of information on installing and checking. It is<br>really hard work to find the necessary matching components. For HDF4 the<br>
website note on potential problems on mac-intel is broken.<br><br>Distributing a run-time set of libraries could be considered; this is<br>a necessary option for OSX since they are easily located with the<br>DYLD_LIBRARY_PATH environment variable. <br>
<br>For programs that only read data use of the hdf5 libraries only is a<br>possibility. This would reduce the problem of installation to a single<br>package.<br><br>I have not tried the Windows versions.<br><br><br>I would be grateful for comments on these apparent system sensitivities;<br>
this summary note is the consequence of more than 10 builds and tests.<br><br><br>Ron Ghosh<br clear="all"><br>-- <br>Ron Ghosh<br>62 Hookfield <br>Epsom KT19 8JG <br>UK <br>(+44)1372728294 <br>
<br><br>