payu-org / payu

A workflow management tool for numerical models on the NCI computing systems
Apache License 2.0
18 stars 25 forks source link

Control directory is not included when checking for storage flag #264

Closed aidanheerdegen closed 3 years ago

aidanheerdegen commented 4 years ago

payu parses all manifests to check for mount points to add to the -l storage option for PBS on gadi. It does not seem to check the path to the control directory which can lead to errors like this

Traceback (most recent call last):
  File "/home/502/aph502/.local/bin/payu-run", line 11, in <module>
    load_entry_point('payu', 'console_scripts', 'payu-run')()
  File "/home/502/aph502/code/python/payu/payu/subcommands/run_cmd.py", line 116, in runscript
    lab = Laboratory(run_args.model_type, run_args.config_path,
  File "/home/502/aph502/code/python/payu/payu/laboratory.py", line 30, in __init__
    raise ValueError('Cannot determine model type.')
ValueError: Cannot determine model type.

payu: warning: Configuration file config.yaml not found!