Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
elpa
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
13
Issues
13
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
elpa
elpa
Commits
62cc26fc
Commit
62cc26fc
authored
Nov 26, 2018
by
Pavel Kus
Committed by
Andreas Marek
Nov 28, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
checking values in multiple objects test
checking that the loaded values equal to the stored values
parent
9734ed1f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
test_multiple_objs.F90
test/Fortran/test_multiple_objs.F90
+14
-0
No files found.
test/Fortran/test_multiple_objs.F90
View file @
62cc26fc
...
...
@@ -127,6 +127,7 @@ program test
integer
::
iter
character
(
len
=
5
)
::
iter_string
integer
::
timings
,
debug
,
gpu
call
read_input_parameters
(
na
,
nev
,
nblk
,
write_to_file
)
call
setup_mpi
(
myid
,
nprocs
)
...
...
@@ -209,6 +210,19 @@ program test
assert_elpa_ok
(
e2
%
setup
())
! test whether the user setting of e1 are correctly loade to e2
call
e2
%
get
(
"timings"
,
timings
,
error
)
assert_elpa_ok
(
error
)
call
e2
%
get
(
"debug"
,
debug
,
error
)
assert_elpa_ok
(
error
)
call
e2
%
get
(
"gpu"
,
gpu
,
error
)
assert_elpa_ok
(
error
)
if
((
timings
.ne.
1
)
.or.
(
debug
.ne.
1
)
.or.
(
gpu
.ne.
0
))
then
print
*
,
"Parameters not stored or loaded correctly. Aborting..."
,
timings
,
debug
,
gpu
stop
1
endif
if
(
myid
==
0
)
print
*
,
"parameters of e1"
call
e1
%
print_settings
(
error
)
assert_elpa_ok
(
error
)
...
...
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