Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
elpa
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
15
Issues
15
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Environments
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
elpa
elpa
Commits
5b506c4b
Commit
5b506c4b
authored
Mar 15, 2019
by
Andreas Marek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a new CPU runner
parent
55d08303
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
49 additions
and
11 deletions
+49
-11
ci_test_scripts/run_ci_tests.sh
ci_test_scripts/run_ci_tests.sh
+49
-11
No files found.
ci_test_scripts/run_ci_tests.sh
View file @
5b506c4b
...
...
@@ -109,30 +109,66 @@ then
then
CLUSTER
=
"cobra"
fi
if
[[
"
$HOST
"
=
~
"talos"
]]
then
CLUSTER
=
"talos"
fi
if
[[
"
$HOST
"
=
~
"freya"
]]
then
CLUSTER
=
"freya"
fi
if
[
"
$CLUSTER
"
==
"cobra"
]
then
echo
"Running on cobra with runner
$CI_RUNNER_DESCRIPTION
with tag
$CI_RUNNER_TAGS
"
# GPU runners
if
[
"
$CI_RUNNER_TAGS
"
==
"gpu"
]
then
cp
$HOME
/runners/job_script_templates/run_
COBRA
_1node_2GPU.sh
.
echo
"./configure "
"
$configureArgs
"
>>
./run_
COBRA
_1node_2GPU.sh
echo
" "
>>
./run_
COBRA
_1node_2GPU.sh
echo
"make -j 16"
>>
./run_
COBRA
_1node_2GPU.sh
echo
" "
>>
./run_
COBRA
_1node_2GPU.sh
echo
"export OMP_NUM_THREADS=
$ompThreads
"
>>
./run_
COBRA
_1node_2GPU.sh
echo
"export TASKS=
$mpiTasks
"
>>
./run_
COBRA
_1node_2GPU.sh
echo
"make check TEST_FLAGS=
\"
$matrixSize
$nrEV
$blockSize
\"
"
>>
./run_
COBRA
_1node_2GPU.sh
cp
$HOME
/runners/job_script_templates/run_
${
CLUSTER
}
_1node_2GPU.sh
.
echo
"./configure "
"
$configureArgs
"
>>
./run_
${
CLUSTER
}
_1node_2GPU.sh
echo
" "
>>
./run_
${
CLUSTER
}
_1node_2GPU.sh
echo
"make -j 16"
>>
./run_
${
CLUSTER
}
_1node_2GPU.sh
echo
" "
>>
./run_
${
CLUSTER
}
_1node_2GPU.sh
echo
"export OMP_NUM_THREADS=
$ompThreads
"
>>
./run_
${
CLUSTER
}
_1node_2GPU.sh
echo
"export TASKS=
$mpiTasks
"
>>
./run_
${
CLUSTER
}
_1node_2GPU.sh
echo
"make check TEST_FLAGS=
\"
$matrixSize
$nrEV
$blockSize
\"
"
>>
./run_
${
CLUSTER
}
_1node_2GPU.sh
sbatch
-W
./run_
COBRA
_1node_2GPU.sh
sbatch
-W
./run_
${
CLUSTER
}
_1node_2GPU.sh
exitCode
=
$?
cat
./ELPA_CI_2gpu.out.
*
if
((
$exitCode
>
0
))
then
cat
./ELPA_CI_2gpu.err.
*
fi
fi
#SSE, AVX, AVX2, and AVX-512 runners
if
[
"
$CI_RUNNER_TAGS
"
==
"sse"
]
||
[
"
$CI_RUNNER_TAGS
"
==
"avx"
]
||
[
"
$CI_RUNNER_TAGS
"
==
"avx2"
]
||
[
"
$CI_RUNNER_TAGS
"
==
"avx512"
]
then
cp
$HOME
/runners/job_script_templates/run_
${
CLUSTER
}
_1node.sh
.
echo
"./configure "
"
$configureArgs
"
>>
./run_
${
CLUSTER
}
_1node.sh
echo
" "
>>
./run_
${
CLUSTER
}
_1node.sh
echo
"make -j 16"
>>
./run_
${
CLUSTER
}
_1node.sh
echo
" "
>>
./run_
${
CLUSTER
}
_1node.sh
echo
"export OMP_NUM_THREADS=
$ompThreads
"
>>
./run_
${
CLUSTER
}
_1node.sh
echo
"export TASKS=
$mpiTasks
"
>>
./run_
${
CLUSTER
}
_1node.sh
echo
"make check TEST_FLAGS=
\"
$matrixSize
$nrEV
$blockSize
\"
"
>>
./run_
${
CLUSTER
}
_1node.sh
sbatch
-W
./run_COBRA_1node.sh
exitCode
=
$?
cat
./ELPA_CI.out.
*
if
((
$exitCode
>
0
))
then
cat
./ELPA_CI.err.
*
fi
fi
if
((
$exitCode
>
0
))
then
cat
./test-suite.log
...
...
@@ -140,6 +176,8 @@ then
exit
$exitCode
fi
fi
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment