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

mppnccombine needs to be compiled for Gadi #177

Closed
penguian opened this issue Nov 28, 2019 · 3 comments
Closed

mppnccombine needs to be compiled for Gadi #177

penguian opened this issue Nov 28, 2019 · 3 comments

Comments

@penguian
Copy link

penguian commented Nov 28, 2019

The executable mppnccombine needs to be compiled for Gadi.

Running the 1deg_jar55_ryf experiment on Gadi results in error messages in postprocessing such as:

payu: error: Thread 0 crashed with error code 127.
 Error message:
/g/data/fp0/pcl900/bin/mppnccombine: error while loading shared libraries: libnetcdf.so.7: cannot open shared object file: No such file or directory

The executable mppnccombine here

[pcl900@gadi-login-04 pcl900]$ file /g/data/fp0/pcl900/bin/mppnccombine
/g/data/fp0/pcl900/bin/mppnccombine: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.18, BuildID[sha1]=0a1336e90ca8fd54c9ed820ce85cd35be740dad4, stripped

is a copy of raijin:/short/public/access-om2/bin/mppnccombine.

I haven't been able to find a build script or installation instructions for mppnccombine specific to Raijin, although I have found source code at https://github.com/mom-ocean/MOM5/tree/master/src/postprocessing/mppnccombine

@aekiss
Copy link
Contributor

aekiss commented Nov 29, 2019

Thanks for catching this Paul. install.sh builds mppnccombine.

Looks like we need to update the netcdf library version in MOM5 bin/environs.nci

We want to make this uniform across model components, and it looks like 4.7.1 would be a good choice - see #166

@russfiedler
Copy link

mppnccombine.nci won't get built if there is already a copy of it existing in the directory access-om2/src/mom/bin/. It gets copied by hashexe.sh to access-om2/bin/mppnccombine. You need to remove the existing mppnccombine.nci to update the executable.

Note that if you've created a new bin/environs.gadi say (setting --platform gadi in the MOM compilation) for the new machine mppnccombine.nci is hardwired as a name rather than using the $platform variable and won't get updated.

@aekiss
Copy link
Contributor

aekiss commented Nov 29, 2019

Thanks for pointing that out @russfiedler - I've just amended install.sh to force recompilation of mppnccompile.nci: ee555d3

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