CABLE-LSM / benchcab

Tool for evaluation of CABLE land surface model
https://benchcab.readthedocs.io/en/latest/
Apache License 2.0
2 stars 4 forks source link

CABLE exe should be run from the task directory #123

Closed SeanBryan51 closed 1 year ago

SeanBryan51 commented 1 year ago

We should run the CABLE executable from the task directory. Otherwise CABLE will complain it cannot find the soil and PFT namelist files:

 Reading CABLE_PFTPARM namelist...
 Error opening  CABLE_PFTPARM namelist...
 Error reading  CABLE_PFTPARM namelist...
 Reading CABLE_SOILPARM namelist...
 Error opening  CABLE_SOILPARM namelist...
 Error reading  CABLE_SOILPARM namelist...

This bug was introduced in #99 which runs the executable from the current working directory instead of the task directory by using the absolute path to the executable.