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
54
Issues
54
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
c0796d19
Commit
c0796d19
authored
Feb 03, 2017
by
Daniel Wortmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bugfixes in MPI version
parent
466c3608
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
vgen/mpmom.F90
vgen/mpmom.F90
+2
-2
vgen/psqpw.F90
vgen/psqpw.F90
+4
-1
No files found.
vgen/mpmom.F90
View file @
c0796d19
...
...
@@ -169,7 +169,7 @@ CONTAINS
ENDIF
#ifdef CPP_MPI
CALL
MPI_BCAST
(
qpw
,
SIZE
(
qpw
),
CPP_MPI_COMPLEX
,
0
,&
&
mpi
,
ierr
)
&
mpi
%
mpi_comm
,
ierr
)
#endif
! g ne 0 terms : \sum_{K \= 0} 4 \pi i^l \rho_I(K) R_i^{l+3} \times
! j_{l+1} (KR_i) / KR_i \exp{iK\xi_i} Y^*_{lm} (K)
...
...
@@ -211,7 +211,7 @@ CONTAINS
n
=
SIZE
(
qlmp
)
ALLOCATE
(
c_b
(
n
))
CALL
MPI_REDUCE
(
qlmp
,
c_b
,
n
,
CPP_MPI_COMPLEX
,
MPI_SUM
,
0
,&
&
mpi
,
ierr
)
&
mpi
%
mpi_comm
,
ierr
)
IF
(
mpi
%
irank
.EQ.
0
)
THEN
qlmp
=
RESHAPE
(
c_b
,(/
SIZE
(
qlmp
,
1
),
SIZE
(
qlmp
,
2
),
SIZE
(
qlmp
,
3
)/))
ENDIF
...
...
vgen/psqpw.F90
View file @
c0796d19
...
...
@@ -78,7 +78,7 @@ CONTAINS
&
qlm
)
#ifdef CPP_MPI
psq
(:)
=
CMPLX
(
0.0
,
0.0
)
CALL
MPI_BCAST
(
qpw
,
size
(
qpw
),
CPP_MPI_COMPLEX
,
0
,
mpi
,
ierr
)
CALL
MPI_BCAST
(
qpw
,
size
(
qpw
),
CPP_MPI_COMPLEX
,
0
,
mpi
%
mpi_comm
,
ierr
)
nd
=
(
2
*
atoms
%
lmaxd
+1
)
*
(
atoms
%
lmaxd
+1
)
*
atoms
%
ntype
CALL
MPI_BCAST
(
qlm
,
nd
,
CPP_MPI_COMPLEX
,
0
,
mpi
%
MPI_COMM
,
ierr
)
#endif
...
...
@@ -195,6 +195,9 @@ CONTAINS
ENDIF
WRITE
(
6
,
FMT
=
8000
)
psint
WRITE
(
16
,
FMT
=
8000
)
psint
DO
k
=
2
,
stars
%
ng3
write
(
6
,
*
)
"PSQ"
,
k
,
psq
(
k
)
ENDDO
8000
FORMAT
(
/
,
10x
,
'integral of pseudo charge density inside the slab='
&
&
,
5x
,
2f11.6
)
IF
(
.NOT.
input
%
film
)
RETURN
...
...
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