Commit a0373b8b authored by Modellers Operational's avatar Modellers Operational

Bug fix in nan check script

parent d974a119
[command] [command]
default = log_file=${ROSE_TASK_LOG_ROOT}; log_dir=${log_file::${#log_dir}-4} default = log_file=${ROSE_TASK_LOG_ROOT}; log_dir=${log_file::${#log_file}-4};
cd ${log_dir}; cd ../../run_fvcom/01/; cd ${log_dir}; cd ../../run_fvcom/01/;
nanlines=$(grep -w "NaN" job.out| wc -l"); nanlines=$(grep -w "NaN" job.out| wc -l);
if [ ${nanlines} -gt 0 ]; then exit 1 fi if [ ${nanlines} -gt 0 ]; then exit 1; fi;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment