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
53
Issues
53
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
6ace9e6e
Commit
6ace9e6e
authored
Apr 25, 2018
by
Daniel Wortmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bugfix in MPI code
parent
8cee139b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
mpi/mpi_bc_xcpot.F90
mpi/mpi_bc_xcpot.F90
+6
-4
No files found.
mpi/mpi_bc_xcpot.F90
View file @
6ace9e6e
...
...
@@ -16,7 +16,7 @@ CONTAINS
CHARACTER
(
len
=
4
)::
namex
INTEGER
::
ierr
,
n
INCLUDE
'mpif.h'
IF
(
mpi
%
isize
==
1
)
RETURN
!nothing to be done with only one PE
!First determine type on pe0
IF
(
mpi
%
irank
==
0
)
THEN
...
...
@@ -41,9 +41,11 @@ CONTAINS
!Now we can do the the type dependend bc
SELECT
TYPE
(
xcpot
)
TYPE
IS
(
t_xcpot_inbuild
)
namex
=
xcpot
%
get_name
()
l_relcor
=
xcpot
%
data
%
krla
==
1
n
=
SIZE
(
xcpot
%
lda_atom
)
IF
(
mpi
%
irank
==
0
)
THEN
namex
=
xcpot
%
get_name
()
l_relcor
=
xcpot
%
DATA
%
krla
==
1
n
=
SIZE
(
xcpot
%
lda_atom
)
ENDIF
CALL
MPI_BCAST
(
namex
,
4
,
MPI_CHARACTER
,
0
,
mpi
%
mpi_comm
,
ierr
)
CALL
MPI_BCAST
(
l_relcor
,
1
,
MPI_LOGICAL
,
0
,
mpi
%
mpi_comm
,
ierr
)
CALL
MPI_BCAST
(
n
,
1
,
MPI_INTEGER
,
0
,
mpi
%
mpi_comm
,
ierr
)
...
...
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