cedadev / jasmin_scivm

9 stars 0 forks source link

Please add GDL to the JAP #46

Open agstephens opened 8 years ago

agstephens commented 8 years ago

yum install gdl - should do the trick.

alaniwi commented 8 years ago

EPEL gdl linked to wrong netcdf version - will have to build CEDA release

alaniwi commented 8 years ago

Trying to rebuild Fedora gdl RPM against latest netcdf. Also has python bindings, so producing a python 2.7 version. Calls in RPM dependency plplot which in turn depends on python 2.6 version of numpy so a bespoke build of that will be needed too.

alaniwi commented 8 years ago

Fedora has 1000+ line spec file for plplot including build-time dependencies on various GNOME packages.

Will look at vanilla build of gdl (not using Fedora RPMs) instead.

alaniwi commented 8 years ago

Still requires plplot. Need vanilla build of plplot? gdl build steps up to the point where it complained about plplot dependency. Although not using Fedora RPM (gdl-0.9.5-4.el6.src.rpm), trying to use build recipe inside that for ideas.

    cd gdl-0.9.6/
    export CFLAGS=-fPIC
    export CXXFLAGS="-fPIC -I/usr/lib/python2.7/site-packages/numpy/core/include/"
    mkdir build build-python
    pushd build
   cmake -DGRIB=ON ..
alaniwi commented 8 years ago

Latest plplot needs later cmake (3.0.2) to build. Installed cmake from RedHat is 2.8.12.

alaniwi commented 8 years ago

@agstephens Has anybody requested gdl?

alaniwi commented 8 years ago

Off-ticket message from @agstephens: "We have nobody shouting about it." Putting on hold. Details of difficulties as above.