-
Notifications
You must be signed in to change notification settings - Fork 123
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
16 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -76,22 +76,30 @@ License | |
------- | ||
|
||
As mentioned before, you must have a valid license to run MAPDL. | ||
When you launch the container, the file :file:`script.sh` automatically checks if the environment | ||
variable :envvar:`ANSYSLMD_LICENSE_FILE` exists. | ||
When you launch the container, the file :file:`script.sh` automatically | ||
checks if the environment variable :envvar:`ANSYSLMD_LICENSE_FILE` exists. | ||
This environment variable sets the port and IP address of the license server. | ||
If you do not have set this environment variable before launching the | ||
container, you are prompt to enter your license server port and address. | ||
|
||
If you do not have set this environment variable before launching the container, you are prompt to enter | ||
your license server port and address. | ||
|
||
You can set your license using the environment variable :envvar:`ANSYSLMD_LICENSE_FILE` from the terminal before launching | ||
VS Code. This is recommended if you are using Windows OS. | ||
For example, if you have a license server at the address ``123.45.67.89``, you can set the license using: | ||
You can set the environment variable :envvar:`ANSYSLMD_LICENSE_FILE` | ||
from the terminal before launching VS Code. | ||
This is recommended if you are using Windows OS. | ||
For example, if you have a license server at the address ``123.45.67.89``, | ||
you can set the license using: | ||
|
||
.. code:: pwsh-session | ||
$env:ANSYSLMD_LICENSE_FILE = '[email protected]' | ||
code . # launch VS Code | ||
On Linux | ||
|
||
.. code:: bash | ||
$ export ANSYSLMD_LICENSE_FILE [email protected] | ||
code . # launch VS Code | ||
And then open the folder in the container using the *Command palette*. | ||
|
||
|
||
|