-
-
Save cwsmith/267cbd51224cdd91fd1d to your computer and use it in GitHub Desktop.
two-script solution to getting a 1B element case going
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 | |
model=10x10.dmg | |
inMesh=160M6_uni/ | |
splitParmaMesh=bz2:176M10/ | |
factor=16 | |
method=pmetis | |
approach=ptn | |
islocal=1 | |
srun $EXE_DIR/ptnParma_nothread \ | |
$model $inMesh $splitParmaMesh \ | |
$factor $method $approach $isLocal | |
date | |
urMesh=bz2:1408M10/ | |
srun $EXE_DIR/uniform $model $splitParmaMesh $urMesh | |
date | |
## maybe ?? - yes | |
srun $EXE_DIR/verify $model $urMesh | |
date | |
set +xe | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 | |
srun $EXE_DIR/split 10x10.dmg 1408M10/ 1408M14/ 16 | |
date | |
## what is the parma executable and what are its arguments ? | |
srun $EXE_DIR/parma 10x10.dmg 1408M14/ parma1408M14/ ... | |
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
#SBATCH -t SET_THIS | |
#SBATCH -N SET_THIS | |
#SBATCH -n SET_THIS | |
#SBATCH --partition SET_THIS | |
set -xe | |
EXE_DIR=/gpfs/u/home/PGES/PGESgnzw/scratch/core/build/test | |
pwd -P | |
date | |
model=SET_THIS | |
inMesh=SET_THIS | |
factor=SET_THIS | |
splitParmaMesh=bz2:splitParma${factor}/ | |
method=pmetis | |
approach=ptn | |
islocal=1 | |
#### split + parma ##### | |
srun $EXE_DIR/ptnParma_nothread \ | |
$model $inMesh $splitParmaMesh \ | |
$factor $method $approach $isLocal | |
date | |
#### verify #### | |
srun $EXE_DIR/verify $model $splitParmaMesh | |
date | |
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 | |
cd $TST_DIR | |
## this input file needs to be carefully crafted, expecting | |
## the mesh to exist and using the best | |
## MueLu parameters we have to date | |
#### albany ##### | |
srun $ALB_DIR/AlbanyT SET_THIS | |
date | |
set +xe |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment