Skip to content

Commit 17ad52b

Browse files
committedSep 18, 2024
Update STK Parallel Computing version stamp
1 parent 316d660 commit 17ad52b

File tree

7 files changed

+22
-22
lines changed

7 files changed

+22
-22
lines changed
 

‎StkEngineContainerization/linux/stk-parallel-computing-server/README.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ Note: Since STK Parallel Computing Server consists of multiple containers runnin
2828
* Copy the `STK_Parallel_Computing_Coordinator${version}.tgz` from the `Linux` folder to the [`coordinator/distributions`](./coordinator/distributions/) folder.
2929
* Copy the `STK_Parallel_Computing_Agent${version}.tgz` from the `Linux` folder to the [`agent/distributions`](./agent/distributions/) folder.
3030
3. Build the coordinator image:
31-
* If you did not build the `custom-environment` image described in the [Special Configuration](#special-configuration) section, run `docker build -t ansys/stk/stk-parallel-computing-server-coordinator:{version}-ubi-8 coordinator` on the command line in this directory after replacing `{version}` with the version number. i.e `2.8.0`
32-
* If you did build the `custom-environment` image described in the [Special Configuration](#special-configuration) section, run `docker build -t ansys/stk/stk-parallel-computing-server-coordinator:{version}-ubi-8 --build-arg baseImage=custom/redhat/ubi8:latest coordinator` on the command line in this directory after replacing `{version}` with the version number. i.e `2.8.0`
33-
4. Run `docker build -t ansys/stk/stk-parallel-computing-server-python:{version}-ubi-8 python` on the command line in this directory after replacing `{version}` with the version number. i.e `2.8.0`. This produces an image that includes the STK Parallel Computing Server Python API. The Agent container extends from this, but it can also be used to execute a client script that submits jobs to the Coordinator service.
34-
5. Run `docker build -t ansys/stk/stk-parallel-computing-server-agent:{version}-ubi-8 agent` on the command line in this directory after replacing `{version}` with the version number. i.e `2.8.0` to build the agent image.
31+
* If you did not build the `custom-environment` image described in the [Special Configuration](#special-configuration) section, run `docker build -t ansys/stk/stk-parallel-computing-server-coordinator:{version}-ubi-8 coordinator` on the command line in this directory after replacing `{version}` with the version number. i.e `2.9.0`
32+
* If you did build the `custom-environment` image described in the [Special Configuration](#special-configuration) section, run `docker build -t ansys/stk/stk-parallel-computing-server-coordinator:{version}-ubi-8 --build-arg baseImage=custom/redhat/ubi8:latest coordinator` on the command line in this directory after replacing `{version}` with the version number. i.e `2.9.0`
33+
4. Run `docker build -t ansys/stk/stk-parallel-computing-server-python:{version}-ubi-8 python` on the command line in this directory after replacing `{version}` with the version number. i.e `2.9.0`. This produces an image that includes the STK Parallel Computing Server Python API. The Agent container extends from this, but it can also be used to execute a client script that submits jobs to the Coordinator service.
34+
5. Run `docker build -t ansys/stk/stk-parallel-computing-server-agent:{version}-ubi-8 agent` on the command line in this directory after replacing `{version}` with the version number. i.e `2.9.0` to build the agent image.
3535

3636
### Run the Containers
3737

@@ -40,18 +40,18 @@ Note: Since STK Parallel Computing Server consists of multiple containers runnin
4040
The entrypoint of these containers start the Coordinator and Agent servers, with the Coordinator listening on the container's port `9090`. To start the containers:
4141

4242
1. Run `docker network create stk-parallel-computing-server` on the command line in this directory.
43-
2. Run `docker run -d --rm --name stk-parallel-coordinator --network stk-parallel-computing-server --network-alias coordinator -p 9090:9090 ansys/stk/stk-parallel-computing-server-coordinator:{version}-ubi-8` on the command line in this directory after replacing `{version}` with the version number. i.e `2.8.0`
43+
2. Run `docker run -d --rm --name stk-parallel-coordinator --network stk-parallel-computing-server --network-alias coordinator -p 9090:9090 ansys/stk/stk-parallel-computing-server-coordinator:{version}-ubi-8` on the command line in this directory after replacing `{version}` with the version number. i.e `2.9.0`
4444
* If port `9090` is already in use on your machine, map a different port (e.g. `1234:9090`).
4545
3. Run `docker run -d --rm --name stk-parallel-agent --network stk-parallel-computing-server --network-alias agent --env-file ../configuration/licensing.env -e COORDINATOR=coordinator ansys/stk/stk-parallel-computing-server-agent:{version}-ubi-8`
46-
on the command line in this directory after replacing `{version}` with the version number. i.e `2.8.0`
46+
on the command line in this directory after replacing `{version}` with the version number. i.e `2.9.0`
4747

4848
#### Execute Parallel Computing Tasks
4949

5050
This section will show how to execute the [`client_example.py`](./client_example.py) script using a Docker container with Python 3 and the STK Parallel Computing Server Python API installed.
5151

5252
In this example, each task will compute access intervals between a default satellite object and a default place object given the start and stop times of the analysis interval. Each task's interval is defined as an entry in the `timeIntervals` list. You can edit this list directly in the script file to add more calculation intervals or modify those already there. The date-times must be in valid ISO-8601 format.
5353

54-
1. Run `docker run --rm -v <ABSOLUTE PATH TO THIS DIRECTORY>/client_example.py:/tmp/client_example.py -e COORDINATOR_HOSTNAME=coordinator -e COORDINATOR_PORT=9090 -w /tmp --network stk-parallel-computing-server ansys/stk/stk-parallel-computing-server-python:{version}-ubi-8 client_example.py` on the command line in this directory after replacing `{version}` with the version number. i.e `2.8.0`
54+
1. Run `docker run --rm -v <ABSOLUTE PATH TO THIS DIRECTORY>/client_example.py:/tmp/client_example.py -e COORDINATOR_HOSTNAME=coordinator -e COORDINATOR_PORT=9090 -w /tmp --network stk-parallel-computing-server ansys/stk/stk-parallel-computing-server-python:{version}-ubi-8 client_example.py` on the command line in this directory after replacing `{version}` with the version number. i.e `2.9.0`
5555
* If you changed the host port mapping for the coordinator above, use that port for the value of `COORDINATOR_PORT`
5656
instead of `9090`.
5757

‎StkEngineContainerization/linux/stk-parallel-computing-server/agent/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG baseImage=ansys/stk/stk-parallel-computing-server-python:2.8.0-ubi8
1+
ARG baseImage=ansys/stk/stk-parallel-computing-server-python:2.9.0-ubi8
22
FROM ${baseImage} AS builder
33

44
# Add the STK Parallel Computing Server Agent packages to the builder stage

‎StkEngineContainerization/linux/stk-parallel-computing-server/docker-compose.python.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
version: '3.7'
22
services:
33
python:
4-
image: ansys/stk/stk-parallel-computing-server-python:2.8.0-ubi8
4+
image: ansys/stk/stk-parallel-computing-server-python:2.9.0-ubi8
55
build:
66
context: ./python
77
args:

‎StkEngineContainerization/linux/stk-parallel-computing-server/docker-compose.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
version: '3.7'
22
services:
33
agent:
4-
image: ansys/stk/stk-parallel-computing-server-agent:2.8.0-ubi8
4+
image: ansys/stk/stk-parallel-computing-server-agent:2.9.0-ubi8
55
build:
66
context: ./agent
77
args:
8-
baseImage: ansys/stk/stk-parallel-computing-server-python:2.8.0-ubi8
8+
baseImage: ansys/stk/stk-parallel-computing-server-python:2.9.0-ubi8
99
env_file: ../configuration/licensing.env
1010
environment:
1111
- COORDINATOR=coordinator
1212
networks:
1313
- stk-parallel-computing-server
1414
coordinator:
15-
image: ansys/stk/stk-parallel-computing-server-coordinator:2.8.0-ubi8
15+
image: ansys/stk/stk-parallel-computing-server-coordinator:2.9.0-ubi8
1616
build:
1717
context: ./coordinator
1818
args:

‎StkEngineContainerization/windows/stk-parallel-computing-server/README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ Note: Since STK Parallel Computing Server consists of multiple containers runnin
3232
* Copy the `Server\Agent\v{version}` folder from the installation media to the [`agent\distributions`](./agent/distributions/) folder.
3333
* Copy the `dotnet-runtime*.exe` file from the Prerequirements\DotNet.Core folder to the [`agent\distributions`](./agent/distributions/) AND the [`coordinator\distributions`](./coordinator/distributions/) folders.
3434
3. Build the coordinator image:
35-
Run `docker build --build-arg agreeToLicense=yes -t ansys/stk/stk-parallel-computing-server-coordinator:{version}-windowsservercore-ltsc2019 coordinator` on the command line in this directory after replacing `{version}` with the version number. i.e `2.8.0`. Supplying the agreeToLicense build argument indicates your acceptance of the STK End User License Agreement.
36-
4. Run `docker build -t ansys/stk/stk-parallel-computing-server-python:{version}-windowsservercore-ltsc2019 python` on the command line in this directory after replacing `{version}` with the version number. i.e `2.8.0`. This produces an image that includes the STK Parallel Computing Server Python API. The Agent container extends from this, but it can also be used to execute a client script that submits jobs to the Coordinator service.
37-
5. Run `docker build --build-arg agreeToLicense=yes -t ansys/stk/stk-parallel-computing-server-agent:{version}-windowsservercore-ltsc2019 agent` on the command line in this directory to build the agent image after replacing `{version}` with the version number. i.e `2.8.0`. Supplying the agreeToLicense build argument indicates your acceptance of the STK End User License Agreement.
35+
Run `docker build --build-arg agreeToLicense=yes -t ansys/stk/stk-parallel-computing-server-coordinator:{version}-windowsservercore-ltsc2019 coordinator` on the command line in this directory after replacing `{version}` with the version number. i.e `2.9.0`. Supplying the agreeToLicense build argument indicates your acceptance of the STK End User License Agreement.
36+
4. Run `docker build -t ansys/stk/stk-parallel-computing-server-python:{version}-windowsservercore-ltsc2019 python` on the command line in this directory after replacing `{version}` with the version number. i.e `2.9.0`. This produces an image that includes the STK Parallel Computing Server Python API. The Agent container extends from this, but it can also be used to execute a client script that submits jobs to the Coordinator service.
37+
5. Run `docker build --build-arg agreeToLicense=yes -t ansys/stk/stk-parallel-computing-server-agent:{version}-windowsservercore-ltsc2019 agent` on the command line in this directory to build the agent image after replacing `{version}` with the version number. i.e `2.9.0`. Supplying the agreeToLicense build argument indicates your acceptance of the STK End User License Agreement.
3838

3939
### Run the Containers
4040

@@ -43,17 +43,17 @@ Note: Since STK Parallel Computing Server consists of multiple containers runnin
4343
The entrypoint of these containers start the Coordinator and Agent servers, with the Coordinator listening on the container's port `9090`. To start the containers:
4444

4545
1. Run `docker network create stk-parallel-computing-server` on the command line in this directory.
46-
2. Run `docker run -d --rm --name stk-parallel-coordinator --network stk-parallel-computing-server --network-alias coordinator -p 9090:9090 ansys/stk/stk-parallel-computing-server-coordinator:{version}-windowsservercore-ltsc2019` on the command line in this directory after replacing `{version}` with the version number. i.e `2.8.0`
46+
2. Run `docker run -d --rm --name stk-parallel-coordinator --network stk-parallel-computing-server --network-alias coordinator -p 9090:9090 ansys/stk/stk-parallel-computing-server-coordinator:{version}-windowsservercore-ltsc2019` on the command line in this directory after replacing `{version}` with the version number. i.e `2.9.0`
4747
* If port `9090` is already in use on your machine, map a different port (e.g. `1234:9090`).
48-
3. Run `docker run -d --rm --name stk-parallel-agent --network stk-parallel-computing-server --network-alias agent --env-file ..\configuration\licensing.env -e COORDINATOR=coordinator ansys/stk/stk-parallel-computing-server-agent:{version}-windowsservercore-ltsc2019` on the command line in this directory after replacing `{version}` with the version number. i.e `2.8.0`
48+
3. Run `docker run -d --rm --name stk-parallel-agent --network stk-parallel-computing-server --network-alias agent --env-file ..\configuration\licensing.env -e COORDINATOR=coordinator ansys/stk/stk-parallel-computing-server-agent:{version}-windowsservercore-ltsc2019` on the command line in this directory after replacing `{version}` with the version number. i.e `2.9.0`
4949

5050
#### Execute Parallel Computing Tasks
5151

5252
This section will show how to execute the [`client_example.py`](./client_example.py) script using a Docker container with Python 3 and the STK Parallel Computing Server Python API installed.
5353

5454
In this example, each task will compute access intervals between a default satellite object and a default place object given the start and stop times of the analysis interval. Each task's interval is defined as an entry in the `timeIntervals` list. You can edit this list directly in the script file to add more calculation intervals or modify those already there. The date-times must be in valid ISO-8601 format.
5555

56-
1. Run `docker run --rm -v <ABSOLUTE PATH TO THIS DIRECTORY>\:C:\test\ -e COORDINATOR_HOSTNAME=coordinator -e COORDINATOR_PORT=9090 -w C:\test --network stk-parallel-computing-server ansys/stk/stk-parallel-computing-server-python:{version}-windowsservercore-ltsc2019 client_example.py` on the command line in this directory after replacing `{version}` with the version number. i.e `2.8.0`
56+
1. Run `docker run --rm -v <ABSOLUTE PATH TO THIS DIRECTORY>\:C:\test\ -e COORDINATOR_HOSTNAME=coordinator -e COORDINATOR_PORT=9090 -w C:\test --network stk-parallel-computing-server ansys/stk/stk-parallel-computing-server-python:{version}-windowsservercore-ltsc2019 client_example.py` on the command line in this directory after replacing `{version}` with the version number. i.e `2.9.0`
5757
* If you changed the host port mapping for the coordinator above, use that port for the value of `COORDINATOR_PORT` instead of `9090`.
5858

5959
#### Cleanup

‎StkEngineContainerization/windows/stk-parallel-computing-server/docker-compose.python.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
version: '3.7'
22
services:
33
python:
4-
image: ansys/stk/stk-parallel-computing-server-python:2.8.0-windowsservercore-ltsc2019
4+
image: ansys/stk/stk-parallel-computing-server-python:2.9.0-windowsservercore-ltsc2019
55
build:
66
context: ./python
77
args:

‎StkEngineContainerization/windows/stk-parallel-computing-server/docker-compose.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
version: '3.7'
22
services:
33
agent:
4-
image: ansys/stk/stk-parallel-computing-server-agent:2.8.0-windowsservercore-ltsc2019
4+
image: ansys/stk/stk-parallel-computing-server-agent:2.9.0-windowsservercore-ltsc2019
55
build:
66
context: ./agent
77
args:
8-
agentBaseImage: ansys/stk/stk-parallel-computing-server-python:2.8.0-windowsservercore-ltsc2019
8+
agentBaseImage: ansys/stk/stk-parallel-computing-server-python:2.9.0-windowsservercore-ltsc2019
99
env_file: ../configuration/licensing.env
1010
environment:
1111
- COORDINATOR=coordinator
1212
networks:
1313
- stk-parallel-computing-server
1414
coordinator:
15-
image: ansys/stk/stk-parallel-computing-server-coordinator:2.8.0-windowsservercore-ltsc2019
15+
image: ansys/stk/stk-parallel-computing-server-coordinator:2.9.0-windowsservercore-ltsc2019
1616
build:
1717
context: ./coordinator
1818
args:

0 commit comments

Comments
 (0)
Please sign in to comment.