Apologies if this duplicates any other postings here... but I've been occasionally experiencing an error that I can't figure out when trying to submit land-only simulations.
Calling ./case.submit will throw:
Though I'm sure to be wrong, but the error seems to occur at random... Running my own script that eventually calls case.submit for three cases, it often times might be only one of the three cases will throw this error (with no discernible pattern). I am using the multi-instance functionality and running the simulations from a restart file.
If after my script runs I go back to the casedir for any failing cases and run ./case.submit again, it typically will work without throwing the error. So I would say this is not particularly urgent, because I have a workaround, but ideally I would like to be able to get the cases to submit on the first go.
Thanks,
Daniel
Calling ./case.submit will throw:
Code:
Loading input file list: 'Buildconf/clm.input_data_list'
Traceback (most recent call last):
File "./case.submit", line 126, in <module>
_main_func(__doc__)
File "./case.submit", line 123, in _main_func
mail_user=mail_user, mail_type=mail_type, batch_args=batch_args, workflow=workflow)
File "/glade/work/djk2120/ctsm_hardcode_co/cime/scripts/Tools/../../scripts/lib/CIME/case/case_submit.py", line 205, in submit
custom_success_msg_functor=verbatim_success_msg)
File "/glade/work/djk2120/ctsm_hardcode_co/cime/scripts/Tools/../../scripts/lib/CIME/utils.py", line 1739, in run_and_log_case_status
rv = func()
File "/glade/work/djk2120/ctsm_hardcode_co/cime/scripts/Tools/../../scripts/lib/CIME/case/case_submit.py", line 203, in <lambda>
batch_args=batch_args, workflow=workflow)
File "/glade/work/djk2120/ctsm_hardcode_co/cime/scripts/Tools/../../scripts/lib/CIME/case/case_submit.py", line 133, in _submit
case.check_case()
File "/glade/work/djk2120/ctsm_hardcode_co/cime/scripts/Tools/../../scripts/lib/CIME/case/case_submit.py", line 219, in check_case
self.check_all_input_data()
File "/glade/work/djk2120/ctsm_hardcode_co/cime/scripts/Tools/../../scripts/lib/CIME/case/check_input_data.py", line 166, in check_all_input_data
input_data_root=input_data_root, data_list_dir=data_list_dir, chksum=chksum and chksum_found)
File "/glade/work/djk2120/ctsm_hardcode_co/cime/scripts/Tools/../../scripts/lib/CIME/case/check_input_data.py", line 335, in check_input_data
if ("/" in rel_path and rel_path == full_path and not full_path.startswith('unknown')):
UnboundLocalError: local variable 'rel_path' referenced before assignment
Though I'm sure to be wrong, but the error seems to occur at random... Running my own script that eventually calls case.submit for three cases, it often times might be only one of the three cases will throw this error (with no discernible pattern). I am using the multi-instance functionality and running the simulations from a restart file.
If after my script runs I go back to the casedir for any failing cases and run ./case.submit again, it typically will work without throwing the error. So I would say this is not particularly urgent, because I have a workaround, but ideally I would like to be able to get the cases to submit on the first go.
Thanks,
Daniel