Traceback (most recent call last):
File "/g/data3/hh5/public/apps/miniconda3/envs/analysis3-21.07/bin/payu", line 10, in <module>
sys.exit(parse())
File "/g/data/hh5/public/apps/miniconda3/envs/analysis3-21.07/lib/python3.9/site-packages/payu/cli.py", line 42, in parse
run_cmd(**args)
File "/g/data/hh5/public/apps/miniconda3/envs/analysis3-21.07/lib/python3.9/site-packages/payu/subcommands/archive_cmd.py", line 18, in runcmd
expt.archive()
File "/g/data/hh5/public/apps/miniconda3/envs/analysis3-21.07/lib/python3.9/site-packages/payu/experiment.py", line 781, in archive
ld_libpaths = os.environ['LD_LIBRARY_PATH']
File "/g/data/hh5/public/apps/miniconda3/envs/analysis3-21.07/lib/python3.9/os.py", line 679, in __getitem__
raise KeyError(key) from None
Should use get and supply an appropriate default if it doesn't exist.
In the
archive
steppayu
assumedLD_LIBRARY_PATH
is populated and errors if it doesn't:https://github.com/payu-org/payu/blob/master/payu/experiment.py#L781
Should use
get
and supply an appropriate default if it doesn't exist.