ACCESS-NRI / accessdev-Trac-archive

Archive accessdev Trac contents as issues
Apache License 2.0
0 stars 0 forks source link

Import the source of ODB API version 0.10.5 into the access-svn ODB repository #293

Open penguian opened 7 years ago

penguian commented 7 years ago

keyword_ODB_API_import | by mjw548@nci.org.au


218 explains the procedure for downloading ODB_API source code and importing it into access-svn. This ticket describes the same process applied to a newer version of ODB_API (0.10.5). The new version is required by OPS from revision 2831 onwards of MOSRS. (For reference, the change occurred between releases ops-2016.03.0 and ops-2016.09.0).


Issue migrated from trac:293 at 2024-01-31 18:26:25 +1100

penguian commented 7 years ago

mjw548@nci.org.au commented


We used Jin Lee's account on ecmwf.int to download the latest source code tarball from: https://software.ecmwf.int/wiki/display/ODB/Releases

(It seems that special registration is required to access the ODB pages, because Milton Woods could not view them with his ECMWF login).

The downloaded file was stored on raijin as: /projects/access/downloads/odb_api/OdbAPI-0.10.5-Source.tar.gz

The unpacked source code was added to the local odb repository at: ​https://access-svn.nci.org.au/svn/odb/trunk/odb_api/OdbAPI-0.10.5-Source

penguian commented 7 years ago

@robin.bowen@bom.gov.au commented


hi Milton and everyone

do we have a wiki page at accessdev.nci.org.au documenting this process ?

cheers

Robin

penguian commented 7 years ago

mjw548@nci.org.au commented


Hi Robin,

We do. Please see the ticket summary of #218, which is mentioned in the Description above.

penguian commented 7 years ago

mjw548@nci.org.au commented


The Met Office has applied a few minor changes to the original ECMWF OdbAPI-0.10.5. The changes were described in an email from David Davies on 2016-11-22:


I forgot to add, our only change to the ODB API 0.10.5 tarbal is in cmake/FindODB.cmake:

22 list( APPEND _odb_search_libs odb odbec ifsaux mpi_serial odbdummy ) 22 list( APPEND _odb_search_libs odb odbec odbifsaux odbmpiserial odbdummy )

and this is only necessary if you link with ODB 1.0.2. The other change is to ecbuild_find_python.cmake, but that is a workaround for our broken python package-config setups so again you probably don't need it.


I have applied the changes to cmake/FindODB.cmake in our local odb repository at: https://access-svn.nci.org.au/svn/odb/trunk/odb_api/OdbAPI-0.10.5-Source

For now, I assume that our ecbuild_find_python.cmake will not need to be changed.

penguian commented 7 years ago

@robin.bowen@bom.gov.au commented


hi Milton

sorry to labour the point, the reference you gave me leads to this https://accessdev.nci.org.au/trac/wiki/ticket/217/TicketSummary which is part of the ticket system.

Is there a suitable link from the general accessdev wiki https://accessdev.nci.org.au/trac which points to the information for discoverability that way ?

Though not sure where it should go ? Possibly under https://accessdev.nci.org.au/trac/wiki/access/UserGuides ?

cheers

Robin

penguian commented 7 years ago

mjw548@nci.org.au commented


Hi Robin,

I see what you mean now. But I'm not sure this belongs with UserGuides. Do we have a page that provides links to installation notes?

Regards, Milton