Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
D
dynamic
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
MostafaMollaali
dynamic
Commits
bbbad6c1
Commit
bbbad6c1
authored
5 years ago
by
Lars Bilke
Browse files
Options
Downloads
Patches
Plain Diff
Replaced envinf1 with eve.
parent
9dd121df
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
Jenkinsfile
+13
-13
13 additions, 13 deletions
Jenkinsfile
Tests/CMakeLists.txt
+1
-1
1 addition, 1 deletion
Tests/CMakeLists.txt
scripts/cmake/test/AddTest.cmake
+2
-2
2 additions, 2 deletions
scripts/cmake/test/AddTest.cmake
scripts/env/eve/petsc.sh
+2
-2
2 additions, 2 deletions
scripts/env/eve/petsc.sh
with
18 additions
and
18 deletions
Jenkinsfile
+
13
−
13
View file @
bbbad6c1
...
...
@@ -16,8 +16,8 @@ pipeline {
booleanParam
(
name:
'docker_conan'
,
defaultValue:
true
)
booleanParam
(
name:
'docker_conan_debug'
,
defaultValue:
true
)
booleanParam
(
name:
'docker_conan_gui'
,
defaultValue:
true
)
booleanParam
(
name:
'
frontend1
_serial'
,
defaultValue:
true
)
booleanParam
(
name:
'
frontend1
_parallel'
,
defaultValue:
true
)
booleanParam
(
name:
'
eve
_serial'
,
defaultValue:
true
)
booleanParam
(
name:
'
eve
_parallel'
,
defaultValue:
true
)
booleanParam
(
name:
'win'
,
defaultValue:
true
)
booleanParam
(
name:
'mac'
,
defaultValue:
true
)
booleanParam
(
name:
'clang_analyzer'
,
defaultValue:
true
)
...
...
@@ -262,7 +262,7 @@ pipeline {
stage
(
'Frontend2 (serial)'
)
{
when
{
beforeAgent
true
expression
{
return
params
.
frontend1
_serial
&&
(
stage_required
.
build
||
stage_required
.
full
)
}
expression
{
return
params
.
eve
_serial
&&
(
stage_required
.
build
||
stage_required
.
full
)
}
}
agent
{
label
"frontend2"
}
environment
{
...
...
@@ -304,7 +304,7 @@ pipeline {
stage
(
'Frontend2 (parallel)'
)
{
when
{
beforeAgent
true
expression
{
return
params
.
frontend1
_parallel
&&
(
stage_required
.
build
||
stage_required
.
full
)
}
expression
{
return
params
.
eve
_parallel
&&
(
stage_required
.
build
||
stage_required
.
full
)
}
}
agent
{
label
"frontend2"
}
environment
{
...
...
@@ -594,13 +594,13 @@ pipeline {
}
}
}
// *********************** Deploy e
nvinf1
******************************
stage
(
'Deploy e
nvinf1
'
)
{
// ***********************
**
Deploy e
ve **
******************************
stage
(
'Deploy e
ve
'
)
{
when
{
beforeAgent
true
expression
{
return
stage_required
.
build
||
stage_required
.
full
}
}
agent
{
label
"
envinf1
"
}
agent
{
label
"
frontend2
"
}
steps
{
script
{
sh
'rm -rf /global/apps/ogs/head/standard'
...
...
@@ -611,10 +611,10 @@ pipeline {
'-DCMAKE_INSTALL_PREFIX=/global/apps/ogs/head/standard '
+
'-DOGS_MODULEFILE=/global/apps/modulefiles/ogs/head/standard '
+
'-DOGS_CPU_ARCHITECTURE=core-avx-i '
env
=
'e
nvinf1
/cli.sh'
env
=
'e
ve
/cli.sh'
}
build
{
env
=
'e
nvinf1
/cli.sh'
env
=
'e
ve
/cli.sh'
target
=
'install'
}
...
...
@@ -622,12 +622,12 @@ pipeline {
}
}
// ******************** Deploy envinf1 PETSc ***************************
stage
(
'Deploy e
nvinf1
PETSc'
)
{
stage
(
'Deploy e
ve
PETSc'
)
{
when
{
beforeAgent
true
expression
{
return
stage_required
.
build
||
stage_required
.
full
}
}
agent
{
label
"
envinf1
"
}
agent
{
label
"
frontend2
"
}
steps
{
script
{
sh
'rm -rf /global/apps/ogs/head/petsc'
...
...
@@ -638,10 +638,10 @@ pipeline {
'-DCMAKE_INSTALL_PREFIX=/global/apps/ogs/head/petsc '
+
'-DOGS_MODULEFILE=/global/apps/modulefiles/ogs/head/petsc '
+
'-DOGS_CPU_ARCHITECTURE=core-avx-i '
env
=
'e
nvinf1
/petsc.sh'
env
=
'e
ve
/petsc.sh'
}
build
{
env
=
'e
nvinf1
/petsc.sh'
env
=
'e
ve
/petsc.sh'
target
=
'install'
cmd_args
=
'-l 30'
}
...
...
This diff is collapsed.
Click to expand it.
Tests/CMakeLists.txt
+
1
−
1
View file @
bbbad6c1
...
...
@@ -98,7 +98,7 @@ add_custom_target(tests-cleanup ${CMAKE_COMMAND} -E remove -f testrunner.xml)
set_target_properties
(
tests-cleanup PROPERTIES FOLDER Testing
)
if
(
OGS_USE_PETSC
)
if
(
"
${
HOSTNAME
}
"
STREQUAL
"frontend
1
"
)
if
(
"
${
HOSTNAME
}
"
MATCHES
"frontend
.*
"
)
set
(
MPIRUN_ARGS --mca btl_openib_allow_ib 1
)
endif
()
set
(
TEST_FILTER_MPI --gtest_filter=-MPITest*
)
...
...
This diff is collapsed.
Click to expand it.
scripts/cmake/test/AddTest.cmake
+
2
−
2
View file @
bbbad6c1
...
...
@@ -17,7 +17,7 @@
# OGS_USE_PETSC AND (OGS_USE_EIGEN OR OGS_USE_LIS)
# VIS <vtu output file(s)> # optional for documentation
# RUNTIME <in seconds> # optional for optimizing ctest duration
# values should be taken from e
nvinf1
serial job
# values should be taken from e
ve
serial job
# )
#
# Conditional arguments:
...
...
@@ -104,7 +104,7 @@ function (AddTest)
endif
()
elseif
(
AddTest_WRAPPER STREQUAL
"mpirun"
)
if
(
MPIRUN_TOOL_PATH
)
if
(
"
${
HOSTNAME
}
"
STREQUAL
"frontend
1
"
)
if
(
"
${
HOSTNAME
}
"
MATCHES
"frontend
.*
"
)
set
(
AddTest_WRAPPER_ARGS
${
AddTest_WRAPPER_ARGS
}
--mca btl_openib_allow_ib 1
)
endif
()
set
(
WRAPPER_COMMAND
${
MPIRUN_TOOL_PATH
}
)
...
...
This diff is collapsed.
Click to expand it.
scripts/env/eve/petsc.sh
+
2
−
2
View file @
bbbad6c1
...
...
@@ -8,8 +8,8 @@ source $DIR/mpi.sh
module load petsc-bilke/3.11.0-foss2018b
echo
-e
"Note: If you want to run a simulation on the cluster be aware of the "
\
"mixed CPU architecture. There are Sandy-Bridge-based nodes (orte-28, "
\
"frontend2
, envinf1
) as well as Skylake-based nodes (orte-40, frontend1)"
\
"frontend2) as well as Skylake-based nodes (orte-40, frontend1)"
\
".
\n
Consider setting CMake-option OGS_CPU_ARCHITECTURE to:
\n\n
"
\
" -DOGS_CPU_ARCHITECTURE=sandybridge
\n
"
\
" -- OR --
\n
"
\
" -DOGS_CPU_ARCHITECTURE=skylake-avx512"
\ No newline at end of file
" -DOGS_CPU_ARCHITECTURE=skylake-avx512"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment