NOAA-EMC / hpc-stack

Create a software stack for HPC's
GNU Lesser General Public License v2.1
29 stars 35 forks source link

nco/5.0.6 and nco/4.9.3 not working as expected #522

Closed DeniseWorthen closed 8 months ago

DeniseWorthen commented 1 year ago

Describe the bug

Loading the ufs-weather modules, and then adding nco/5.0.6 or nco/4.9.3 results in 'command not found' for ncap2 but other nco commands (e.g. ncrcat) do work. If I switch nco/4.9.1 ncap2 works as expected.

To Reproduce module use ufs-weather-model/modulefiles module load ufs_hera.intel module avail nco (shows 4.9.1, 4.9.3, 5.0.6) module load nco/4.9.1

Expected behavior

ncrcat sfcf*nc sfc.nc --> concatenates the files ncap2 -s 'time=array(0,1,$time)' sfcf000.nc tmp.nc --> edits the time variable

Switch to nco/4.9.3 or nco/5.0.6

ncrcat sfcf*nc sfc.nc --> concatenates the files ncap2 -s 'time=array(0,1,$time)' sfcf000.nc tmp.nc --> ncap2: command not found

System: hera

Additional context Add any other context about the problem here.

DeniseWorthen commented 8 months ago

I'm going to close this because we've moved to spack-stack. If I find it is still and issue, I will open one in spack-stack instead.