Opened 3 years ago

Last modified 3 years ago

#293 new

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

Reported by: Milton Woods Owned by: Milton Woods
Priority: major Component: ACCESS model
Keywords: ODB API import Cc: Jin Lee, Tan Le, Yi Xiao, Peter Steinle, Robin Bowen, Susan Rennie, Zhihong Li

Description

#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).

Change History (6)

comment:1 Changed 3 years ago by Milton Woods

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

comment:2 Changed 3 years ago by Robin Bowen

hi Milton and everyone

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

cheers

Robin

comment:3 Changed 3 years ago by Milton Woods

Hi Robin,

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

comment:4 Changed 3 years ago by Milton Woods

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.

comment:5 Changed 3 years ago by Robin Bowen

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

comment:6 Changed 3 years ago by Milton Woods

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

Note: See TracTickets for help on using tickets.