Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unifying netCDF/HDF versions across components #147

Closed
russfiedler opened this issue May 17, 2019 · 8 comments
Closed

Unifying netCDF/HDF versions across components #147

russfiedler opened this issue May 17, 2019 · 8 comments
Assignees

Comments

@russfiedler
Copy link

At the moment the various components appear to be built with different netCDF versions by default. There really should be a common version used. This is important in the light of problems with some of the libraries. See here for issues if we move to PIO for CICE. COSIMA/cice5#34

@aekiss
Copy link
Contributor

aekiss commented May 17, 2019

libcheck.sh provides overview of the libraries used

@russfiedler
Copy link
Author

Yes it provides an overview and it's how I spotted all the different libraries being used. The thing is that, ideally, they should be consistent in the first place.

@aekiss
Copy link
Contributor

aekiss commented May 17, 2019

I agree - it was just a FYI but you already knew...

@nichannah
Copy link
Contributor

libcheck.sh now reports netcdf/4.3.2 being used for all submodels.

@aekiss aekiss reopened this Aug 15, 2019
@aekiss
Copy link
Contributor

aekiss commented Aug 15, 2019

Hi @nichannah I've encountered something weird - when I compile this latest version with install.sh, libcheck.sh gives me the wrong netcdf version

      /short/v45/aek156/sources/new/access-om2/src/libaccessom2/build/bin/yatm.exe:
	libnetcdff.so.6 => /apps/netcdf/4.4.1.1/lib/libnetcdff.so.6 (0x00007fe62dbae000)
	libnetcdf.so.11 => /apps/netcdf/4.4.1.1/lib/libnetcdf.so.11 (0x00007fe62a7db000)

This seems to be due to install.sh:

module load netcdf/4.4.1.1

When I recompile with that line removed I get

      /short/v45/aek156/sources/new/access-om2/src/libaccessom2/build/bin/yatm.exe:
	libnetcdff.so.6 => not found
	libnetcdf.so.11 => not found

so for some reason it's not picking up module load netcdf/4.3.2 from build_on_raijin.sh.

install.sh uses cmake and make - does this even use build_on_raijin.sh?

@aekiss
Copy link
Contributor

aekiss commented Aug 18, 2019

I've set install.sh to use build_on_raijin.sh in 488b084
but build_on_raijin.sh has an issue: COSIMA/libaccessom2#24

@nichannah
Copy link
Contributor

Re our TWG discussion, do we now want to upgrade again to netcdf/4.7.1?

@nichannah
Copy link
Contributor

Closing this for now, we can do upgrade as a separate issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants