Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
elpa
elpa
Commits
851fbda0
Commit
851fbda0
authored
Feb 28, 2018
by
Andreas Marek
Browse files
Fix error in elpa2_print_kernels
parent
f92468a0
Changes
1
Show whitespace changes
Inline
Side-by-side
src/elpa2/elpa2_print_kernels.F90
View file @
851fbda0
...
...
@@ -135,15 +135,17 @@ program print_available_elpa2_kernels
contains
subroutine
print_options
(
e
,
option_name
)
subroutine
print_options
(
e
,
KERNEL_KEY
)
class
(
elpa_t
),
intent
(
inout
)
::
e
character
(
len
=*
),
intent
(
in
)
::
option_name
integer
::
i
,
option
character
(
len
=*
),
intent
(
in
)
::
KERNEL_KEY
integer
::
i
,
kernel
,
error
do
i
=
0
,
elpa_option_cardinality
(
option_name
)
-
1
option
=
elpa_option_enumerate
(
option_name
,
i
)
if
(
e
%
can_set
(
option_name
,
option
)
==
ELPA_OK
)
then
print
*
,
" "
,
elpa_int_value_to_string
(
option_name
,
option
)
call
e
%
set
(
"solver"
,
ELPA_SOLVER_2STAGE
,
error
)
do
i
=
0
,
elpa_option_cardinality
(
KERNEL_KEY
)
kernel
=
elpa_option_enumerate
(
KERNEL_KEY
,
i
)
if
(
e
%
can_set
(
KERNEL_KEY
,
kernel
)
==
ELPA_OK
)
then
print
*
,
" "
,
elpa_int_value_to_string
(
KERNEL_KEY
,
kernel
)
endif
end
do
end
subroutine
...
...
Write
Preview
Supports
Markdown
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