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
fleur
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
52
Issues
52
List
Boards
Labels
Service Desk
Milestones
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
fleur
fleur
Commits
2d943bef
Commit
2d943bef
authored
Mar 24, 2017
by
Daniel Wortmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added output on parallelization to stdout
parent
7f82f539
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
2 deletions
+21
-2
mpi/setupMPI.F90
mpi/setupMPI.F90
+21
-2
No files found.
mpi/setupMPI.F90
View file @
2d943bef
...
...
@@ -10,11 +10,28 @@ MODULE m_setupMPI
CONTAINS
SUBROUTINE
setupMPI
(
nkpt
,
mpi
)
USE
m_types
!$ use omp_lib
USE
m_types
USE
m_eigen_diag
,
ONLY
:
parallel_solver_available
INTEGER
,
INTENT
(
in
)
::
nkpt
TYPE
(
t_mpi
),
INTENT
(
inout
)
::
mpi
integer
::
omp
=
-1
!$ omp=omp_get_max_threads()
if
(
mpi
%
irank
==
0
)
THEN
!print INFO on parallelization
#ifdef CPP_MPI
write
(
*
,
*
)
"Number of MPI-tasks: "
,
mpi
%
isize
!$write(*,*) "Number of OMP-threads:",omp
#else
if
(
omp
==
-1
)
THEN
write
(
*
,
*
)
"No OpenMP version of FLEUR."
else
write
(
*
,
*
)
"Number of OMP-threads:"
,
omp
endif
#endif
endif
IF
(
mpi
%
isize
==
1
)
THEN
!give some info on available parallelisation
CALL
priv_dist_info
(
nkpt
)
...
...
@@ -132,9 +149,11 @@ CONTAINS
SUBROUTINE
priv_dist_info
(
nkpt
)
USE
m_eigen_diag
,
ONLY
:
parallel_solver_available
IMPLICIT
NONE
INTEGER
,
INTENT
(
in
)
::
nkpt
INTEGER
,
INTENT
(
in
)
::
nkpt
INTEGER
::
n
,
k_only
,
pe_k_only
(
nkpt
)
!Create a list of PE that will lead to k-point parallelization only
k_only
=
0
DO
n
=
1
,
nkpt
...
...
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