Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
jukkr
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
kkr
jukkr
Commits
028a7a76
Commit
028a7a76
authored
3 years ago
by
Philipp Rüssmann
Browse files
Options
Downloads
Patches
Plain Diff
Prepare merge into kkrnano-chebyshev-tfQMRgpu branch
parent
1e55376f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
source/KKRnano/regtests/tests.py
+8
-8
8 additions, 8 deletions
source/KKRnano/regtests/tests.py
tests/gitlab-ci/build_kkrnano.yml
+1
-0
1 addition, 0 deletions
tests/gitlab-ci/build_kkrnano.yml
tests/gitlab-ci/run_kkrnano.yml
+6
-0
6 additions, 0 deletions
tests/gitlab-ci/run_kkrnano.yml
with
15 additions
and
8 deletions
source/KKRnano/regtests/tests.py
+
8
−
8
View file @
028a7a76
...
...
@@ -12,7 +12,7 @@ TESTDIR = os.getcwd() ### perform the calculation in the current working directo
DECIMALS
=
6
### 8=all digits, 6 should be enough
DEFAULT_lmax
=
3
DEFAULT_nranks
=
1
DEFAULT_nthreads
=
2
DEFAULT_nthreads
=
4
direct
=
4
##
iterative
=
3
##
DEFAULT_solver
=
iterative
...
...
@@ -117,18 +117,18 @@ class Test_copper(unittest.TestCase):
for
r
in
range
(
0
,
AllMPIs
*
2
+
1
):
# nranks=[1, 2, 4]
self
.
assertAlmostEqual
(
KKRnano
(
"
Cu4
"
,
solver
=
direct
,
nranks
=
2
**
r
),
Etot
,
DECIMALS
)
if
HighLmax
:
self
.
assertAlmostEqual
(
KKRnano
(
"
Cu4
"
,
solver
=
direct
,
lmax
=
4
),
-
13219.716163
,
DECIMALS
)
self
.
assertAlmostEqual
(
KKRnano
(
"
Cu4
"
,
solver
=
direct
,
lmax
=
5
),
-
13219.6016203
,
DECIMALS
)
# about 30 seconds
self
.
assertAlmostEqual
(
KKRnano
(
"
Cu4
"
,
solver
=
direct
,
lmax
=
6
),
-
13219.5603038
,
DECIMALS
)
# about 60 seconds
self
.
assertAlmostEqual
(
KKRnano
(
"
Cu4
"
,
solver
=
direct
,
lmax
=
4
,
nranks
=
4
),
-
13219.716163
,
DECIMALS
)
self
.
assertAlmostEqual
(
KKRnano
(
"
Cu4
"
,
solver
=
direct
,
lmax
=
5
,
nranks
=
4
),
-
13219.6016203
,
DECIMALS
)
# about 30 seconds
self
.
assertAlmostEqual
(
KKRnano
(
"
Cu4
"
,
solver
=
direct
,
lmax
=
6
,
nranks
=
4
),
-
13219.5603038
,
DECIMALS
)
# about 60 seconds
# total time ~1.6min
def
test_Cu1_lmax
(
self
):
"""
Test with high lmax. Works only with -heap-arrays on ifort, 1 Cu atoms in the FCC unit cell
"""
self
.
assertAlmostEqual
(
KKRnano
(
"
Cu1
"
,
solver
=
direct
),
-
3308.14107181
,
DECIMALS
)
# about 2 seconds
self
.
assertAlmostEqual
(
KKRnano
(
"
Cu1
"
,
solver
=
direct
,
nranks
=
1
),
-
3308.14107181
,
DECIMALS
)
# about 2 seconds
if
HighLmax
:
self
.
assertAlmostEqual
(
KKRnano
(
"
Cu1
"
,
solver
=
direct
,
lmax
=
4
),
-
3308.26072261
,
DECIMALS
)
# about 4 seconds
self
.
assertAlmostEqual
(
KKRnano
(
"
Cu1
"
,
solver
=
direct
,
lmax
=
5
),
-
3308.22046659
,
DECIMALS
)
# about 8 seconds
self
.
assertAlmostEqual
(
KKRnano
(
"
Cu1
"
,
solver
=
direct
,
lmax
=
6
),
-
3308.15010032
,
DECIMALS
)
# about 16 seconds
self
.
assertAlmostEqual
(
KKRnano
(
"
Cu1
"
,
solver
=
direct
,
lmax
=
4
,
nranks
=
1
),
-
3308.26072261
,
DECIMALS
)
# about 4 seconds
self
.
assertAlmostEqual
(
KKRnano
(
"
Cu1
"
,
solver
=
direct
,
lmax
=
5
,
nranks
=
1
),
-
3308.22046659
,
DECIMALS
)
# about 8 seconds
self
.
assertAlmostEqual
(
KKRnano
(
"
Cu1
"
,
solver
=
direct
,
lmax
=
6
,
nranks
=
1
),
-
3308.15010032
,
DECIMALS
)
# about 16 seconds
# total time ~1min
class
Test_semiconductors
(
unittest
.
TestCase
):
...
...
This diff is collapsed.
Click to expand it.
tests/gitlab-ci/build_kkrnano.yml
+
1
−
0
View file @
028a7a76
...
...
@@ -18,3 +18,4 @@ build_kkrnano:intel:hybrid:
-
master
-
develop
-
kkrnano-activate-tests
-
kkrnano-chebyshev-tfQMRgpu
This diff is collapsed.
Click to expand it.
tests/gitlab-ci/run_kkrnano.yml
+
6
−
0
View file @
028a7a76
...
...
@@ -19,6 +19,7 @@ run_kkrnano:intel:Cu1:
-
master
-
develop
-
kkrnano-activate-tests
-
kkrnano-chebyshev-tfQMRgpu
run_kkrnano:intel:Cu4
:
stage
:
run_kkrnano
...
...
@@ -39,6 +40,7 @@ run_kkrnano:intel:Cu4:
-
master
-
develop
-
kkrnano-activate-tests
-
kkrnano-chebyshev-tfQMRgpu
run_kkrnano:intel:GaN
:
stage
:
run_kkrnano
...
...
@@ -59,6 +61,7 @@ run_kkrnano:intel:GaN:
-
master
-
develop
-
kkrnano-activate-tests
-
kkrnano-chebyshev-tfQMRgpu
run_kkrnano:intel:Si
:
stage
:
run_kkrnano
...
...
@@ -79,6 +82,7 @@ run_kkrnano:intel:Si:
-
master
-
develop
-
kkrnano-activate-tests
-
kkrnano-chebyshev-tfQMRgpu
run_kkrnano:intel:ZnO
:
stage
:
run_kkrnano
...
...
@@ -99,6 +103,7 @@ run_kkrnano:intel:ZnO:
-
master
-
develop
-
kkrnano-activate-tests
-
kkrnano-chebyshev-tfQMRgpu
run_kkrnano:intel:MnGeB20
:
stage
:
run_kkrnano
...
...
@@ -119,3 +124,4 @@ run_kkrnano:intel:MnGeB20:
-
master
-
develop
-
kkrnano-activate-tests
-
kkrnano-chebyshev-tfQMRgpu
This diff is collapsed.
Click to expand it.
Philipp Rüssmann
@ruess
mentioned in commit
cbb5645d
·
2 years ago
mentioned in commit
cbb5645d
mentioned in commit cbb5645d48afdad6e29c449ffb1dc770c3ecb55f
Toggle commit list
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