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
c4dfb99e
Commit
c4dfb99e
authored
May 31, 2016
by
Andreas Marek
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into ELPA_GPU
parents
2b6eb498
f0f38b0f
Changes
8
Pipelines
1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
782 additions
and
96 deletions
+782
-96
.gitlab-ci.yml
.gitlab-ci.yml
+744
-82
Makefile.am
Makefile.am
+4
-3
ci_coverage_collect
ci_coverage_collect
+13
-0
ci_coverage_summary
ci_coverage_summary
+14
-0
configure.ac
configure.ac
+1
-1
test/shared_sources/setup_mpi.F90
test/shared_sources/setup_mpi.F90
+6
-0
test_project/src/test_real.F90
test_project/src/test_real.F90
+0
-1
test_scripts/get_coverage_summary.sh
test_scripts/get_coverage_summary.sh
+0
-9
No files found.
.gitlab-ci.yml
View file @
c4dfb99e
This diff is collapsed.
Click to expand it.
Makefile.am
View file @
c4dfb99e
...
...
@@ -509,6 +509,7 @@ EXTRA_elpa2_test_complex_gpu_version_single_precision@SUFFIX@_DEPENDENCIES = tes
endif
endif
# elpa2_test_real_default_kernel_qr_decomposition@SUFFIX@.sh
check_SCRIPTS
=
\
elpa1_test_real@SUFFIX@.sh
\
...
...
@@ -517,11 +518,11 @@ check_SCRIPTS = \
elpa1_test_complex@SUFFIX@.sh
\
elpa2_test_complex@SUFFIX@.sh
\
elpa2_test_complex_default_kernel@SUFFIX@.sh
\
elpa2_test_real_default_kernel_qr_decomposition@SUFFIX@.sh
\
elpa2_test_real_choose_kernel_with_api@SUFFIX@.sh
\
elpa2_test_complex_choose_kernel_with_api@SUFFIX@.sh
\
elpa2_print_kernels@SUFFIX@
if
!WITH_OPENMP
check_SCRIPTS
+=
\
elpa1_test_real_with_c@SUFFIX@.sh
\
...
...
@@ -572,8 +573,8 @@ else
endif
TESTS
=
$(check_SCRIPTS)
%.sh
:
%
echo
'
$(wrapper)
./$^
$$TEST_FLAGS'
>
$@
chmod
+x
$@
@
echo
$(wrapper)
./
$^
'
$$TEST_FLAGS'
>
$@
@
chmod
+x
$@
# Preprocessed files (just used for manual inspection)
mod_precision.i
:
$(top_srcdir)/src/mod_precision.F90
...
...
ci_coverage_collect
0 → 100755
View file @
c4dfb99e
#!/bin/bash
cov_dir
=
coverage_data
cov_file
=
$cov_dir
/coverage_
${
CI_BUILD_REF
}
_
${
CI_BUILD_NAME
}
.info
mkdir
-p
$cov_dir
/
lcov
--capture
\
$(
find src/
-name
"*.gcn[ao]"
| xargs
-n
1
dirname
|
sort
-u
|
grep
-v
ftimings | xargs
-n
1
echo
--directory
)
\
--output-file
$cov_file
lcov
-r
$cov_file
"/usr/*"
-o
$cov_file
lcov
-r
$cov_file
"/afs/*"
-o
$cov_file
lcov
-r
$cov_file
"src/ftimings"
-o
$cov_file
ci_coverage_summary
0 → 100755
View file @
c4dfb99e
#!/bin/bash
lcov
$(
for
i
in
coverage_data/coverage_
${
CI_BUILD_REF
}
_
*
.info
;
do
echo
-a
$i
;
done
)
-o
coverage_data/coverage_
${
CI_BUILD_REF
}
.info
lcov
--summary
coverage_data/coverage_
${
CI_BUILD_REF
}
.info 2>&1 |
\
awk
'/lines|functions/ {
gsub(/\.*:$/, "", $1);
gsub(/^./, "", $3);
printf "%s: %s (%s of %s), ", $1, $2, $3, $5;
}
/branches/ {
print "";
}'
|
\
sed
's/^/__COVERAGE__:/; s/, $//;'
genhtml coverage_data/coverage_
${
CI_BUILD_REF
}
.info
-o
coverage_data
configure.ac
View file @
c4dfb99e
...
...
@@ -983,7 +983,7 @@ if test x"${with_mpi}" = x"yes"; then
fi
else
if test x"${enable_openmp}" = x"yes"; then
SUFFIX="_onnode_openmp"
SUFFIX="_on
e
node_openmp"
else
SUFFIX="_onenode"
fi
...
...
test/shared_sources/setup_mpi.F90
View file @
c4dfb99e
...
...
@@ -81,6 +81,12 @@ module mod_setup_mpi
call
mpi_comm_rank
(
mpi_comm_world
,
myid
,
mpierr
)
call
mpi_comm_size
(
mpi_comm_world
,
nprocs
,
mpierr
)
#ifdef WITH_MPI
if
(
nprocs
<=
1
)
then
error stop
"The test programs must be run with more than 1 task to ensure that usage with MPI is actually tested"
endif
#endif
end
subroutine
...
...
test_project/src/test_real.F90
View file @
c4dfb99e
...
...
@@ -75,7 +75,6 @@ program test_real_example
use
ELPA1
use
elpa_utilities
,
only
:
error_unit
! use elpa_mpi
use
iso_c_binding
implicit
none
...
...
test_scripts/get_coverage_summary.sh
deleted
100755 → 0
View file @
2b6eb498
#/bin/bash
mkdir
-p
/data/elpa/gitlab/coverage/
`
git log |
head
-n
1 |
sed
-r
s/commit
\
// |
cut
-c1-16
`
lcov
-q
--capture
--directory
src/.libs
--directory
src/elpa2_kernels
--output-file
coverage_all.info
&&
lcov
-q
./coverage_all.info /usr/lib64/
\*
-r
./coverage_all.info /afs/ipp-garching.mpg.de/common/soft/gcc/4.9.3/@sys/lib/gcc/x86_64-unknown-linux-gnu/4.9.3/include/
*
>
./coverage_all_cleaned_
$(
git log |
head
-n
1 |
sed
-r
s/commit
\
// |
cut
-c1-16
)
_
"
$(
pidof pidof
)
"
.info
mv
coverage_all_cleaned_
*
/data/elpa/gitlab/coverage/
`
git log |
head
-n
1 |
sed
-r
s/commit
\
// |
cut
-c1-16
`
lcov
$(
for
f
in
/data/elpa/gitlab/coverage/
`
git log |
head
-n
1 |
sed
-r
s/commit
\
// |
cut
-c1-16
`
/
*
;
do
echo
"-a
$f
"
;
done
)
-o
info.out
lcov
--summary
info.out 2>&1 |
awk
'/lines|functions/ {gsub(/\.*:$/, "", $1); gsub(/^./, "", $3); printf "%s: %s (%s of %s), ", $1, $2, $3, $5; } /branches/ {print "";}'
|
sed
's/^/__COVERAGE__:/; s/, $//;'
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