You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2. Restart your machine and start Docker Engine after completing the installation.
122
+
123
+
Your Docker engine supports running Linux Docker containers, you can build or install the Ansys Prime Server image.
124
+
125
+
.. note::
126
+
Ansys Prime Server uses Intel MPI library for performing meshing operations. Intel MPI library requires NUMA support.
127
+
Docker desktop allows to run linux containers on windows using WSL. Existing Linux distributions used for WSL do not typically support NUMA.
128
+
It is expected that a custom Linux distribution would be required for WSL to run the Ansys Prime Server container to support NUMA.
129
+
Ansys does not recommend you to run the Ansys Prime Server image without NUMA support.
130
+
131
+
Build or install the Ansys Prime Server image
132
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
133
+
134
+
You can install the Ansys Prime Server image in the following ways:
135
+
136
+
• Download it from the GitHub Container Registry.
137
+
138
+
• Build the Ansys Prime Server Linux container.
139
+
140
+
141
+
GitHub container registry
142
+
^^^^^^^^^^^^^^^^^^^^^^^^^
143
+
144
+
.. note::
145
+
You should have write access to the repository or should be a members of the Ansys organization.
146
+
147
+
After installing Docker on your machine, follow these steps to download the Linux Docker container
148
+
for the Ansys Prime Server and install this image.
149
+
150
+
1. Download the Docker image from the `PyPrimeMesh repository <https://github.com/ansys/pyprimemesh>`_ on GitHub using your GitHub credentials.
151
+
2. Use a GitHub personal access token with permission for reading packages to authorize Docker to access the PyPrimeMesh repository. For more information, see `Managing your personal access tokens <https://docs.github.com/en/authentication/keeping-your-account-and-data- secure/managing-your-personal-access-tokens>`_ in the GitHub documentation.
5. Pull the Ansys Prime Server locally using Docker using the following command:
168
+
169
+
.. code-block:: pycon
170
+
171
+
docker pull ghcr.io/ansys/prime:25.2.0
172
+
173
+
174
+
Build the Ansys Prime Server linux container
175
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
176
+
177
+
You can build the Ansys Prime Server Docker containers from the PyPrimeMesh repository docker folder.
178
+
The docker folder has the linux/Dockerfile that builds the Linux-based Docker image.
179
+
180
+
.. note::
181
+
Ansys Prime Server does not support building windows-based docker images.
182
+
183
+
You can build the docker image file as follows:
184
+
185
+
• **Build from available Ansys installation**: Builds the Docker image using the Ansys installation available in the machine where the Docker image is being built.
186
+
187
+
Prerequisites
188
+
''''''''''''''
189
+
190
+
Ensure that Docker is installed in your machine. If you do not have Docker available, see :ref:`Docker for Linux containers <Docker for Linux containers>`.
191
+
192
+
193
+
Build from available Ansys installation
194
+
''''''''''''''''''''''''''''''''''''''''
195
+
196
+
To build your own image from your Ansys installation, follow these instructions:
197
+
198
+
1. Go to the Docker folder in your local PyPrimeMesh repository.
199
+
200
+
2. Execute the script with the following command (no specific location needed):
0 commit comments