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
b89d97de
Commit
b89d97de
authored
Jul 27, 2016
by
Gregor Michalicek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added Fe_1lXML test
parent
9d0fb85e
Changes
8
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
94 additions
and
4 deletions
+94
-4
tests/CMakeLists.txt
tests/CMakeLists.txt
+2
-2
tests/tests/Fe_1l/test.desc
tests/tests/Fe_1l/test.desc
+1
-1
tests/tests/Fe_1l/test.run1
tests/tests/Fe_1l/test.run1
+1
-1
tests/tests/Fe_1lXML/files/enpara
tests/tests/Fe_1lXML/files/enpara
+8
-0
tests/tests/Fe_1lXML/files/inp.xml
tests/tests/Fe_1lXML/files/inp.xml
+48
-0
tests/tests/Fe_1lXML/files/sym.out
tests/tests/Fe_1lXML/files/sym.out
+9
-0
tests/tests/Fe_1lXML/test.desc
tests/tests/Fe_1lXML/test.desc
+9
-0
tests/tests/Fe_1lXML/test.run1
tests/tests/Fe_1lXML/test.run1
+16
-0
No files found.
tests/CMakeLists.txt
View file @
b89d97de
enable_testing
()
set
(
Testdirs CuBulk CuBulkXML Fe_1l Fe-Atom CuBand CuBandXML CuDOS CuDOSXML Fe_bct_LO Fe_bct NiO_ldau PTO Fe_fcc
)
set
(
Testdirs_INVS CuBulk CuBulkXML Fe_1l Fe-Atom CuBand CuBandXML CuDOS CuDOSXML
)
set
(
Testdirs CuBulk CuBulkXML Fe_1l Fe
_1lXML Fe
-Atom CuBand CuBandXML CuDOS CuDOSXML Fe_bct_LO Fe_bct NiO_ldau PTO Fe_fcc
)
set
(
Testdirs_INVS CuBulk CuBulkXML Fe_1l Fe
_1lXML Fe
-Atom CuBand CuBandXML CuDOS CuDOSXML
)
set
(
Testdirs_SOC Bi2Te3 Fe_1l_SOC PTO-SOC Fe_bct_SOC
)
#The serial tests
...
...
tests/tests/Fe_1l/test.desc
View file @
b89d97de
$test_name="Fleur Fe Monolayer";
$test_code="Fleur";
%test_requirements=("SOC",0);
$test_stages=
2
;
$test_stages=
1
;
$test_desc=<<EOF
Simple test of Fleur with one step:
1.Generate a starting density and run a single iteration and compare convergence, fermi-energy & total energy
...
...
tests/tests/Fe_1l/test.run1
View file @
b89d97de
...
...
@@ -13,4 +13,4 @@ $result+=jt::test_grepnumber("$workdir/out","new fermi energy",".*: *([^ ]*)",-0
$result+=jt::test_grepnumber("$workdir/out","total energy=",".*= *([^ ]*)",-1272.68,0.01);
$result+=jt::test_grepnumber("$workdir/out","distance of charge densities for it= *1",": *([^ ]*)",18.1,0.5);
jt::stageresult($workdir,$result,"
2
");
jt::stageresult($workdir,$result,"
1
");
tests/tests/Fe_1lXML/files/enpara
0 → 100644
View file @
b89d97de
energy parameters for window 1 spin 1 mix= 1.000000
atom s p d f
--> 1 -0.21189 -0.22276 -0.27582 -0.24757 change: TTTT skiplo: 0
vacuum parameter= -0.22738 change: T second vacuum= -0.22738
energy parameters for window 1 spin 2 mix= 1.000000
atom s p d f
--> 1 -0.19368 -0.18712 -0.16807 -0.17348 change: TTTT skiplo: 0
vacuum parameter= -0.19223 change: T second vacuum= -0.19223
tests/tests/Fe_1lXML/files/inp.xml
0 → 100644
View file @
b89d97de
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<fleurInput
fleurInputVersion=
"0.27"
>
<comment>
Fe Monolayer Ag lattice constant
</comment>
<calculationSetup>
<cutoffs
Kmax=
"3.80000000"
Gmax=
"11.60000000"
GmaxXC=
"9.60000000"
numbands=
"0"
/>
<scfLoop
itmax=
"1"
maxIterBroyd=
"99"
imix=
"Anderson"
alpha=
".05000000"
spinf=
"2.00000000"
/>
<coreElectrons
ctail=
"T"
frcor=
"F"
kcrel=
"0"
/>
<magnetism
jspins=
"2"
l_noco=
"F"
l_J=
"F"
swsp=
"F"
lflip=
"F"
/>
<soc
theta=
".00000000"
phi=
".00000000"
l_soc=
"F"
spav=
"F"
off=
"F"
soc66=
"T"
/>
<expertModes
gw=
"0"
pot8=
"F"
eig66=
"F"
lpr=
"0"
isec1=
"99"
secvar=
"F"
/>
<geometryOptimization
l_f=
"F"
xa=
"2.00000000"
thetad=
"330.00000000"
epsdisp=
".00001000"
epsforce=
".00001000"
/>
<bzIntegration
valenceElectrons=
"8.00000000"
mode=
"hist"
fermiSmearingEnergy=
".00100000"
>
<kPointCount
count=
"8"
gamma=
"F"
/>
</bzIntegration>
<energyParameterLimits
ellow=
"-.80000000"
elup=
".50000000"
/>
</calculationSetup>
<cell>
<symmetryFile
filename=
"sym.out"
/>
<filmLattice
scale=
"1.00000000"
latnam=
"squ"
dVac=
"5.79000000"
dTilda=
"9.68000000"
>
<a1>
5.458864500000
</a1>
<vacuumEnergyParameters
vacuum=
"1"
spinUp=
"-.25000000"
spinDown=
"-.25000000"
/>
</filmLattice>
</cell>
<xcFunctional
name=
"pbe"
relativisticCorrections=
"F"
/>
<atomSpecies>
<species
name=
"Fe-1"
element=
"Fe"
atomicNumber=
"26"
coreStates=
"7"
magMom=
"2.20000000"
flipSpin=
"T"
>
<mtSphere
radius=
"2.59000000"
gridPoints=
"623"
logIncrement=
".01900000"
/>
<atomicCutoffs
lmax=
"10"
lnonsphr=
"8"
/>
<energyParameters
s=
"4"
p=
"4"
d=
"3"
f=
"4"
/>
</species>
</atomSpecies>
<atomGroups>
<atomGroup
species=
"Fe-1"
>
<filmPos>
.000000000000 .000000000000 .000000000000
</filmPos>
<force
calculate=
"T"
relaxXYZ=
"TTT"
/>
</atomGroup>
</atomGroups>
<output
dos=
"F"
band=
"F"
vacdos=
"F"
slice=
"F"
>
<checks
vchk=
"F"
cdinf=
"F"
disp=
"F"
/>
<densityOfStates
ndir=
"0"
minEnergy=
"-.50000000"
maxEnergy=
".50000000"
sigma=
".01500000"
/>
<vacuumDOS
layers=
"0"
integ=
"F"
star=
"F"
nstars=
"0"
locx1=
".00000000"
locy1=
".00000000"
locx2=
".00000000"
locy2=
".00000000"
nstm=
"0"
tworkf=
".00000000"
/>
<plotting
iplot=
"F"
score=
"F"
plplot=
"F"
/>
<chargeDensitySlicing
numkpt=
"0"
minEigenval=
".00000000"
maxEigenval=
".00000000"
nnne=
"0"
pallst=
"F"
/>
<specialOutput
form66=
"F"
eonly=
"F"
bmt=
"F"
/>
</output>
</fleurInput>
tests/tests/Fe_1lXML/files/sym.out
0 → 100644
View file @
b89d97de
2 1 T ! nop,nop2,symor
! 1
1 0 0 0.00000
0 1 0 0.00000
0 0 1 0.00000
! 2
-1 0 0 0.00000
0 -1 0 0.00000
0 0 -1 0.00000
tests/tests/Fe_1lXML/test.desc
0 → 100644
View file @
b89d97de
$test_name="Fleur Fe Monolayer";
$test_code="Fleur";
%test_requirements=("SOC",0);
$test_stages=1;
$test_desc=<<EOF
Simple test of Fleur with XML input with one step:
1.Generate a starting density and run a single iteration and compare convergence, fermi-energy & total energy
EOF
;
tests/tests/Fe_1lXML/test.run1
0 → 100644
View file @
b89d97de
#juDFT Testscript
#The following arguments are passed: executable, working directory
jt::copyfile("files/inp.xml",$workdir);
jt::copyfile("files/enpara",$workdir);
jt::copyfile("files/sym.out",$workdir);
jt::testrun("$executable -xmlInput",$workdir);
#now test output
$result=jt::test_grepexists("$workdir/out","it= *1 *is completed");
$result+=jt::test_grepnumber("$workdir/out","new fermi energy",".*: *([^ ]*)",-0.242,0.005);
$result+=jt::test_grepnumber("$workdir/out","total energy=",".*= *([^ ]*)",-1272.68,0.01);
$result+=jt::test_grepnumber("$workdir/out","distance of charge densities for it= *1",": *([^ ]*)",18.1,0.5);
jt::stageresult($workdir,$result,"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