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
a0558aef
Commit
a0558aef
authored
Mar 16, 2017
by
Andreas Marek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More elpa tests
parent
a68aa1ac
Changes
2
Pipelines
1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
620 additions
and
19 deletions
+620
-19
test/Fortran/elpa_tests.F90
test/Fortran/elpa_tests.F90
+580
-16
test/shared/read_input_parameters.F90
test/shared/read_input_parameters.F90
+40
-3
No files found.
test/Fortran/elpa_tests.F90
View file @
a0558aef
This diff is collapsed.
Click to expand it.
test/shared/read_input_parameters.F90
View file @
a0558aef
...
...
@@ -53,7 +53,8 @@ module mod_read_input_parameters
integer
::
this_real_kernel
,
this_complex_kernel
logical
::
realKernelIsSet
,
complexKernelIsSet
integer
::
useQrIsSet
,
useGPUIsSet
logical
::
doSolveTridi
,
do1stage
,
do2stage
,
justHelpMessage
logical
::
doSolveTridi
,
do1stage
,
do2stage
,
justHelpMessage
,
&
doCholesky
,
doInvertTrm
,
doTransposeMultiply
end
type
interface
read_input_parameters
...
...
@@ -84,7 +85,8 @@ module mod_read_input_parameters
print
*
,
" [nblk=size of block cyclic distribution] [--output_eigenvalues]"
print
*
,
" [--output_eigenvectors] [--real-kernel=name_of_kernel]"
print
*
,
" [--complex-kernel=name_of_kernel] [--use-gpu={0|1}]"
print
*
,
" [--use-qr={0,1}] [--tests={all|solve-tridi|1stage|2stage}]"
print
*
,
" [--use-qr={0,1}] [--tests={all|solve-tridi|1stage|2stage|cholesky&
&|invert-triangular|transpose-mulitply}]"
input_options
%
justHelpMessage
=
.true.
return
endif
...
...
@@ -154,18 +156,51 @@ module mod_read_input_parameters
input_options
%
doSolveTridi
=
.true.
input_options
%
do1stage
=
.true.
input_options
%
do2stage
=
.true.
input_options
%
doCholesky
=
.true.
input_options
%
doInvertTrm
=
.true.
input_options
%
doTransposeMultiply
=
.true.
else
if
(
command_line_argument
(
9
:
19
)
==
"solve-tride"
)
then
input_options
%
doSolveTridi
=
.true.
input_options
%
do1stage
=
.false.
input_options
%
do2stage
=
.false.
input_options
%
doCholesky
=
.false.
input_options
%
doInvertTrm
=
.false.
input_options
%
doTransposeMultiply
=
.false.
else
if
(
command_line_argument
(
9
:
14
)
==
"1stage"
)
then
input_options
%
doSolveTridi
=
.false.
input_options
%
do1stage
=
.true.
input_options
%
do2stage
=
.false.
input_options
%
doCholesky
=
.false.
input_options
%
doInvertTrm
=
.false.
input_options
%
doTransposeMultiply
=
.false.
else
if
(
command_line_argument
(
9
:
14
)
==
"2stage"
)
then
input_options
%
doSolveTridi
=
.false.
input_options
%
do1stage
=
.false.
input_options
%
do2stage
=
.true.
input_options
%
doCholesky
=
.false.
input_options
%
doInvertTrm
=
.false.
input_options
%
doTransposeMultiply
=
.false.
else
if
(
command_line_argument
(
9
:
16
)
==
"cholesky"
)
then
input_options
%
doSolveTridi
=
.false.
input_options
%
do1stage
=
.false.
input_options
%
do2stage
=
.false.
input_options
%
doCholesky
=
.true.
input_options
%
doInvertTrm
=
.false.
input_options
%
doTransposeMultiply
=
.false.
else
if
(
command_line_argument
(
9
:
25
)
==
"invert-triangular"
)
then
input_options
%
doSolveTridi
=
.false.
input_options
%
do1stage
=
.false.
input_options
%
do2stage
=
.false.
input_options
%
doCholesky
=
.false.
input_options
%
doInvertTrm
=
.true.
input_options
%
doTransposeMultiply
=
.false.
else
if
(
command_line_argument
(
9
:
26
)
==
"transpose-multiply"
)
then
input_options
%
doSolveTridi
=
.false.
input_options
%
do1stage
=
.false.
input_options
%
do2stage
=
.false.
input_options
%
doCholesky
=
.false.
input_options
%
doInvertTrm
=
.false.
input_options
%
doTransposeMultiply
=
.true.
else
print
*
,
"unknown test specified"
stop
...
...
@@ -209,7 +244,9 @@ module mod_read_input_parameters
input_options
%
do1Stage
=
.true.
input_options
%
do2Stage
=
.true.
input_options
%
doSolveTridi
=
.true.
input_options
%
doCholesky
=
.true.
input_options
%
doInvertTrm
=
.true.
input_options
%
doTransposeMultiply
=
.true.
input_options
%
justHelpMessage
=
.false.
! test na=1500 nev=50 nblk=16 --help --kernel --output_eigenvectors --output_eigenvalues
...
...
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