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
a7533f65
Commit
a7533f65
authored
Oct 21, 2016
by
Andreas Marek
Browse files
Timer for MPI communication in elpa1.F90
parent
3a1cfdfd
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/elpa1.F90
View file @
a7533f65
...
@@ -550,9 +550,14 @@ function solve_evp_real_1stage_double(na, nev, a, lda, ev, q, ldq, nblk, &
...
@@ -550,9 +550,14 @@ function solve_evp_real_1stage_double(na, nev, a, lda, ev, q, ldq, nblk, &
call
timer
%
start
(
"solve_evp_real_1stage_double"
)
call
timer
%
start
(
"solve_evp_real_1stage_double"
)
#endif
#endif
#ifdef HAVE_DETAILED_TIMINGS
call
timer
%
start
(
"mpi_communication"
)
#endif
call
mpi_comm_rank
(
mpi_comm_rows
,
my_prow
,
mpierr
)
call
mpi_comm_rank
(
mpi_comm_rows
,
my_prow
,
mpierr
)
call
mpi_comm_rank
(
mpi_comm_cols
,
my_pcol
,
mpierr
)
call
mpi_comm_rank
(
mpi_comm_cols
,
my_pcol
,
mpierr
)
#ifdef HAVE_DETAILED_TIMINGS
call
timer
%
stop
(
"mpi_communication"
)
#endif
success
=
.true.
success
=
.true.
wantDebug
=
.false.
wantDebug
=
.false.
...
@@ -680,9 +685,16 @@ function solve_evp_real_1stage_single(na, nev, a, lda, ev, q, ldq, nblk, matrixC
...
@@ -680,9 +685,16 @@ function solve_evp_real_1stage_single(na, nev, a, lda, ev, q, ldq, nblk, matrixC
call
timer
%
start
(
"solve_evp_real_1stage_single"
)
call
timer
%
start
(
"solve_evp_real_1stage_single"
)
#endif
#endif
#ifdef HAVE_DETAILED_TIMINGS
call
timer
%
start
(
"mpi_communication"
)
#endif
call
mpi_comm_rank
(
mpi_comm_rows
,
my_prow
,
mpierr
)
call
mpi_comm_rank
(
mpi_comm_rows
,
my_prow
,
mpierr
)
call
mpi_comm_rank
(
mpi_comm_cols
,
my_pcol
,
mpierr
)
call
mpi_comm_rank
(
mpi_comm_cols
,
my_pcol
,
mpierr
)
#ifdef HAVE_DETAILED_TIMINGS
call
timer
%
stop
(
"mpi_communication"
)
#endif
success
=
.true.
success
=
.true.
wantDebug
=
.false.
wantDebug
=
.false.
...
@@ -813,11 +825,17 @@ function solve_evp_complex_1stage_double(na, nev, a, lda, ev, q, ldq, nblk, matr
...
@@ -813,11 +825,17 @@ function solve_evp_complex_1stage_double(na, nev, a, lda, ev, q, ldq, nblk, matr
call
timer
%
start
(
"solve_evp_complex_1stage_double"
)
call
timer
%
start
(
"solve_evp_complex_1stage_double"
)
#endif
#endif
#ifdef HAVE_DETAILED_TIMINGS
call
timer
%
start
(
"mpi_communication"
)
#endif
call
mpi_comm_rank
(
mpi_comm_rows
,
my_prow
,
mpierr
)
call
mpi_comm_rank
(
mpi_comm_rows
,
my_prow
,
mpierr
)
call
mpi_comm_size
(
mpi_comm_rows
,
np_rows
,
mpierr
)
call
mpi_comm_size
(
mpi_comm_rows
,
np_rows
,
mpierr
)
call
mpi_comm_rank
(
mpi_comm_cols
,
my_pcol
,
mpierr
)
call
mpi_comm_rank
(
mpi_comm_cols
,
my_pcol
,
mpierr
)
call
mpi_comm_size
(
mpi_comm_cols
,
np_cols
,
mpierr
)
call
mpi_comm_size
(
mpi_comm_cols
,
np_cols
,
mpierr
)
#ifdef HAVE_DETAILED_TIMINGS
call
timer
%
stop
(
"mpi_communication"
)
#endif
success
=
.true.
success
=
.true.
wantDebug
=
.false.
wantDebug
=
.false.
...
@@ -957,11 +975,17 @@ function solve_evp_complex_1stage_single(na, nev, a, lda, ev, q, ldq, nblk, matr
...
@@ -957,11 +975,17 @@ function solve_evp_complex_1stage_single(na, nev, a, lda, ev, q, ldq, nblk, matr
call
timer
%
start
(
"solve_evp_complex_1stage_single"
)
call
timer
%
start
(
"solve_evp_complex_1stage_single"
)
#endif
#endif
#ifdef HAVE_DETAILED_TIMINGS
call
timer
%
start
(
"mpi_communication"
)
#endif
call
mpi_comm_rank
(
mpi_comm_rows
,
my_prow
,
mpierr
)
call
mpi_comm_rank
(
mpi_comm_rows
,
my_prow
,
mpierr
)
call
mpi_comm_size
(
mpi_comm_rows
,
np_rows
,
mpierr
)
call
mpi_comm_size
(
mpi_comm_rows
,
np_rows
,
mpierr
)
call
mpi_comm_rank
(
mpi_comm_cols
,
my_pcol
,
mpierr
)
call
mpi_comm_rank
(
mpi_comm_cols
,
my_pcol
,
mpierr
)
call
mpi_comm_size
(
mpi_comm_cols
,
np_cols
,
mpierr
)
call
mpi_comm_size
(
mpi_comm_cols
,
np_cols
,
mpierr
)
#ifdef HAVE_DETAILED_TIMINGS
call
timer
%
stop
(
"mpi_communication"
)
#endif
success
=
.true.
success
=
.true.
wantDebug
=
.false.
wantDebug
=
.false.
...
...
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