QuantumATK Forum

QuantumATK => General Questions and Answers => Topic started by: hari16 on December 9, 2012, 14:38

Title: Math Exception Error - reg.
Post by: hari16 on December 9, 2012, 14:38
Dear sir,

when i use two different metals( example : au as left electrode and ag as right electrode) as electrode in two probe molecular junction configuration, i am getting following error.
 
[student@localhost electrode]$ mpiexec -n 4 atkpython test1.py > test1.log
terminate called after throwing an instance of 'MathException'
terminate called after throwing an instance of 'MathException'
terminate called after throwing an instance of 'MathException'
/opt/QuantumWise/atk-11.8.2/atkpython/bin/atkpython: line 3: 14320 Aborted                 PSEUDOPOTENTIALS_PATH=$EXEC_DIR/../share/pseudopotentials GPAW_SETUP_PATH=$EXEC_DIR/../share/gpaw-setups/ PYTHONHOME=$EXEC_DIR/.. PYTHONPATH= LD_LIBRARY_PATH=$EXEC_DIR/../lib $EXEC_DIR/atkpython_exec $*
terminate called after throwing an instance of 'MathException'
[student@localhost electrode]$

Pls find the script file attached herewith (very sorry for not attaching the file in previous case). Please kindly consider my case and help me to solve the problem, as i am new to work in this tool.
Title: Re: Math Exception Error - reg.
Post by: Anders Blom on December 9, 2012, 16:58
At what point does the error appear? I starts up fine, so it's probably nothing related to the configuration. I note you are using an older version, you should try 12.8, recently released.

PS: Please don't recycle threads, make a new for each new discussion
Title: Re: Math Exception Error - reg.
Post by: hari16 on December 10, 2012, 04:22
Dear sir,

When it about to execute transmission spectra i get this error. I got dos result for 0v but it cant execute transmission spectra for 0v.
Title: Re: Math Exception Error - reg.
Post by: Anders Blom on December 10, 2012, 07:50
Try using RecursionSelfEnergy instead of KrylovSelfEnergy.

Note that you are not really approaching the finite bias calculation correctly. See http://quantumwise.com/publications/tutorials/mini-tutorials/98 for tips on how to do an I-V curve.
Title: Re: Math Exception Error - reg.
Post by: zh on December 13, 2012, 08:38
The problem can be solved by the following modification in the script file:

basis_set = [
    GGABasis.Silver_SingleZetaPolarized,
    GGABasis.Gold_SingleZetaPolarized,
    GGABasis.Iron_DoubleZetaPolarized,
    ]

or
basis_set = [
    GGABasis.Silver_DoubleZetaPolarized,
    GGABasis.Gold_DoubleZetaPolarized,
    GGABasis.Iron_DoubleZetaPolarized,
    ]