HPC/Applications/atk

From CNM Wiki
< HPC‎ | Applications(Redirected from HPC/Modules/atk)
Jump to navigation Jump to search

Parallel jobs

  • See QuantumWise's Parallel Guide
  • We use Intel-MPI instead of MPICH2, with the Hydra process manager instead of MPD. See the sample.job file for details:
$ATK_HOME/sample.job


Remote access

To run ATK/VNL directly on your computer (as opposed to running it remotely and sending graphics over the network), follow these steps, all on your computer, to prepare for and launch the application:

Preparation

  • Log out from all Carbon nodes.
  • Log out from Mega.
  • Modify your configuration for SSH port forwarding to Mega. On Mac or Linux, make the changes to your file ~/.ssh/config. On Windows, apply the changes as shown in the help pages of your SSH application.
Add an entry for Remote Forwarding:
Local port: 6200,   Remote Port: 6200@cmgmt4
  • Log back in to Mega. This will activate the tunnel configuration that you added previously, to be used later by the ATK License Configuration wizard.

Configure

  • In the License Configuration helper, choose Configure license settings, Advanced setup. In the field for QUANTUM_LICENSE_PATH+= add:
localhost:6200@localhost

Launching ATK/VNL

  • Log in to Mega if you are not alreay logged in.
    You need to have exactly one Mega session active to access any kind of service on Carbon, be it for a single use or several ones concurrently.
  • Start VNL or atkpython normally for your platform.

Troubleshooting licensing

Check license configuration

To check the basic license configuration for ATK, without requiring X11 or VNC graphics, run the ATK Python script interpreter atkpython. It requires a license regardless of whether the script actually uses NanoLang constructs.

atkpython -c 'print("Hello", 1+3/2)'
  • The expected output will look like:
+------------------------------------------------------------------------------+
|                                                                              |
| Atomistix ToolKit 2017.2 [Build 997d195]                                     |
|                                                                              |
+------------------------------------------------------------------------------+
('Hello', 1)

Timing:                          Total     Per Step        %
…
Total                   :       2.24 s
  • Failure to obtain a license, such as from an incorrect configuration or a server being down, looks like:
License Error: (Internal: 511 Feature: ATKPython)

[NETWORK] 6200@localhost - (Err: 15) Unable to connect to license server

License configuration (environment variables):
---------------------------------------------------------------------------
QUANTUM_LICENSE_PATH = …
---------------------------------------------------------------------------
*** Make sure to include the information above when contacting support ***
…

References