Skip to content

Instantly share code, notes, and snippets.

@ibaned
Last active August 28, 2015 15:06
Show Gist options
  • Save ibaned/7c69e9d30a1b26356ffd to your computer and use it in GitHub Desktop.
Save ibaned/7c69e9d30a1b26356ffd to your computer and use it in GitHub Desktop.
two-script solution to getting a 1B element case going
#!/bin/sh
#SBATCH --job-name=make1B
#SBATCH -t 02:00:00
## are we in fact able to do this with 16 ranks per node ?
#SBATCH -N 64
#SBATCH -n 1024
#SBATCH --partition small
#SBATCH -D /gpfs/u/scratch/PGES/PGESzhnl/Test/10x10/mesh
set +xe
EXE_DIR=/gpfs/u/home/PGES/PGESgnzw/scratch/core/build/test
pwd -P
date
## combined split with parmetis and balance with parma
srun $EXE_DIR/ptnParma_nothread 10x10.dmg 160M6_uni/ parma176M10/ 16 pmetis ptn 1
date
srun $EXE_DIR/uniform 10x10.dmg parma176M10/ 1408M10/
date
srun $EXE_DIR/verify 10x10.dmg 1408M10/
date
set -xe
#!/bin/sh
#SBATCH --job-name=run1B
#SBATCH -t 02:00:00
## are we in fact able to do this with 16 ranks per node ?
#SBATCH -N 64
#SBATCH -n 1024
#SBATCH --partition small
#SBATCH -D /gpfs/u/scratch/PGES/PGESzhnl/Test/10x10/mesh
set +xe
EXE_DIR=/gpfs/u/home/PGES/PGESgnzw/scratch/core/build/test
## make sure we recompile this !
## and get the right new path !
## (it has likely been purged, maybe partially)
ALB_DIR=/gpfs/u/scratch/PGES/PGESzhnl/Albany_JUN/build/src
TST_DIR=/gpfs/u/scratch/PGES/PGESzhnl/Test/10x10
pwd -P
date
## combined split with parmetis and balance with parma
srun $EXE_DIR/ptnParma_nothread 10x10.dmg 1408M10/ parma1408M14/ 16 pmetis ptn 1
date
cd $TST_DIR
## this input file needs to be carefully crafted, expecting
## the mesh parma1408M14 to exist and using the best
## MueLu parameters we have to date
srun $ALB_DIR/AlbanyT input_MueLu_1408M14.xml
date
set -xe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment