HPC/Applications/atk: Difference between revisions
< HPC | Applications
Jump to navigation
Jump to search
m (→Preparation) |
|||
Line 62: | Line 62: | ||
=== Troubleshooting licensing === | === 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 <code>atkpython</code>. | |||
It requires a license regardless of whether the script actually uses NanoLang constructs. | |||
<source lang="bash"> | |||
atkpython -c 'print("Hello", 1+3/2)' | |||
</source> | |||
* The ''expected'' output will look like: | |||
<source> | |||
+------------------------------------------------------------------------------+ | |||
| | | |||
| Atomistix ToolKit 2017.2 [Build 997d195] | | |||
| | | |||
+------------------------------------------------------------------------------+ | |||
('Hello', 1) | |||
Timing: Total Per Step % | |||
… | |||
Total : 2.24 s | |||
</source> | |||
* ''Failure'' to obtain a license, such as from an incorrect configuration or a server being down, looks like: | |||
<source> | |||
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 *** | |||
… | |||
</source> | |||
==== References ==== | |||
* http://docs.quantumwise.com/guides/InstallationGuides/licensing.html | * http://docs.quantumwise.com/guides/InstallationGuides/licensing.html | ||
* On Mac and Linux, the configuration file is stored on the client computer at <code>~/.quantumwise/licenses.licconf</code>. | * On Mac and Linux, the configuration file is stored on the client computer at <code>~/.quantumwise/licenses.licconf</code>. | ||
* [[HPC/Software/Modules/atk/License troubleshooting on Windows]] (older page, written for ATK-12). | * [[HPC/Software/Modules/atk/License troubleshooting on Windows]] (older page, written for ATK-12). |
Revision as of 15:39, December 11, 2021
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:6201@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
- http://docs.quantumwise.com/guides/InstallationGuides/licensing.html
- On Mac and Linux, the configuration file is stored on the client computer at
~/.quantumwise/licenses.licconf
. - HPC/Software/Modules/atk/License troubleshooting on Windows (older page, written for ATK-12).