Author Topic: atk-se  (Read 16036 times)

0 Members and 1 Guest are viewing this topic.

Offline Sabrina

  • Regular QuantumATK user
  • **
  • Posts: 17
  • Reputation: 0
    • View Profile
atk-se
« on: January 26, 2010, 14:15 »
  hello everyone
I want to install atk-se.But when I have do following the manu ,errors occur:

[usr1@localhost examples]$ nlpython bulk.py
Traceback (most recent call last):
  File "<string>", line 1, in <module>
zipimport.ZipImportError: can't decompress data; zlib not available
Traceback (most recent call last):
  File "bulk.py", line 4, in <module>
    from NanoLanguage import *
zipimport.ZipImportError: can't decompress data; zlib not available
[usr1@localhost examples]$ rpm -aq|grep zlib
zlib-1.2.3-18.fc9.x86_64
But I think my system has the zlib .why there occurs such error ? Is my mistake to install atk-SE
     Look forward to a reply ,thanks a lot

Offline Anders Blom

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 5411
  • Country: dk
  • Reputation: 89
    • View Profile
    • QuantumATK at Synopsys
Re: atk-se
« Reply #1 on: January 26, 2010, 14:18 »
Which Linux are you using? Distro and version.

Offline Sabrina

  • Regular QuantumATK user
  • **
  • Posts: 17
  • Reputation: 0
    • View Profile
Re: atk-se
« Reply #2 on: January 26, 2010, 14:49 »
Fedora 6.0

Offline Anders Blom

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 5411
  • Country: dk
  • Reputation: 89
    • View Profile
    • QuantumATK at Synopsys
Re: atk-se
« Reply #3 on: January 26, 2010, 14:57 »
Fedora 6 (zod) was released in 2006. Even if it's possible that ATK might run on it, we cannot support such an old platform. That is, if it runs it runs, if not, then I'm afraid you will have to find a more modern system to run on (e.g. Ubuntu 9.10, or Fedora 11 or 12 if you prefer that distro). Hope it works out!

Offline Sabrina

  • Regular QuantumATK user
  • **
  • Posts: 17
  • Reputation: 0
    • View Profile
Re: atk-se
« Reply #4 on: January 27, 2010, 06:05 »
I will  have a try .Thank you very much

Offline Sabrina

  • Regular QuantumATK user
  • **
  • Posts: 17
  • Reputation: 0
    • View Profile
Re: atk-se
« Reply #5 on: January 28, 2010, 12:03 »
Hi Dr. Anders Blom
I have reinstalled the system ubuntu .Following the manu:

1:lxl@lxl-desktop:~/software/atk-se$ tar zxvf nl.tar.gz
2:vi .bashrc
   export PATH=$PATH:/home/lxl/software/atk-se/nl/nlpython
3:source .bashrc
4:lxl@lxl-desktop:~$ sudo /home/lxl/software/atk-se/nl/license/lserv -s demo_atkse_1030.lic
5:export LSHOST=192.198.1.11(IP address)
6:sudo /home/lxl/software/atk-se/nl/nlpython/bin/configure_for_standalone_license
7:export LSHOST=no-net
export LSERVRC=/home/lxl/software/atk-se/demo_atkse_1030.lic
8:
lxl@lxl-desktop:~$ vnl&
[1] 2858
lxl@lxl-desktop:~$ No command 'vnl' found, did you mean:
 Command 'vl' from package 'atfs' (universe)
 Command 'nl' from package 'coreutils' (main)
vnl: command not found
I don't know where it is wrong.I am looking forward to your help.

Offline Anders Blom

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 5411
  • Country: dk
  • Reputation: 89
    • View Profile
    • QuantumATK at Synopsys
Re: atk-se
« Reply #6 on: January 28, 2010, 12:08 »
I think you did everything correct, except the path statements. Assuming you have the directories "vnl", "license" and "nlpython" in the directory /home/lxl/software/atk-se/nl/, then you need
Code
export PATH=$PATH:/home/lxl/software/atk-se/nl/nlpython/bin:/home/lxl/software/atk-se/nl/vnl/bin:

Offline Anders Blom

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 5411
  • Country: dk
  • Reputation: 89
    • View Profile
    • QuantumATK at Synopsys
Re: atk-se
« Reply #7 on: January 28, 2010, 12:10 »
Note: on Ubuntu you will most likely encounter an error about libGL.so after the paths are set up correctly. The solution is given in the installation guide.

Offline Sabrina

  • Regular QuantumATK user
  • **
  • Posts: 17
  • Reputation: 0
    • View Profile
Re: atk-se
« Reply #8 on: January 28, 2010, 12:55 »
Oh ,I make a low-level mistake.but I have a new trouble

lxl@lxl-desktop:~$ vnl&
[1] 3022
lxl@lxl-desktop:~$ # License Error: No license for VNL found - If you have a license for VNL, please check that LSHOST is set correctly!
Killed

[1]+  Exit 137                vnl
lxl@lxl-desktop:~$ echo $LSHOST

lxl@lxl-desktop:~$
Sentinel RMS Development Kit: Error[0xc8001001]: Client handle refers to an invalid licensing system context.
Process Process-1:
Traceback (most recent call last):
  File "./build/vnl/lib/python2.6/multiprocessing/process.py", line 231, in _bootstrap
  File "./build/vnl/lib/python2.6/multiprocessing/process.py", line 88, in run
  File "./zipdir/NL/__init__.py", line 109, in monitorFunction
  File "./zipdir/NL/__init__.py", line 135, in kill
OSError: [Errno 3] No such process

Is it a license problem?Is the license  invalid?

Offline Anders Blom

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 5411
  • Country: dk
  • Reputation: 89
    • View Profile
    • QuantumATK at Synopsys
Re: atk-se
« Reply #9 on: January 28, 2010, 13:24 »
Your "echo $LSHOST" shows that this variable is not defined. Depending on how you installed ATK, have a look in .bashrc or .profile to make sure you don't have conflicting definitions, and don't forget to source them after you make any changes.

You need to define the env.variables in .profile if you want the desktop icon for VNL to work, while if you just start the programs from the command line, you can use .bashrc.

Offline Sabrina

  • Regular QuantumATK user
  • **
  • Posts: 17
  • Reputation: 0
    • View Profile
Re: atk-se
« Reply #10 on: January 31, 2010, 14:13 »
Thank you so patiently guide .I am sorry to trouble you again.
I think I have mastered the installation method. But I met the trouble as follows

Sentinel RMS Development Kit: Error[4]: Failed to figure out the license server correctly.
Set environment variable LSHOST to (colon-separated) name(s) of server(s).
Killed
I  have read the manu .It says the license have expired.Where can I get a new license? Could you send me a new license please?
Thank you very much. My mail is 32050524_lxl@163.com

Offline Anders Blom

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 5411
  • Country: dk
  • Reputation: 89
    • View Profile
    • QuantumATK at Synopsys
Re: atk-se
« Reply #11 on: January 31, 2010, 20:45 »
Yes, unfortunately the message for an expired license isn't always so clear... To verify if this really is the problem, use
Code
cat $LSERVRC
to view the license file. On each line, the expiry date is written. For a new demo license, please contact Dr. Marcus Yee, or your distributor.

Offline Sabrina

  • Regular QuantumATK user
  • **
  • Posts: 17
  • Reputation: 0
    • View Profile
Re: atk-se
« Reply #12 on: February 1, 2010, 09:20 »
Hello Dr. Anders Blom
I have installed successfully.Thanks for your help.
I want to know whether the atk-SE can calculate the energy-band of the materials adding the period gate-voltage. I mean if the materials can be added the period gate potential in atk-SE.   I scan the manu ,I feel it have no this function. But I am not sure.
Thank you again

Offline Anders Blom

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 5411
  • Country: dk
  • Reputation: 89
    • View Profile
    • QuantumATK at Synopsys
Re: atk-se
« Reply #13 on: February 1, 2010, 09:31 »
Gate electrodes can be attached to bulk configurations too. However you must be careful to set the proper boundary conditions.

I suggest you have a look at the new "Benzene SET" tutorial for some inspiration.