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
11
Issues
11
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
9a0a721d
Commit
9a0a721d
authored
Jan 31, 2018
by
Andreas Marek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Gitlab CI: fix Scalapack tests
parent
9750a05e
Changes
3
Pipelines
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
39 additions
and
39 deletions
+39
-39
.gitlab-ci.yml
.gitlab-ci.yml
+32
-16
ci_test_scripts/generate_gitlab_ci_tests.py
ci_test_scripts/generate_gitlab_ci_tests.py
+6
-22
ci_test_scripts/run_ci_tests.sh
ci_test_scripts/run_ci_tests.sh
+1
-1
No files found.
.gitlab-ci.yml
View file @
9a0a721d
This diff is collapsed.
Click to expand it.
ci_test_scripts/generate_gitlab_ci_tests.py
View file @
9a0a721d
...
@@ -642,14 +642,14 @@ for cc, fc, m, o, p, a, b, g, cov, instr, addr, na in product(
...
@@ -642,14 +642,14 @@ for cc, fc, m, o, p, a, b, g, cov, instr, addr, na in product(
#print(" - echo \"srun --ntasks=1 --cpus-per-task=1 $SRUN_COMMANDLINE_CONFIGURE\" ")
#print(" - echo \"srun --ntasks=1 --cpus-per-task=1 $SRUN_COMMANDLINE_CONFIGURE\" ")
if
(
runScalapackTest
):
if
(
runScalapackTest
):
print
(
" - srun --ntasks-per-core=1 --ntasks=1 --cpus-per-task=1 $SRUN_COMMANDLINE_CONFIGURE"
\
print
(
" - pwd"
)
+
" /scratch/elpa/bin/configure_elpa.sh"
\
print
(
" - ./ci_test_scripts/run_ci_tests.sh -c
\"
CC=
\\\"
"
+
c_compiler_wrapper
+
"
\\\"
"
+
" CFLAGS=
\\\"
"
+
CFLAGS
+
"
\\\"
"
+
" FC=
\\\"
"
+
fortran_compiler_wrapper
+
"
\\\"
"
+
" FCFLAGS=
\\\"
"
+
FCFLAGS
+
"
\\\"
"
\
+
"
\"
CC=
\\\"
"
+
c_compiler_wrapper
+
"
\\\"
"
+
" CFLAGS=
\\\"
"
+
CFLAGS
+
"
\\\"
"
\
+
libs
+
" "
+
ldflags
+
" "
+
" "
+
scalapackldflags
+
" "
+
scalapackfcflags
\
+
" FC=
\\\"
"
+
fortran_compiler_wrapper
+
"
\\\"
"
+
" FCFLAGS=
\\\"
"
+
FCFLAGS
+
"
\\\"
"
\
+
libs
+
" "
+
ldflags
+
" "
+
" "
+
scalapackldflags
+
" "
+
scalapackfcflags
\
+
" --enable-option-checking=fatal --enable-scalapack-tests"
+
" "
+
mpi_configure_flag
+
" "
+
openmp
[
o
]
\
+
" --enable-option-checking=fatal --enable-scalapack-tests"
+
" "
+
mpi_configure_flag
+
" "
+
openmp
[
o
]
\
+
" "
+
precision
[
p
]
+
" "
+
assumed_size
[
a
]
+
" "
+
band_to_full_blocking
[
b
]
\
+
" "
+
precision
[
p
]
+
" "
+
assumed_size
[
a
]
+
" "
+
band_to_full_blocking
[
b
]
\
+
" "
+
gpu
[
g
]
+
INSTRUCTION_OPTIONS
+
"
\"
"
)
+
" "
+
gpu
[
g
]
+
INSTRUCTION_OPTIONS
+
"
\"
-j 8 -t "
+
str
(
MPI_TASKS
)
+
" -m $MATRIX_SIZE -n $NUMBER_OF_EIGENVECTORS -b $BLOCK_SIZE -s $SKIP_STEP -q
\"
srun
\"
"
)
else
:
else
:
print
(
" - pwd"
)
print
(
" - pwd"
)
print
(
" - ./ci_test_scripts/run_ci_tests.sh -c
\"
CC=
\\\"
"
+
c_compiler_wrapper
+
"
\\\"
"
+
" CFLAGS=
\\\"
"
+
CFLAGS
+
"
\\\"
"
+
" FC=
\\\"
"
+
fortran_compiler_wrapper
+
"
\\\"
"
+
" FCFLAGS=
\\\"
"
+
FCFLAGS
+
"
\\\"
"
\
print
(
" - ./ci_test_scripts/run_ci_tests.sh -c
\"
CC=
\\\"
"
+
c_compiler_wrapper
+
"
\\\"
"
+
" CFLAGS=
\\\"
"
+
CFLAGS
+
"
\\\"
"
+
" FC=
\\\"
"
+
fortran_compiler_wrapper
+
"
\\\"
"
+
" FCFLAGS=
\\\"
"
+
FCFLAGS
+
"
\\\"
"
\
...
@@ -657,24 +657,8 @@ for cc, fc, m, o, p, a, b, g, cov, instr, addr, na in product(
...
@@ -657,24 +657,8 @@ for cc, fc, m, o, p, a, b, g, cov, instr, addr, na in product(
+
" --enable-option-checking=fatal"
+
" "
+
mpi_configure_flag
+
" "
+
openmp
[
o
]
\
+
" --enable-option-checking=fatal"
+
" "
+
mpi_configure_flag
+
" "
+
openmp
[
o
]
\
+
" "
+
precision
[
p
]
+
" "
+
assumed_size
[
a
]
+
" "
+
band_to_full_blocking
[
b
]
\
+
" "
+
precision
[
p
]
+
" "
+
assumed_size
[
a
]
+
" "
+
band_to_full_blocking
[
b
]
\
+
" "
+
gpu
[
g
]
+
INSTRUCTION_OPTIONS
+
"
\"
-j 8 -t "
+
str
(
MPI_TASKS
)
+
" -m $MATRIX_SIZE -n $NUMBER_OF_EIGENVECTORS -b $BLOCK_SIZE -s $SKIP_STEP -q
\"
srun
\"
"
)
+
" "
+
gpu
[
g
]
+
INSTRUCTION_OPTIONS
+
"
\"
-j 8 -t "
+
str
(
MPI_TASKS
)
+
" -m $MATRIX_SIZE -n $NUMBER_OF_EIGENVECTORS -b $BLOCK_SIZE -s $SKIP_STEP -q
\"
srun
\"
"
)
#print(" - srun --ntasks-per-core=1 --ntasks=1 --cpus-per-task=1 $SRUN_COMMANDLINE_CONFIGURE" \
# + " /scratch/elpa/bin/configure_elpa.sh" \
# + " \" CC=\\\""+c_compiler_wrapper+"\\\"" + " CFLAGS=\\\""+CFLAGS+"\\\"" \
# + " FC=\\\""+fortran_compiler_wrapper+"\\\"" + " FCFLAGS=\\\""+FCFLAGS+"\\\"" \
# + libs + " " + ldflags + " " + " " + scalapackldflags + " " + scalapackfcflags \
# + " --enable-option-checking=fatal " + " " + mpi_configure_flag + " " + openmp[o] \
# + " " + precision[p] + " " + assumed_size[a] + " " + band_to_full_blocking[b] \
# + " " +gpu[g] + INSTRUCTION_OPTIONS + "\"" )
print
(
" - sleep 1"
)
print
(
" - sleep 1"
)
# # do the build
#if ( instr == "avx2" or instr == "avx512" or instr == "knl" or g == "with-gpu"):
# #print(" - echo \"srun --ntasks=1 --cpus-per-task=8 $SRUN_COMMANDLINE_BUILD\" ")
# print(" - srun --ntasks-per-core=1 --ntasks=1 --cpus-per-task=8 $SRUN_COMMANDLINE_BUILD /scratch/elpa/bin/build_elpa.sh")
# do the test
# do the test
if
(
instr
==
"avx2"
or
instr
==
"avx512"
or
instr
==
"knl"
or
g
==
"with-gpu"
):
if
(
instr
==
"avx2"
or
instr
==
"avx512"
or
instr
==
"knl"
or
g
==
"with-gpu"
):
...
...
ci_test_scripts/run_ci_tests.sh
View file @
9a0a721d
...
@@ -93,7 +93,7 @@ else
...
@@ -93,7 +93,7 @@ else
if
[
"
$batchCommand
"
==
"srun"
]
if
[
"
$batchCommand
"
==
"srun"
]
then
then
echo
"Running with
$batchCommand
with
$SRUN_COMMANDLINE_CONFIGURE
"
echo
"Running with
$batchCommand
with
$SRUN_COMMANDLINE_CONFIGURE
"
# $batchCommand --ntasks-per-core=1 --ntasks=1 --cpus-per-task=1 $SRUN_COMMANDLINE_CONFIGURE bash -c ' {source /etc/profile.d/modules.sh && source .ci-env-vars && eval ./configure $configureArgs; }'
# $batchCommand --ntasks-per-core=1 --ntasks=1 --cpus-per-task=1 $SRUN_COMMANDLINE_CONFIGURE bash -c ' {source /etc/profile.d/modules.sh && source .
/ci_test_scripts/
ci-env-vars && eval ./configure $configureArgs; }'
$batchCommand
--ntasks-per-core
=
1
--ntasks
=
1
--cpus-per-task
=
1
$SRUN_COMMANDLINE_CONFIGURE
./ci_test_scripts/configure_step.sh
"
$configureArgs
"
$batchCommand
--ntasks-per-core
=
1
--ntasks
=
1
--cpus-per-task
=
1
$SRUN_COMMANDLINE_CONFIGURE
./ci_test_scripts/configure_step.sh
"
$configureArgs
"
if
[
$?
-ne
0
]
;
then
cat
config.log
&&
exit
1
;
fi
if
[
$?
-ne
0
]
;
then
cat
config.log
&&
exit
1
;
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