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
1f2e18c5
Commit
1f2e18c5
authored
Jan 08, 2018
by
Pavel Kus
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cholesky decomposition tested with random (spd) matrix as well
parent
632fc5c7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
8 deletions
+3
-8
generate_automake_test_programs.py
generate_automake_test_programs.py
+2
-2
test/Fortran/test.F90
test/Fortran/test.F90
+1
-6
No files found.
generate_automake_test_programs.py
View file @
1f2e18c5
...
...
@@ -89,8 +89,8 @@ for lang, m, g, q, t, p, d, s, lay in product(sorted(language_flag.keys()),
if
(
t
==
"solve_tridiagonal"
and
(
s
!=
"1stage"
or
d
!=
"real"
or
m
!=
"toeplitz"
)):
continue
# cholesky tests only 1stage and teoplitz matrix
if
(
t
==
"cholesky"
and
(
m
!=
"toeplitz"
or
s
==
"2stage"
)):
# cholesky tests only 1stage and teoplitz
or random
matrix
if
(
t
==
"cholesky"
and
(
(
not
(
m
==
"toeplitz"
or
m
==
"random"
))
or
s
==
"2stage"
)):
continue
if
(
t
==
"eigenvalues"
and
(
m
==
"random"
)):
...
...
test/Fortran/test.F90
View file @
1f2e18c5
...
...
@@ -320,7 +320,7 @@ program test
#if defined(TEST_MATRIX_RANDOM) && defined(TEST_CHOLESKY)
call
prepare_matrix_random_spd
(
na
,
myid
,
sc_desc
,
a
,
z
,
as
,
&
nblk
,
myid
,
np_rows
,
np_cols
,
my_prow
,
my_pcol
)
nblk
,
np_rows
,
np_cols
,
my_prow
,
my_pcol
)
do_test_analytic_eigenvalues
=
.false.
do_test_analytic_eigenvalues_eigenvectors
=
.false.
do_test_frank_eigenvalues
=
.false.
...
...
@@ -406,8 +406,6 @@ program test
do_test_toeplitz_eigenvalues
=
.true.
#endif
write
(
*
,
*
)
"defining at test matrix toeplitz"
#endif /* TEST_MATRIX_TOEPLITZ */
...
...
@@ -591,9 +589,6 @@ write(*,*) "defining at test matrix toeplitz"
#endif
#if defined(TEST_CHOLESKY)
write
(
*
,
*
)
do_test_numeric_residual
,
do_test_analytic_eigenvalues
,
do_test_analytic_eigenvalues_eigenvectors
,
&
do_test_frank_eigenvalues
,
do_test_toeplitz_eigenvalues
,
do_test_cholesky
call
e
%
timer_start
(
"e%cholesky()"
)
call
e
%
cholesky
(
a
,
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