need to compile mesh solver

less stages for more parallelism
This commit is contained in:
Martin Diehl 2020-11-24 11:59:40 +01:00
parent 136998eb27
commit ad449f7a44
1 changed files with 37 additions and 26 deletions

View File

@ -4,10 +4,8 @@ stages:
- python - python
- preprocessing - preprocessing
- postprocessing - postprocessing
- compilePETSc - compile
- prepareGrid
- grid - grid
- compileMarc
- marc - marc
- performance - performance
- createPackage - createPackage
@ -182,8 +180,8 @@ Post_OrientationAverageMisorientation:
- release - release
################################################################################################### ###################################################################################################
grid_mech_compile_Intel: compile_grid_Intel:
stage: compilePETSc stage: compile
script: script:
- module load $IntelCompiler $MPICH_Intel $PETSc_MPICH_Intel - module load $IntelCompiler $MPICH_Intel $PETSc_MPICH_Intel
- cd pytest - cd pytest
@ -192,8 +190,8 @@ grid_mech_compile_Intel:
- master - master
- release - release
Compile_FEM_Intel: compile_mesh_Intel:
stage: compilePETSc stage: compile
script: script:
- module load $IntelCompiler $MPICH_Intel $PETSc_MPICH_Intel - module load $IntelCompiler $MPICH_Intel $PETSc_MPICH_Intel
- cd pytest - cd pytest
@ -202,8 +200,8 @@ Compile_FEM_Intel:
- master - master
- release - release
grid_mech_compile_GNU: compile_grid_GNU:
stage: compilePETSc stage: compile
script: script:
- module load $GNUCompiler $MPICH_GNU $PETSc_MPICH_GNU - module load $GNUCompiler $MPICH_GNU $PETSc_MPICH_GNU
- cd pytest - cd pytest
@ -212,8 +210,8 @@ grid_mech_compile_GNU:
- master - master
- release - release
Compile_FEM_GNU: compile_mesh_GNU:
stage: compilePETSc stage: compile
script: script:
- module load $GNUCompiler $MPICH_GNU $PETSc_MPICH_GNU - module load $GNUCompiler $MPICH_GNU $PETSc_MPICH_GNU
- cd pytest - cd pytest
@ -222,13 +220,36 @@ Compile_FEM_GNU:
- master - master
- release - release
################################################################################################### compile_MARC:
Compile_Intel_Prepare: stage: compile
stage: prepareGrid script:
- module load $IntelMarc $HDF5Marc $MSC
- cd pytest
- pytest -k 'compile and Marc' --basetemp=${TESTROOT}/compile_Marc
except:
- master
- release
setup_grid:
stage: compile
script: script:
- module load $IntelCompiler $MPICH_Intel $PETSc_MPICH_Intel - module load $IntelCompiler $MPICH_Intel $PETSc_MPICH_Intel
- cd $DAMASKROOT - $BUILD_DIR=$(mktemp -d)
- make clean grid processing - cd ${BUILD_DIR}
- cmake -DDAMASK_SOLVER=GRID -DCMAKE_INSTALL_PREFIX=${DAMASKROOT} ${DAMASKROOT}/src
- make -j2 all install
except:
- master
- release
setup_mesh:
stage: compile
script:
- module load $IntelCompiler $MPICH_Intel $PETSc_MPICH_Intel
- $BUILD_DIR=$(mktemp -d)
- cd ${BUILD_DIR}
- cmake -DDAMASK_SOLVER=MESH -DCMAKE_INSTALL_PREFIX=${DAMASKROOT} ${DAMASKROOT}/src
- make -j2 all install
except: except:
- master - master
- release - release
@ -272,16 +293,6 @@ Phenopowerlaw_singleSlip:
- master - master
- release - release
###################################################################################################
Marc_compileIfort:
stage: compileMarc
script:
- module load $IntelMarc $HDF5Marc $MSC
- cd pytest
- pytest -k 'compile and Marc' --basetemp=${TESTROOT}/compile_Marc
except:
- master
- release
################################################################################################### ###################################################################################################
Hex_elastic: Hex_elastic: