2017-05-17 13:45:30 +05:30
|
|
|
---
|
2017-04-12 16:46:27 +05:30
|
|
|
stages:
|
|
|
|
- prepareAll
|
2017-04-13 19:36:35 +05:30
|
|
|
- preprocessing
|
|
|
|
- postprocessing
|
2019-03-09 12:42:56 +05:30
|
|
|
- compilePETSc
|
2019-03-26 13:57:55 +05:30
|
|
|
- prepareGrid
|
|
|
|
- grid
|
2019-02-15 01:07:39 +05:30
|
|
|
- compileMarc
|
2017-04-13 19:36:35 +05:30
|
|
|
- marc
|
2019-02-15 01:07:39 +05:30
|
|
|
- compileAbaqus
|
2017-04-13 19:36:35 +05:30
|
|
|
- example
|
2017-05-09 03:22:07 +05:30
|
|
|
- performance
|
2018-07-10 16:34:32 +05:30
|
|
|
- createPackage
|
2017-04-12 16:46:27 +05:30
|
|
|
- createDocumentation
|
2017-05-12 13:09:33 +05:30
|
|
|
- saveDocumentation
|
2017-04-20 11:56:09 +05:30
|
|
|
- updateMaster
|
2017-04-13 03:00:33 +05:30
|
|
|
- clean
|
2017-05-12 13:09:33 +05:30
|
|
|
- releaseLock
|
2017-04-12 16:46:27 +05:30
|
|
|
|
|
|
|
###################################################################################################
|
|
|
|
before_script:
|
2017-05-18 20:37:19 +05:30
|
|
|
- if [ $(awk "/$CI_PIPELINE_ID/{print NR}" $TESTROOT/GitLabCI.queue)x == 'x' ];
|
|
|
|
then echo $CI_PIPELINE_ID >> $TESTROOT/GitLabCI.queue;
|
2017-05-17 13:45:30 +05:30
|
|
|
fi
|
2017-05-18 20:37:19 +05:30
|
|
|
- while [ $(awk "/$CI_PIPELINE_ID/{print NR}" $TESTROOT/GitLabCI.queue) != 1 ];
|
|
|
|
do sleep 5m;
|
2017-05-17 13:45:30 +05:30
|
|
|
done
|
2017-05-20 19:06:56 +05:30
|
|
|
- source $DAMASKROOT/env/DAMASK.sh
|
2017-04-12 16:46:27 +05:30
|
|
|
- cd $DAMASKROOT/PRIVATE/testing
|
2018-09-06 21:37:40 +05:30
|
|
|
- echo Job start:" $(date)"
|
2017-04-12 16:46:27 +05:30
|
|
|
|
2018-09-06 19:48:06 +05:30
|
|
|
###################################################################################################
|
|
|
|
after_script:
|
2018-09-06 21:37:40 +05:30
|
|
|
- echo Job end:" $(date)"
|
2018-09-06 21:28:12 +05:30
|
|
|
|
2017-04-12 16:46:27 +05:30
|
|
|
###################################################################################################
|
|
|
|
variables:
|
2017-05-17 13:45:30 +05:30
|
|
|
# ===============================================================================================
|
2017-04-12 16:46:27 +05:30
|
|
|
# GitLab Settings
|
2017-05-17 13:45:30 +05:30
|
|
|
# ===============================================================================================
|
2017-04-12 16:46:27 +05:30
|
|
|
GIT_SUBMODULE_STRATEGY: none
|
|
|
|
|
2017-05-17 13:45:30 +05:30
|
|
|
# ===============================================================================================
|
2017-04-12 16:46:27 +05:30
|
|
|
# Shortcut names
|
2017-05-17 13:45:30 +05:30
|
|
|
# ===============================================================================================
|
|
|
|
DAMASKROOT: "$TESTROOT/GitLabCI_Pipeline_$CI_PIPELINE_ID/DAMASK"
|
2017-04-12 16:46:27 +05:30
|
|
|
|
2017-05-17 13:45:30 +05:30
|
|
|
# ===============================================================================================
|
2017-04-12 16:46:27 +05:30
|
|
|
# Names of module files to load
|
2017-05-17 13:45:30 +05:30
|
|
|
# ===============================================================================================
|
2019-03-09 22:00:29 +05:30
|
|
|
# ++++++++++++ Compiler +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
2019-02-15 10:35:12 +05:30
|
|
|
IntelCompiler16_4: "Compiler/Intel/16.4 Libraries/IMKL/2016"
|
2019-02-14 05:40:24 +05:30
|
|
|
IntelCompiler17_8: "Compiler/Intel/17.8 Libraries/IMKL/2017"
|
|
|
|
IntelCompiler18_4: "Compiler/Intel/18.4 Libraries/IMKL/2018"
|
|
|
|
GNUCompiler8_2: "Compiler/GNU/8.2"
|
2017-04-12 16:46:27 +05:30
|
|
|
# ------------ Defaults ----------------------------------------------
|
2019-02-14 05:40:24 +05:30
|
|
|
IntelCompiler: "$IntelCompiler18_4"
|
|
|
|
GNUCompiler: "$GNUCompiler8_2"
|
2019-03-09 22:00:29 +05:30
|
|
|
# ++++++++++++ MPI ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
2019-02-14 05:40:24 +05:30
|
|
|
IMPI2018Intel18_4: "MPI/Intel/18.4/IntelMPI/2018"
|
|
|
|
MPICH3_3GNU8_2: "MPI/GNU/8.2/MPICH/3.3"
|
2017-04-12 16:46:27 +05:30
|
|
|
# ------------ Defaults ----------------------------------------------
|
2019-02-14 05:40:24 +05:30
|
|
|
MPICH_Intel: "$IMPI2018Intel18_4"
|
|
|
|
MPICH_GNU: "$MPICH3_3GNU8_2"
|
2019-03-09 22:00:29 +05:30
|
|
|
# ++++++++++++ PETSc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
2019-02-14 05:40:24 +05:30
|
|
|
PETSc3_10_3IMPI2018Intel18_4: "Libraries/PETSc/3.10.3/Intel-18.4-IntelMPI-2018"
|
|
|
|
PETSc3_10_3MPICH3_3GNU8_2: "Libraries/PETSc/3.10.3/GNU-8.2-MPICH-3.3"
|
2017-04-12 16:46:27 +05:30
|
|
|
# ------------ Defaults ----------------------------------------------
|
2019-02-14 05:40:24 +05:30
|
|
|
PETSc_MPICH_Intel: "$PETSc3_10_3IMPI2018Intel18_4"
|
|
|
|
PETSc_MPICH_GNU: "$PETSc3_10_3MPICH3_3GNU8_2"
|
2019-03-09 22:00:29 +05:30
|
|
|
# ++++++++++++ commercial FEM ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
2019-02-14 05:40:24 +05:30
|
|
|
Abaqus2019: "FEM/Abaqus/2019"
|
2018-11-14 21:03:50 +05:30
|
|
|
MSC2018_1: "FEM/MSC/2018.1"
|
2017-04-12 16:46:27 +05:30
|
|
|
# ------------ Defaults ----------------------------------------------
|
2019-02-14 05:40:24 +05:30
|
|
|
Abaqus: "$Abaqus2019"
|
2018-11-16 16:39:58 +05:30
|
|
|
MSC: "$MSC2018_1"
|
2019-02-14 05:40:24 +05:30
|
|
|
IntelMarc: "$IntelCompiler17_8"
|
2018-11-19 04:24:13 +05:30
|
|
|
IntelAbaqus: "$IntelCompiler16_4"
|
2019-03-09 22:00:29 +05:30
|
|
|
HDF5Marc: "HDF5/1.10.4/Intel-17.8"
|
|
|
|
# ++++++++++++ Documentation ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
2019-02-15 00:38:56 +05:30
|
|
|
Doxygen1_8_15: "Documentation/Doxygen/1.8.15"
|
2017-04-12 16:46:27 +05:30
|
|
|
# ------------ Defaults ----------------------------------------------
|
2019-02-15 00:38:56 +05:30
|
|
|
Doxygen: "$Doxygen1_8_15"
|
2017-04-12 16:46:27 +05:30
|
|
|
|
|
|
|
|
|
|
|
###################################################################################################
|
2017-05-17 13:45:30 +05:30
|
|
|
checkout:
|
2017-04-12 16:46:27 +05:30
|
|
|
stage: prepareAll
|
2017-05-17 13:45:30 +05:30
|
|
|
before_script:
|
2017-05-12 00:32:10 +05:30
|
|
|
- echo $CI_PIPELINE_ID >> $TESTROOT/GitLabCI.queue
|
2017-05-18 20:37:19 +05:30
|
|
|
- while [ $(awk "/$CI_PIPELINE_ID/{print NR}" $TESTROOT/GitLabCI.queue) != 1 ];
|
|
|
|
do sleep 5m;
|
2017-05-17 13:45:30 +05:30
|
|
|
done
|
2017-04-12 16:46:27 +05:30
|
|
|
script:
|
2017-04-12 17:58:42 +05:30
|
|
|
- mkdir -p $DAMASKROOT
|
2017-04-13 11:25:37 +05:30
|
|
|
- cd $DAMASKROOT
|
2017-05-29 14:16:26 +05:30
|
|
|
- if [ -d DAMASK ]; then rm -rf DAMASK; fi # there might be some leftovers from a failed clone
|
2017-05-02 15:51:36 +05:30
|
|
|
- git clone -q git@magit1.mpie.de:damask/DAMASK.git .
|
2017-04-13 11:25:37 +05:30
|
|
|
- git checkout $CI_COMMIT_SHA
|
2017-04-15 16:28:13 +05:30
|
|
|
- git submodule update --init
|
2017-05-20 19:06:56 +05:30
|
|
|
- source env/DAMASK.sh
|
2017-04-18 08:59:00 +05:30
|
|
|
- make processing
|
2017-04-13 19:36:35 +05:30
|
|
|
except:
|
|
|
|
- master
|
|
|
|
- release
|
2017-04-12 16:46:27 +05:30
|
|
|
|
|
|
|
###################################################################################################
|
2017-04-13 19:36:35 +05:30
|
|
|
OrientationRelationship:
|
|
|
|
stage: preprocessing
|
|
|
|
script: OrientationRelationship/test.py
|
|
|
|
except:
|
|
|
|
- master
|
|
|
|
- release
|
|
|
|
|
|
|
|
Pre_SeedGeneration:
|
|
|
|
stage: preprocessing
|
|
|
|
script: PreProcessing_SeedGeneration/test.py
|
|
|
|
except:
|
|
|
|
- master
|
|
|
|
- release
|
|
|
|
|
|
|
|
Pre_GeomGeneration:
|
|
|
|
stage: preprocessing
|
|
|
|
script: PreProcessing_GeomGeneration/test.py
|
|
|
|
except:
|
|
|
|
- master
|
|
|
|
- release
|
|
|
|
|
|
|
|
Pre_GeomModification:
|
|
|
|
stage: preprocessing
|
|
|
|
script: PreProcessing_GeomModification/test.py
|
|
|
|
except:
|
|
|
|
- master
|
|
|
|
- release
|
|
|
|
|
|
|
|
Pre_General:
|
|
|
|
stage: preprocessing
|
|
|
|
script: PreProcessing/test.py
|
|
|
|
except:
|
|
|
|
- master
|
|
|
|
- release
|
|
|
|
|
2019-03-24 02:03:59 +05:30
|
|
|
grid_geometryPacking:
|
2017-04-13 19:36:35 +05:30
|
|
|
stage: preprocessing
|
2019-03-24 02:03:59 +05:30
|
|
|
script: grid_geometryPacking/test.py
|
2017-04-13 19:36:35 +05:30
|
|
|
except:
|
|
|
|
- master
|
|
|
|
- release
|
|
|
|
|
|
|
|
###################################################################################################
|
2018-11-24 14:38:42 +05:30
|
|
|
Post_AverageDown:
|
|
|
|
stage: postprocessing
|
|
|
|
script: averageDown/test.py
|
|
|
|
except:
|
|
|
|
- master
|
|
|
|
- release
|
|
|
|
|
2019-02-15 04:54:09 +05:30
|
|
|
Post_ASCIItable:
|
|
|
|
stage: postprocessing
|
|
|
|
script: ASCIItable/test.py
|
|
|
|
except:
|
|
|
|
- master
|
|
|
|
- release
|
|
|
|
|
2018-12-21 11:57:03 +05:30
|
|
|
Post_General:
|
|
|
|
stage: postprocessing
|
|
|
|
script: PostProcessing/test.py
|
|
|
|
except:
|
|
|
|
- master
|
|
|
|
- release
|
2017-04-13 19:36:35 +05:30
|
|
|
|
|
|
|
Post_GeometryReconstruction:
|
|
|
|
stage: postprocessing
|
2019-03-26 13:57:55 +05:30
|
|
|
script: spectral_geometryReconstruction/test.py
|
2017-04-13 19:36:35 +05:30
|
|
|
except:
|
|
|
|
- master
|
|
|
|
- release
|
|
|
|
|
|
|
|
Post_addCurl:
|
|
|
|
stage: postprocessing
|
|
|
|
script: addCurl/test.py
|
|
|
|
except:
|
|
|
|
- master
|
|
|
|
- release
|
|
|
|
|
|
|
|
Post_addDivergence:
|
|
|
|
stage: postprocessing
|
|
|
|
script: addDivergence/test.py
|
|
|
|
except:
|
|
|
|
- master
|
|
|
|
- release
|
|
|
|
|
|
|
|
Post_addGradient:
|
|
|
|
stage: postprocessing
|
|
|
|
script: addGradient/test.py
|
|
|
|
except:
|
|
|
|
- master
|
|
|
|
- release
|
|
|
|
|
|
|
|
Post_ParaviewRelated:
|
|
|
|
stage: postprocessing
|
|
|
|
script: ParaviewRelated/test.py
|
|
|
|
except:
|
|
|
|
- master
|
|
|
|
- release
|
|
|
|
|
2018-11-25 15:04:42 +05:30
|
|
|
Post_OrientationConversion:
|
|
|
|
stage: postprocessing
|
2019-02-24 12:38:14 +05:30
|
|
|
script:
|
|
|
|
- OrientationConversion/test.py
|
|
|
|
- OrientationConversion/test2.py
|
2018-11-25 15:04:42 +05:30
|
|
|
except:
|
|
|
|
- master
|
|
|
|
- release
|
|
|
|
|
2017-04-13 19:36:35 +05:30
|
|
|
###################################################################################################
|
2019-03-24 02:03:59 +05:30
|
|
|
grid_mech_compile_Intel:
|
2019-03-09 12:42:56 +05:30
|
|
|
stage: compilePETSc
|
2017-04-13 19:36:35 +05:30
|
|
|
script:
|
|
|
|
- module load $IntelCompiler $MPICH_Intel $PETSc_MPICH_Intel
|
2019-03-23 14:01:13 +05:30
|
|
|
- cp -r grid_mech_compile grid_mech_compile_Intel
|
|
|
|
- grid_mech_compile_Intel/test.py
|
2017-04-13 19:36:35 +05:30
|
|
|
except:
|
|
|
|
- master
|
|
|
|
- release
|
|
|
|
|
2018-08-20 12:43:20 +05:30
|
|
|
Compile_FEM_Intel:
|
2019-03-09 12:42:56 +05:30
|
|
|
stage: compilePETSc
|
2018-08-20 12:43:20 +05:30
|
|
|
script:
|
|
|
|
- module load $IntelCompiler $MPICH_Intel $PETSc_MPICH_Intel
|
2019-03-09 12:42:56 +05:30
|
|
|
- cp -r FEM_compile FEM_compile_Intel
|
|
|
|
- FEM_compile_Intel/test.py
|
2018-08-20 12:43:20 +05:30
|
|
|
except:
|
|
|
|
- master
|
|
|
|
- release
|
|
|
|
|
2019-03-24 02:03:59 +05:30
|
|
|
grid_mech_compile_GNU:
|
2019-03-09 12:42:56 +05:30
|
|
|
stage: compilePETSc
|
2017-04-13 19:36:35 +05:30
|
|
|
script:
|
|
|
|
- module load $GNUCompiler $MPICH_GNU $PETSc_MPICH_GNU
|
2019-03-23 14:01:13 +05:30
|
|
|
- cp -r grid_mech_compile grid_mech_compile_GNU
|
|
|
|
- grid_mech_compile_GNU/test.py
|
2017-04-13 19:36:35 +05:30
|
|
|
except:
|
|
|
|
- master
|
|
|
|
- release
|
|
|
|
|
2018-08-20 12:43:20 +05:30
|
|
|
Compile_FEM_GNU:
|
2019-03-09 12:42:56 +05:30
|
|
|
stage: compilePETSc
|
2018-08-20 12:43:20 +05:30
|
|
|
script:
|
|
|
|
- module load $GNUCompiler $MPICH_GNU $PETSc_MPICH_GNU
|
2019-03-09 12:42:56 +05:30
|
|
|
- cp -r FEM_compile FEM_compile_GNU
|
|
|
|
- FEM_compile_GNU/test.py
|
2018-08-20 12:43:20 +05:30
|
|
|
except:
|
|
|
|
- master
|
|
|
|
- release
|
|
|
|
|
2017-04-13 19:36:35 +05:30
|
|
|
###################################################################################################
|
|
|
|
Compile_Intel_Prepare:
|
2019-03-26 13:57:55 +05:30
|
|
|
stage: prepareGrid
|
2017-04-19 14:20:07 +05:30
|
|
|
script:
|
2017-05-02 15:51:36 +05:30
|
|
|
- module load $IntelCompiler $MPICH_Intel $PETSc_MPICH_Intel
|
2017-04-19 14:20:07 +05:30
|
|
|
- cd $DAMASKROOT
|
2019-03-26 13:57:55 +05:30
|
|
|
- make clean grid processing
|
2017-04-13 19:36:35 +05:30
|
|
|
except:
|
|
|
|
- master
|
|
|
|
- release
|
2017-05-17 13:45:30 +05:30
|
|
|
|
2017-04-13 19:36:35 +05:30
|
|
|
###################################################################################################
|
2018-11-25 15:04:42 +05:30
|
|
|
Thermal:
|
2019-03-26 13:57:55 +05:30
|
|
|
stage: grid
|
2018-11-25 15:04:42 +05:30
|
|
|
script: Thermal/test.py
|
|
|
|
except:
|
|
|
|
- master
|
|
|
|
- release
|
|
|
|
|
2019-03-26 13:57:55 +05:30
|
|
|
grid_packedGeometry:
|
|
|
|
stage: grid
|
|
|
|
script: grid_packedGeometry/test.py
|
2017-04-13 19:36:35 +05:30
|
|
|
except:
|
|
|
|
- master
|
|
|
|
- release
|
|
|
|
|
2019-03-24 14:51:01 +05:30
|
|
|
grid_parsingArguments:
|
2019-03-26 13:57:55 +05:30
|
|
|
stage: grid
|
2019-03-24 14:51:01 +05:30
|
|
|
script: grid_parsingArguments/test.py
|
2017-04-13 19:36:35 +05:30
|
|
|
except:
|
|
|
|
- master
|
|
|
|
- release
|
|
|
|
|
|
|
|
StateIntegration_compareVariants:
|
2019-03-26 13:57:55 +05:30
|
|
|
stage: grid
|
2017-04-13 19:36:35 +05:30
|
|
|
script: StateIntegration_compareVariants/test.py
|
|
|
|
except:
|
|
|
|
- master
|
|
|
|
- release
|
|
|
|
|
|
|
|
nonlocal_densityConservation:
|
2019-03-26 13:57:55 +05:30
|
|
|
stage: grid
|
2017-04-13 19:36:35 +05:30
|
|
|
script: nonlocal_densityConservation/test.py
|
|
|
|
except:
|
|
|
|
- master
|
|
|
|
- release
|
|
|
|
|
|
|
|
Spectral_ipNeighborhood:
|
2019-03-26 13:57:55 +05:30
|
|
|
stage: grid
|
2017-04-13 19:36:35 +05:30
|
|
|
script: Spectral_ipNeighborhood/test.py
|
|
|
|
except:
|
|
|
|
- master
|
|
|
|
- release
|
|
|
|
|
2018-11-03 15:57:33 +05:30
|
|
|
RGC_DetectChanges:
|
2019-03-26 13:57:55 +05:30
|
|
|
stage: grid
|
2018-11-03 15:57:33 +05:30
|
|
|
script: RGC_DetectChanges/test.py
|
|
|
|
except:
|
|
|
|
- master
|
|
|
|
- release
|
|
|
|
|
2017-04-13 19:36:35 +05:30
|
|
|
Nonlocal_Damage_DetectChanges:
|
2019-03-26 13:57:55 +05:30
|
|
|
stage: grid
|
2017-04-13 19:36:35 +05:30
|
|
|
script: Nonlocal_Damage_DetectChanges/test.py
|
|
|
|
except:
|
|
|
|
- master
|
|
|
|
- release
|
|
|
|
|
2019-03-24 02:03:59 +05:30
|
|
|
grid_all_restart:
|
2019-03-26 13:57:55 +05:30
|
|
|
stage: grid
|
2019-03-23 15:21:21 +05:30
|
|
|
script: grid_all_restart/test.py
|
2017-04-13 19:36:35 +05:30
|
|
|
except:
|
|
|
|
- master
|
|
|
|
- release
|
|
|
|
|
2019-03-26 13:57:55 +05:30
|
|
|
grid_parsingLoadCase:
|
|
|
|
stage: grid
|
|
|
|
script: grid_parsingLoadCase/test.py
|
2017-04-13 19:36:35 +05:30
|
|
|
except:
|
|
|
|
- master
|
|
|
|
- release
|
|
|
|
|
2019-03-24 02:03:59 +05:30
|
|
|
grid_all_loadCaseRotation:
|
2019-03-26 13:57:55 +05:30
|
|
|
stage: grid
|
2019-03-24 02:03:59 +05:30
|
|
|
script: grid_all_loadCaseRotation/test.py
|
2017-04-13 19:36:35 +05:30
|
|
|
except:
|
|
|
|
- master
|
|
|
|
- release
|
|
|
|
|
2019-03-26 13:57:55 +05:30
|
|
|
grid_mech_MPI:
|
|
|
|
stage: grid
|
2017-04-13 19:36:35 +05:30
|
|
|
script:
|
|
|
|
- module load $IntelCompiler $MPICH_Intel $PETSc_MPICH_Intel
|
2019-03-26 13:57:55 +05:30
|
|
|
- grid_mech_MPI/test.py
|
2017-04-13 19:36:35 +05:30
|
|
|
except:
|
|
|
|
- master
|
|
|
|
- release
|
|
|
|
|
2019-03-24 18:36:14 +05:30
|
|
|
grid_all_restartMPI:
|
2019-03-26 13:57:55 +05:30
|
|
|
stage: grid
|
2018-11-19 00:47:07 +05:30
|
|
|
script:
|
|
|
|
- module load $IntelCompiler $MPICH_Intel $PETSc_MPICH_Intel
|
2019-03-24 18:36:14 +05:30
|
|
|
- grid_all_restartMPI/test.py
|
2018-11-19 00:47:07 +05:30
|
|
|
except:
|
|
|
|
- master
|
|
|
|
- release
|
|
|
|
|
2017-04-13 19:36:35 +05:30
|
|
|
Plasticity_DetectChanges:
|
2019-03-26 13:57:55 +05:30
|
|
|
stage: grid
|
2017-04-13 19:36:35 +05:30
|
|
|
script: Plasticity_DetectChanges/test.py
|
|
|
|
except:
|
|
|
|
- master
|
|
|
|
- release
|
|
|
|
|
|
|
|
Homogenization:
|
2019-03-26 13:57:55 +05:30
|
|
|
stage: grid
|
2017-04-13 19:36:35 +05:30
|
|
|
script: Homogenization/test.py
|
|
|
|
except:
|
|
|
|
- master
|
|
|
|
- release
|
|
|
|
|
|
|
|
Phenopowerlaw_singleSlip:
|
2019-03-26 13:57:55 +05:30
|
|
|
stage: grid
|
2017-04-13 19:36:35 +05:30
|
|
|
script: Phenopowerlaw_singleSlip/test.py
|
|
|
|
except:
|
|
|
|
- master
|
|
|
|
- release
|
|
|
|
|
2018-12-21 11:57:03 +05:30
|
|
|
TextureComponents:
|
2019-03-26 13:57:55 +05:30
|
|
|
stage: grid
|
2018-12-21 11:57:03 +05:30
|
|
|
script: TextureComponents/test.py
|
|
|
|
except:
|
|
|
|
- master
|
|
|
|
- release
|
2018-03-08 22:05:59 +05:30
|
|
|
|
2017-04-13 19:36:35 +05:30
|
|
|
|
|
|
|
###################################################################################################
|
2018-11-16 16:39:58 +05:30
|
|
|
Marc_compileIfort2018_1:
|
2019-02-15 01:07:39 +05:30
|
|
|
stage: compileMarc
|
2017-04-13 19:36:35 +05:30
|
|
|
script:
|
2019-03-09 22:00:29 +05:30
|
|
|
- module load $IntelMarc $HDF5Marc $MSC
|
|
|
|
- export DAMASK_HDF5=ON
|
2018-11-16 16:39:58 +05:30
|
|
|
- Marc_compileIfort/test.py -m 2018.1
|
2017-04-13 19:36:35 +05:30
|
|
|
except:
|
|
|
|
- master
|
|
|
|
- release
|
|
|
|
|
2018-11-14 21:03:50 +05:30
|
|
|
|
2017-04-13 19:36:35 +05:30
|
|
|
###################################################################################################
|
|
|
|
Hex_elastic:
|
|
|
|
stage: marc
|
|
|
|
script:
|
2019-03-09 22:00:29 +05:30
|
|
|
- module load $IntelMarc $HDF5Marc $MSC
|
2017-04-13 19:36:35 +05:30
|
|
|
- Hex_elastic/test.py
|
|
|
|
except:
|
|
|
|
- master
|
|
|
|
- release
|
|
|
|
|
|
|
|
CubicFCC_elastic:
|
|
|
|
stage: marc
|
|
|
|
script:
|
2019-03-09 22:00:29 +05:30
|
|
|
- module load $IntelMarc $HDF5Marc $MSC
|
2017-04-13 19:36:35 +05:30
|
|
|
- CubicFCC_elastic/test.py
|
|
|
|
except:
|
|
|
|
- master
|
|
|
|
- release
|
|
|
|
|
|
|
|
CubicBCC_elastic:
|
|
|
|
stage: marc
|
|
|
|
script:
|
2019-03-09 22:00:29 +05:30
|
|
|
- module load $IntelMarc $HDF5Marc $MSC
|
2017-04-13 19:36:35 +05:30
|
|
|
- CubicBCC_elastic/test.py
|
|
|
|
except:
|
|
|
|
- master
|
|
|
|
- release
|
|
|
|
|
|
|
|
J2_plasticBehavior:
|
|
|
|
stage: marc
|
|
|
|
script:
|
2019-03-09 22:00:29 +05:30
|
|
|
- module load $IntelMarc $HDF5Marc $MSC
|
2017-04-13 19:36:35 +05:30
|
|
|
- J2_plasticBehavior/test.py
|
|
|
|
except:
|
|
|
|
- master
|
|
|
|
- release
|
|
|
|
|
|
|
|
###################################################################################################
|
2019-02-15 18:53:16 +05:30
|
|
|
Abaqus_compile:
|
2019-02-15 01:07:39 +05:30
|
|
|
stage: compileAbaqus
|
2017-04-13 19:36:35 +05:30
|
|
|
script:
|
2019-02-15 01:11:37 +05:30
|
|
|
- module load $IntelAbaqus $Abaqus
|
2019-02-15 18:53:16 +05:30
|
|
|
- Abaqus_compileIfort/test.py
|
2017-04-13 19:36:35 +05:30
|
|
|
except:
|
|
|
|
- master
|
|
|
|
- release
|
|
|
|
|
|
|
|
###################################################################################################
|
2019-03-25 03:40:04 +05:30
|
|
|
grid_all_example:
|
2017-04-13 19:36:35 +05:30
|
|
|
stage: example
|
2019-03-25 03:40:04 +05:30
|
|
|
script: grid_all_example/test.py
|
2017-04-12 16:46:27 +05:30
|
|
|
only:
|
|
|
|
- development
|
2017-04-13 19:36:35 +05:30
|
|
|
|
2017-05-09 03:22:07 +05:30
|
|
|
###################################################################################################
|
|
|
|
SpectralRuntime:
|
|
|
|
stage: performance
|
2017-04-12 16:46:27 +05:30
|
|
|
script:
|
2017-05-09 03:22:07 +05:30
|
|
|
- module load $IntelCompiler $MPICH_Intel $PETSc_MPICH_Intel
|
2017-04-13 03:00:33 +05:30
|
|
|
- cd $DAMASKROOT
|
2019-03-26 13:57:55 +05:30
|
|
|
- make clean grid processing OPTIMIZATION=AGGRESSIVE
|
2017-05-16 09:58:46 +05:30
|
|
|
- cd $TESTROOT/performance # location of old results
|
|
|
|
- git checkout . # undo any changes (i.e. run time data from non-development branch)
|
2017-05-09 03:22:07 +05:30
|
|
|
- cd $DAMASKROOT/PRIVATE/testing
|
2017-05-16 09:58:46 +05:30
|
|
|
- SpectralAll_runtime/test.py -d $TESTROOT/performance
|
2017-05-09 03:22:07 +05:30
|
|
|
except:
|
|
|
|
- master
|
|
|
|
- release
|
2017-05-17 13:45:30 +05:30
|
|
|
|
2018-07-10 16:34:32 +05:30
|
|
|
###################################################################################################
|
|
|
|
createTar:
|
|
|
|
stage: createPackage
|
|
|
|
script:
|
|
|
|
- cd $(mktemp -d)
|
|
|
|
- $DAMASKROOT/PRIVATE/releasing/deployMe.sh $CI_COMMIT_SHA
|
2018-08-06 02:20:43 +05:30
|
|
|
except:
|
|
|
|
- master
|
|
|
|
- release
|
2018-07-10 16:34:32 +05:30
|
|
|
|
2017-04-12 16:46:27 +05:30
|
|
|
###################################################################################################
|
2017-05-17 13:45:30 +05:30
|
|
|
AbaqusStd:
|
2017-04-12 16:46:27 +05:30
|
|
|
stage: createDocumentation
|
|
|
|
script:
|
|
|
|
- module load $IntelCompiler $MPICH_Intel $PETSc_MPICH_Intel $Doxygen
|
2018-07-06 16:48:55 +05:30
|
|
|
- $DAMASKROOT/PRIVATE/documenting/runDoxygen.sh $DAMASKROOT abaqus
|
2019-02-17 12:30:26 +05:30
|
|
|
except:
|
|
|
|
- master
|
|
|
|
- release
|
2017-04-12 16:46:27 +05:30
|
|
|
|
2017-05-17 13:45:30 +05:30
|
|
|
Marc:
|
2017-04-12 16:46:27 +05:30
|
|
|
stage: createDocumentation
|
|
|
|
script:
|
|
|
|
- module load $IntelCompiler $MPICH_Intel $PETSc_MPICH_Intel $Doxygen
|
|
|
|
- $DAMASKROOT/PRIVATE/documenting/runDoxygen.sh $DAMASKROOT marc
|
2019-02-17 12:30:26 +05:30
|
|
|
except:
|
|
|
|
- master
|
|
|
|
- release
|
2017-04-12 16:46:27 +05:30
|
|
|
|
2019-03-26 13:57:55 +05:30
|
|
|
GridSolver:
|
2017-04-12 16:46:27 +05:30
|
|
|
stage: createDocumentation
|
|
|
|
script:
|
|
|
|
- module load $IntelCompiler $MPICH_Intel $PETSc_MPICH_Intel $Doxygen
|
|
|
|
- $DAMASKROOT/PRIVATE/documenting/runDoxygen.sh $DAMASKROOT spectral
|
2019-02-17 12:30:26 +05:30
|
|
|
except:
|
|
|
|
- master
|
|
|
|
- release
|
2017-04-13 03:00:33 +05:30
|
|
|
|
2019-02-15 23:22:47 +05:30
|
|
|
Processing:
|
|
|
|
stage: createDocumentation
|
|
|
|
script:
|
2019-02-17 12:30:26 +05:30
|
|
|
- cd $DAMASKROOT/processing/pre
|
2019-02-23 21:20:21 +05:30
|
|
|
- rm abq_addUserOutput.py marc_addUserOutput.py
|
2019-02-17 12:30:26 +05:30
|
|
|
- $DAMASKROOT/PRIVATE/documenting/scriptHelpToWiki.py --debug *.py
|
2019-02-15 23:22:47 +05:30
|
|
|
- cd $DAMASKROOT/processing/post
|
2019-02-16 19:57:01 +05:30
|
|
|
- rm marc_to_vtk.py vtk2ang.py
|
2019-02-17 12:30:26 +05:30
|
|
|
- $DAMASKROOT/PRIVATE/documenting/scriptHelpToWiki.py --debug *.py
|
2019-02-15 23:22:47 +05:30
|
|
|
except:
|
|
|
|
- master
|
|
|
|
- release
|
|
|
|
|
2017-05-12 13:09:33 +05:30
|
|
|
##################################################################################################
|
2017-05-17 13:45:30 +05:30
|
|
|
backupData:
|
2017-05-12 13:09:33 +05:30
|
|
|
stage: saveDocumentation
|
|
|
|
script:
|
2017-05-16 09:58:46 +05:30
|
|
|
- cd $TESTROOT/performance # location of new runtime results
|
|
|
|
- git commit -am"${CI_PIPELINE_ID}_${CI_COMMIT_SHA}"
|
2017-05-13 19:57:11 +05:30
|
|
|
- mkdir $BACKUP/${CI_PIPELINE_ID}_${CI_COMMIT_SHA}
|
2017-05-16 09:58:46 +05:30
|
|
|
- mv $TESTROOT/performance/time.png $BACKUP/${CI_PIPELINE_ID}_${CI_COMMIT_SHA}/
|
|
|
|
- mv $TESTROOT/performance/memory.png $BACKUP/${CI_PIPELINE_ID}_${CI_COMMIT_SHA}/
|
2017-05-13 19:57:11 +05:30
|
|
|
- mv $DAMASKROOT/PRIVATE/documenting/DAMASK_* $BACKUP/${CI_PIPELINE_ID}_${CI_COMMIT_SHA}/
|
2019-02-18 03:29:51 +05:30
|
|
|
- mv $DAMASKROOT/processing $BACKUP/${CI_PIPELINE_ID}_${CI_COMMIT_SHA}/
|
2017-05-16 06:46:27 +05:30
|
|
|
only:
|
|
|
|
- development
|
2017-05-12 13:09:33 +05:30
|
|
|
|
2017-05-09 03:22:07 +05:30
|
|
|
##################################################################################################
|
2017-05-17 13:45:30 +05:30
|
|
|
mergeIntoMaster:
|
2017-05-09 03:22:07 +05:30
|
|
|
stage: updateMaster
|
|
|
|
script:
|
|
|
|
- cd $DAMASKROOT
|
|
|
|
- export TESTEDREV=$(git describe) # might be detached from development branch
|
|
|
|
- echo $TESTEDREV > VERSION
|
|
|
|
- git commit VERSION -m "[skip ci] updated version information after successful test of $TESTEDREV"
|
|
|
|
- export UPDATEDREV=$(git describe) # tested state + 1 commit
|
|
|
|
- git checkout master
|
|
|
|
- git merge $UPDATEDREV -s recursive -X ours # conflicts occur only for inconsistent state
|
|
|
|
- git push origin master # master is now tested version and has updated VERSION file
|
|
|
|
- git checkout development
|
|
|
|
- git pull
|
|
|
|
- git merge master -s recursive -X ours -m "[skip ci] Merge branch 'master' into development" # only possible conflict is in VERSION file
|
|
|
|
- git push origin development # development is unchanged (as master is based on it) but has updated VERSION file
|
|
|
|
only:
|
|
|
|
- development
|
|
|
|
|
2017-04-13 03:00:33 +05:30
|
|
|
###################################################################################################
|
2017-05-13 19:57:11 +05:30
|
|
|
removeData:
|
2017-04-13 03:00:33 +05:30
|
|
|
stage: clean
|
2017-05-13 19:57:11 +05:30
|
|
|
before_script:
|
2017-05-12 13:09:33 +05:30
|
|
|
- echo 'Do nothing'
|
|
|
|
script:
|
|
|
|
- rm -rf $TESTROOT/GitLabCI_Pipeline_$CI_PIPELINE_ID
|
|
|
|
- sed -i "/$CI_PIPELINE_ID/d" $TESTROOT/GitLabCI.queue # in case pipeline was manually (web GUI) restarted and releaseLock was performed already
|
|
|
|
except:
|
|
|
|
- master
|
|
|
|
- release
|
|
|
|
|
|
|
|
###################################################################################################
|
2017-05-17 13:45:30 +05:30
|
|
|
removeLock:
|
2017-05-12 13:09:33 +05:30
|
|
|
stage: releaseLock
|
2017-05-17 13:45:30 +05:30
|
|
|
before_script:
|
2017-04-13 03:00:33 +05:30
|
|
|
- echo 'Do nothing'
|
|
|
|
when: always
|
2017-05-12 00:32:10 +05:30
|
|
|
script: sed -i "/$CI_PIPELINE_ID/d" $TESTROOT/GitLabCI.queue
|
2017-04-13 19:36:35 +05:30
|
|
|
except:
|
|
|
|
- master
|
|
|
|
- release
|