Skip to content

Commit

Permalink
add option to purge matrices on launch
Browse files Browse the repository at this point in the history
  • Loading branch information
jrekier committed Jul 1, 2024
1 parent 007fb2d commit 44f31ad
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 9 deletions.
9 changes: 0 additions & 9 deletions bin/runKore.sh

This file was deleted.

16 changes: 16 additions & 0 deletions runKore.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/bin/bash

ncpus=2

#opts='-st_type sinvert -eps_error_relative ::ascii_info_detail'
opts='-ksp_type preonly -pc_type lu'

if [ "$1" == "purge" ]; then
echo "Purging old matrices..."
rm *.mtx *.npz
fi

./bin/submatrices_new.py $ncpus
mpiexec -n $ncpus ./bin/assemble.py
mpiexec -n $ncpus ./bin/solve_nopp.py $opts
#./postprocess.py

0 comments on commit 44f31ad

Please sign in to comment.