Open DarriEy opened 7 months ago
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
This issue appeared while reading the mizuRoute control file as:
Internal Error: get_unit(): Bad internal unit KIND
Note that compiler versions are hard-coded in the compile script, so loading them externally is not enough. Scripts need to be changed too.
Use
/cvmfs/soft.computecanada.ca/nix/var/nix/profiles/gcc-7.3.0/bin/gfortran