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

Outdated gfortran compiler for mizuRoute compilation on npc #171

Open
DarriEy opened this issue Mar 20, 2024 · 2 comments
Open

Outdated gfortran compiler for mizuRoute compilation on npc #171

DarriEy opened this issue Mar 20, 2024 · 2 comments

Comments

@DarriEy
Copy link

DarriEy commented Mar 20, 2024

Use

/cvmfs/soft.computecanada.ca/nix/var/nix/profiles/gcc-7.3.0/bin/gfortran

@DarriEy
Copy link
Author

DarriEy commented Mar 20, 2024

Tried running mizuRoute on Graham and it failed to initialise routing due to being built with an outdated gfortran compiler. Updated path to gfortran compiler and associated netCDF library, recompiled mizoRoute and it works as expected.

FC_EXE=/cvmfs/soft.computecanada.ca/nix/var/nix/profiles/gcc-7.3.0/bin/gfortran
NCDF_PATH=/cvmfs/soft.computecanada.ca/easybuild/software/2017/avx2/Compiler/gcc7.3/netcdf-fortran/4.4.4

@wknoben
Copy link
Collaborator

wknoben commented Mar 20, 2024

This issue appeared while reading the mizuRoute control file as:

Internal Error: get_unit(): Bad internal unit KIND

image

Note that compiler versions are hard-coded in the compile script, so loading them externally is not enough. Scripts need to be changed too.

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

2 participants