-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename everything to Globus Compute (#104)
- Loading branch information
Showing
12 changed files
with
89 additions
and
368 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 |
---|---|---|
|
@@ -17,7 +17,7 @@ jobs: | |
- name: Install dependencies | ||
run: | | ||
pip install -U pip setuptools | ||
pip install -e.[funcx,test] | ||
pip install -e.[globus,test] | ||
- name: Start Redis | ||
uses: supercharge/[email protected] | ||
- name: Lint with flake8 | ||
|
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
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
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
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Globus Compute Task Server Demo | ||
|
||
This demo recreates the "streaming" optimization application using the Globus Compute server. | ||
Globus Compute allows the calculations to run on remote resources without any network configuration changes. | ||
|
||
## Setup | ||
|
||
Using Globus Compute requires a few additional steps beyond what is required for a standard Colmena application. | ||
|
||
First, install and start a [Globus Compute endpoint](https://funcx.readthedocs.io/en/latest/endpoints.html) on the system that you would like to run. | ||
Make sure to install the Colmena python library in the Python environment used by your endpoint (e.g., by calling `pip install colmena` in the environment in which you are installing Globus Compute). | ||
Record the endpoint ID given to you when you install the Globus Compute endpoint. | ||
|
||
Colmena also requires additional libraries to run Globus Compute. When installing Colmena, add them using PyPi's extra dependencies mechanism: `pip install colmena[globus]`. | ||
|
||
## Running the Example | ||
|
||
The example requires you to specify the endpoint on which tasks will run. | ||
Provide it as the only requirement of the function, which will look something like: | ||
|
||
```commandline | ||
python run.py c845e24a-154e-4340-abc1-f83948d9454b | ||
``` | ||
|
||
|
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
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
Oops, something went wrong.