changed: compareECL now needs -t UNRST

previously this was the default, now the default is to compare
files of all types.
This commit is contained in:
Arne Morten Kvarving 2019-05-09 07:55:05 +02:00
parent c4bcd9e467
commit cdd1048b68
2 changed files with 4 additions and 4 deletions

View File

@ -37,11 +37,11 @@ then
fi fi
echo "=== Executing comparison for restart file ===" echo "=== Executing comparison for restart file ==="
${COMPARE_ECL_COMMAND} -l ${RESULT_PATH}/${FILENAME} ${RESULT_PATH}/mpi/${FILENAME} ${ABS_TOL} ${REL_TOL} ${COMPARE_ECL_COMMAND} -l -t UNRST ${RESULT_PATH}/${FILENAME} ${RESULT_PATH}/mpi/${FILENAME} ${ABS_TOL} ${REL_TOL}
if [ $? -ne 0 ] if [ $? -ne 0 ]
then then
ecode=1 ecode=1
${COMPARE_ECL_COMMAND} -a -l ${RESULT_PATH}/${FILENAME} ${RESULT_PATH}/mpi/${FILENAME} ${ABS_TOL} ${REL_TOL} ${COMPARE_ECL_COMMAND} -a -l -t UNRST ${RESULT_PATH}/${FILENAME} ${RESULT_PATH}/mpi/${FILENAME} ${ABS_TOL} ${REL_TOL}
fi fi
exit $ecode exit $ecode

View File

@ -47,11 +47,11 @@ then
fi fi
echo "=== Executing comparison for restart file ===" echo "=== Executing comparison for restart file ==="
${COMPARE_ECL_COMMAND} -l ${RESULT_PATH}/${FILENAME} ${RESULT_PATH}/${FILENAME}_RESTART ${ABS_TOL} ${REL_TOL} ${COMPARE_ECL_COMMAND} -l -t UNRST ${RESULT_PATH}/${FILENAME} ${RESULT_PATH}/${FILENAME}_RESTART ${ABS_TOL} ${REL_TOL}
if [ $? -ne 0 ] if [ $? -ne 0 ]
then then
ecode=1 ecode=1
${COMPARE_ECL_COMMAND} -a -l ${RESULT_PATH}/${FILENAME} ${RESULT_PATH}/${FILENAME}_RESTART ${ABS_TOL} ${REL_TOL} ${COMPARE_ECL_COMMAND} -a -l -t UNRST ${RESULT_PATH}/${FILENAME} ${RESULT_PATH}/${FILENAME}_RESTART ${ABS_TOL} ${REL_TOL}
fi fi
exit $ecode exit $ecode