Replies: 1 comment 1 reply
-
This is great, danke schön! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This is great, danke schön! |
Beta Was this translation helpful? Give feedback.
-
I am running a trial model calibration following the 'What is Needed' section here: [https://cwatm.iiasa.ac.at/calibration.html]. I am running on a google compute virtual machine with Ubuntu 20.04.6 LTS.
I found that the model failed to run because the runp*_*.sh files it created did not have execute permission. I was able to fix this by adding
os.chmod(runfile, 0o744)
on line 217 of calibration_single.py. I also had the addos.chmod(runfile, 0o744)
on line 539 (now line 540 after the first edit) to get the 'best' model to run.I was surprised to need to modify the code in order to get this to run. Perhaps there is a better way? Or maybe I'm doing something incorrectly? If not, perhaps these lines should be added to the hosted code.
Beta Was this translation helpful? Give feedback.
All reactions