Skip to content
GitLab
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
594814b8
Commit
594814b8
authored
Mar 23, 2021
by
Andreas Marek
Browse files
Do not always print gpu usage
parent
deadeaf7
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
test/Fortran/test.F90
View file @
594814b8
...
...
@@ -199,7 +199,7 @@ program test
#ifdef WITH_OPENMP_TRADITIONAL
TEST_INT_TYPE
::
max_threads
,
threads_caller
#endif
#if
def
TEST_GPU_SET_ID
#if TEST_GPU_SET_ID
== 1
TEST_INT_TYPE
::
gpuID
#endif
#ifdef SPLIT_COMM_MYSELF
...
...
@@ -617,6 +617,7 @@ program test
assert_elpa_ok
(
error_elpa
)
call
e
%
set
(
"mpi_comm_cols"
,
int
(
mpi_comm_cols
,
kind
=
c_int
),
error_elpa
)
assert_elpa_ok
(
error_elpa
)
#else
call
e
%
set
(
"mpi_comm_parent"
,
int
(
MPI_COMM_WORLD
,
kind
=
c_int
),
error_elpa
)
assert_elpa_ok
(
error_elpa
)
...
...
@@ -624,6 +625,8 @@ program test
assert_elpa_ok
(
error_elpa
)
call
e
%
set
(
"process_col"
,
int
(
my_pcol
,
kind
=
c_int
),
error_elpa
)
assert_elpa_ok
(
error_elpa
)
call
e
%
set
(
"verbose"
,
1
,
error_elpa
)
assert_elpa_ok
(
error_elpa
)
#endif
#endif
#ifdef TEST_GENERALIZED_EIGENPROBLEM
...
...
@@ -643,7 +646,7 @@ program test
call
e
%
set
(
"gpu"
,
TEST_GPU
,
error_elpa
)
assert_elpa_ok
(
error_elpa
)
#if
def
TEST_GPU_SET_ID
#if TEST_GPU_SET_ID
== 1
! simple test
! Can (and should) fail often
gpuID
=
mod
(
myid
,
2
)
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment