Skip to content

Commit

Permalink
minor bugfix for matrix grepping on keywords (#1049)
Browse files Browse the repository at this point in the history
  • Loading branch information
mickaelaccensi committed Jul 31, 2023
1 parent 02cb72f commit 1cacc43
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions regtests/bin/run_cmake_test
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,9 @@ then
cp $path_build/install/bin/ww3_shel $path_e/
cp $path_build/install/bin/ww3_multi $path_e/
cp $path_build/install/bin/ww3_systrk $path_e/
cp $path_build/install/bin/ww3_prtide $path_e/
if [ -e $path_build/install/bin/ww3_prtide ]; then
cp $path_build/install/bin/ww3_prtide $path_e/
fi
fi
else
path_build=${path_build_root}
Expand Down Expand Up @@ -1127,9 +1129,9 @@ then

if [ $nml_input ] && [ ! -z "`ls ${path_i}/${prog}*.nml 2>/dev/null`" ]
then
inputs_tmp=`( ls ${path_i}/${prog}${gu}*nml)`
inputs_tmp="`ls ${path_i}/${prog}${gu}*nml 2>/dev/null`"
else
inputs_tmp=`( ls ${path_i}/${prog}${gu}*inp)`
inputs_tmp="`ls ${path_i}/${prog}${gu}*inp 2>/dev/null`"
fi

if [ ! -z "$inputs_tmp" ];then
Expand Down
2 changes: 1 addition & 1 deletion regtests/ww3_tp2.12/info
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
# * ww3_grid.inp (dummy grid input file, with assoc .bot, .mask, .obst) #
# * partition.ww3 (raw fields of partition data, 4 time steps) #
# * ww3_systrk.inp (instruction file) #
# * ww3_systrk will ABORT if endianess is incompatible with binary file! #
# * ww3_systrk will stop if endianess is incompatible with binary file! #
# #
# Sample run_test commands : #
# (Note: mpirun commands differ by local system) #
Expand Down

0 comments on commit 1cacc43

Please sign in to comment.