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
51
Issues
51
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
88e464c2
Commit
88e464c2
authored
Aug 01, 2016
by
Gregor Michalicek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed missing allocation of specialPoints array in XML code path
parent
511d7f08
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
io/r_inpXML.F90
io/r_inpXML.F90
+1
-0
main/fleur_init.F90
main/fleur_init.F90
+2
-1
No files found.
io/r_inpXML.F90
View file @
88e464c2
...
...
@@ -464,6 +464,7 @@ SUBROUTINE r_inpXML(&
END
IF
kpts
%
numSpecialPoints
=
numberNodes
IF
(
kpts
%
numSpecialPoints
.GE.
2
)
THEN
DEALLOCATE
(
kpts
%
specialPoints
)
ALLOCATE
(
kpts
%
specialPoints
(
3
,
kpts
%
numSpecialPoints
))
ALLOCATE
(
kpts
%
specialPointNames
(
kpts
%
numSpecialPoints
))
DO
i
=
1
,
kpts
%
numSpecialPoints
...
...
main/fleur_init.F90
View file @
88e464c2
...
...
@@ -99,14 +99,15 @@
ENDIF
input
%
l_inpXML
=
.FALSE.
kpts
%
numSpecialPoints
=
1
kpts
%
ntet
=
1
kpts
%
numSpecialPoints
=
1
INQUIRE
(
file
=
'inp.xml'
,
exist
=
input
%
l_inpXML
)
IF
(
.NOT.
juDFT_was_argument
(
"-xmlInput"
))
THEN
input
%
l_inpXML
=
.FALSE.
END
IF
IF
(
input
%
l_inpXML
)
THEN
IF
(
mpi
%
irank
.EQ.
0
)
THEN
ALLOCATE
(
kpts
%
specialPoints
(
3
,
kpts
%
numSpecialPoints
))
ALLOCATE
(
noel
(
1
),
atomTypeSpecies
(
1
),
speciesRepAtomType
(
1
))
ALLOCATE
(
xmlElectronStates
(
1
,
1
),
xmlPrintCoreStates
(
1
,
1
))
ALLOCATE
(
xmlCoreOccs
(
1
,
1
,
1
))
...
...
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