Skip to content
Snippets Groups Projects
Commit de8a04bc authored by Philipp Rüssmann's avatar Philipp Rüssmann
Browse files

Skip BdG tests except for nspin=1 mode

parent dc821c90
No related branches found
No related tags found
No related merge requests found
......@@ -6,12 +6,12 @@ export OMP_NUM_THREADS=1
cd test_run25_hybrid_1_4
mpirun -np 4 $PROFILER ../../kkr.x_BdG | tee out_kkr
cd nspin2
mpirun -np 4 $PROFILER ../../../kkr.x_BdG | tee out_kkr
#mpirun -np 4 $PROFILER ../../../kkr.x_BdG | tee out_kkr
cd ../nspin2_nosratrick/
mpirun -np 4 $PROFILER ../../../kkr.x_BdG | tee out_kkr
#mpirun -np 4 $PROFILER ../../../kkr.x_BdG | tee out_kkr
cd ../nspin2_socscale
mpirun -np 4 $PROFILER ../../../kkr.x_BdG | tee out_kkr
#mpirun -np 4 $PROFILER ../../../kkr.x_BdG | tee out_kkr
cd ../nspin2_socscale_nosratrick/
mpirun -np 4 $PROFILER ../../../kkr.x_BdG | tee out_kkr
#mpirun -np 4 $PROFILER ../../../kkr.x_BdG | tee out_kkr
cd ../..
......@@ -227,9 +227,15 @@ class Test_features():
refpath = testpath+'/ref'
cmp_modes([testpath, refpath], path0 , 10**-12, 10**-12)
class Test_BdG():
"""
Check results of different features with BdG
"""
def test_25_BdG0(self):
path0 = 'test_run25_hybrid_1_4'
for pname in ['', 'nspin2', 'nspin2_nosratrick', 'nspin2_socscale', 'nspin2_socscale_nosratrick']:
for pname in ['']: #, 'nspin2', 'nspin2_nosratrick', 'nspin2_socscale', 'nspin2_socscale_nosratrick']: # uncomment this list for other run modes, adaprt run script then as well
testpath = pname
refpath = testpath+'/ref'
# first check ee block (hh block needs special test)
......@@ -239,11 +245,12 @@ class Test_features():
def test_26_BdG1(self):
path0 = 'test_run26_hybrid_1_4'
for pname in ['', 'nspin2', 'nspin2_nosratrick', 'nspin2_socscale', 'nspin2_socscale_nosratrick']:
for pname in ['']: #, 'nspin2', 'nspin2_nosratrick', 'nspin2_socscale', 'nspin2_socscale_nosratrick']: # uncomment for other run modes (see above)
testpath = path0+'/'+pname
# now check ee/hh, eh/he consistency etc.
check_BdG1_block_charges(testpath, 10**-14)
class Test_SOC():
"""
check results of different features with SOC
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment