Skip to content

Commit

Permalink
Try to limit size of the logs.
Browse files Browse the repository at this point in the history
  • Loading branch information
fghoussen committed Sep 14, 2024
1 parent 320df16 commit be0ea42
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions EXAMPLES/MATRIX_MARKET/arpackmm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -77,16 +77,21 @@ do
eval "$CMD"

# Run arpackmm: use --nbCV 6 and --maxIt 200 to ease convergence, and, --verbose 3 for debug.
export CMD="./arpackmm $eigPb $genPb $magOpt $shiftRI $invert $tol $slv $rs $dsPrec $dsMat $extraGenPb --nbCV 6 --maxIt 200 --verbose 3 --debug 3"
export CMD="./arpackmm $eigPb $genPb $magOpt $shiftRI $invert $tol $slv $rs $dsPrec $dsMat $extraGenPb --nbCV 6 --maxIt 200"
echo "$CMD"
eval "$CMD &> arpackmm.run.log"
echo ""
export CMDDBG="tail -n 15 arpackmm.run.log"
export CMDDBG="tail arpackmm.run.log"
eval "$CMDDBG"
echo ""
echo "========================================================================================"
echo ""

# Remove previous log.
export CMDLOG="rm -f arpackmm.run.log"
echo "$CMDLOG"
eval "$CMDLOG"

# Run arpackmm: re-run with restart.
export CMD="$CMD --restart"
echo "$CMD"
Expand All @@ -96,6 +101,11 @@ do
echo ""
echo "========================================================================================"
echo ""

# Remove previous log.
export CMDLOG="rm -f arpackmm.run.log"
echo "$CMDLOG"
eval "$CMDLOG"
done
done
done
Expand Down

0 comments on commit be0ea42

Please sign in to comment.