Skip to content

Commit

Permalink
update the runscript
Browse files Browse the repository at this point in the history
  • Loading branch information
liuyangzhuan committed Apr 4, 2024
1 parent 6b9a6b5 commit 6eb5c4c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
3 changes: 2 additions & 1 deletion example_scripts/run_cmake_build_gnu_perlmutter_openblas.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ cmake .. \
make ie2d -j16
make ie3dport -j16
make frankben -j16
make frankben_t -j16
make frankben_t -j16
make cifio2dsb -j16
make install

# -DTPL_ARPACK_LIBRARIES="/global/homes/l/liuyangz/Perlmutter/my_research/arpack-ng-gnu_libsci/build/lib/libparpack.so"
12 changes: 8 additions & 4 deletions example_scripts/runit_SB_perlmutter.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,14 @@ fi
NTH=1
THREADS_PER_RANK=`expr $NTH \* 2`
export OMP_NUM_THREADS=$NTH
tol=1e-7
ker=2
# tol=1e-10
tol_comp=1e-7
tol_rand=1e-4

# ker=1
# tol_comp=1e-10
# tol_rand=1e-7

tol_itersol=1e-12
rank0=100
rankrate=2.0
Expand All @@ -42,11 +46,11 @@ lambda=1.0
maxitsb=40
nmin_leaf=32
nmpi=512
precon=1
precon=3
use_zfp=0
hextralevel=1
# N_FIO=256 512 1024 2048 4096
for N_FIO in 65536 #16384 #
do
srun -n ${nmpi} -c $THREADS_PER_RANK --cpu_bind=cores ../build/EXAMPLE/cifio2dsb -quant --ker ${ker} --M ${N_FIO} --N ${N_FIO} --mu ${mu} --lambda ${lambda} --maxitsb ${maxitsb} -option --use_zfp ${use_zfp} --format 2 --near_para 2.01 --tol_comp ${tol} --errsol 0 --precon ${precon} --tol_itersol ${tol_itersol} --xyzsort 1 --rank0 ${rank0} --hextralevel ${hextralevel} --rankrate ${rankrate} --nmin_leaf ${nmin_leaf} | tee a.out_matrix_IFIO2D_SB_N_FIO${N_FIO}_ker${ker}_tol${tol}_mpi${nmpi}_omp${NTH}
srun -n ${nmpi} -c $THREADS_PER_RANK --cpu_bind=cores ../build/EXAMPLE/cifio2dsb -quant --ker ${ker} --M ${N_FIO} --N ${N_FIO} --mu ${mu} --lambda ${lambda} --maxitsb ${maxitsb} -option --use_zfp ${use_zfp} --format 2 --near_para 2.01 --tol_comp ${tol_comp} --tol_rand ${tol_rand} --errsol 0 --precon ${precon} --tol_itersol ${tol_itersol} --xyzsort 1 --rank0 ${rank0} --hextralevel ${hextralevel} --rankrate ${rankrate} --nmin_leaf ${nmin_leaf} | tee a.out_matrix_IFIO2D_SB_N_FIO${N_FIO}_ker${ker}_tol_comp${tol_comp}_tol_rand${tol_rand}_mpi${nmpi}_omp${NTH}
done

0 comments on commit 6eb5c4c

Please sign in to comment.