Author Topic: 'ProjectedDensityOfStates' is not defined  (Read 1751 times)

0 Members and 1 Guest are viewing this topic.

Offline wang2366

  • New QuantumATK user
  • *
  • Posts: 1
  • Country: us
  • Reputation: 0
    • View Profile
'ProjectedDensityOfStates' is not defined
« on: June 1, 2017, 14:58 »
on top of this existing tutorial:  http://docs.quantumwise.com/tutorials/intro_vnl_atk1/intro_vnl_atk1.html


I treid to add the PDOS ProjectedDensityOfStates(  from the vnl.  However, after running in with the atkpython, I got the following error.
  1 Traceback (most recent call last):
  2   File "SiC.py", line 79, in <module>
  3 Traceback (most recent call last):
  4   File "SiC.py", line 79, in <module>
  5 Traceback (most recent call last):
  6   File "SiC.py", line 79, in <module>
  7 Traceback (most recent call last):
  8   File "SiC.py", line 79, in <module>
  9     projected_density_of_states = ProjectedDensityOfStates(
 10     projected_density_of_states = ProjectedDensityOfStates(
 11     projected_density_of_states = ProjectedDensityOfStates(
 12 NameError: name 'ProjectedDensityOfStates' is not defined
 13 NameError: application called MPI_Abort(MPI_COMM_WORLD, 1) - process 3
 14 name 'ProjectedDensityOfStates' is not defined
 15 application called MPI_Abort(MPI_COMM_WORLD, 1) - process 0
 16 NameError: name 'ProjectedDensityOfStates' is not defined
 17     projected_density_of_states = ProjectedDensityOfStates(
 18 application called MPI_Abort(MPI_COMM_WORLD, 1) - process 1
 19 NameError: name 'ProjectedDensityOfStates' is not defined
 20 application called MPI_Abort(MPI_COMM_WORLD, 1) - process 2

Offline Anders Blom

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 5446
  • Country: dk
  • Reputation: 89
    • View Profile
    • QuantumATK at Synopsys
Re: 'ProjectedDensityOfStates' is not defined
« Reply #1 on: June 1, 2017, 18:16 »
Code: python
if not found(ProjectedDensityOfStates):
    print "Your version of ATK does not support this functionality"
:) ;)