Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add docs for using images outside Fornax #39

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

zoghbi-a
Copy link
Contributor

Using the compute images outside Fornax is a use case that came up recently. This PR gives an example of how to use the images on personal computers using docker.

Copy link
Member

@bsipocz bsipocz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rendering looks fine.

I'll keep this open to give the option for others to chime with content-related comments, and to say whether this is enough narrative or there are more open questions.

Copy link
Collaborator

@jkrick jkrick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for adding this, I think it is useful to have. A couple comments below.

or did GitHub eat my suggestions?

@bsipocz
Copy link
Member

bsipocz commented Sep 6, 2024

or did GitHub eat my suggestions?

unfortunately, that looks to be the case.

Copy link
Collaborator

@jkrick jkrick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

trying again with the comments....

cd work
```
- Clone the notebook repo: `git clone https://github.com/nasa-fornax/fornax-demo-notebooks.git`.
- Download the relevant Fornax image. In this case, we are using the `tractor-stable` image. `docker pull public.ecr.aws/f6e2z3b0/fornax-images:tractor-stable`.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the name of this image 'tractor-stable' going to always be the same name in perpetuity, or will the names change? If the names will change, or if we want users to be able to see multiple different environments, then can you teach us users how to figure out the full list of available images? as well as corresponding addresses for those images (ie., is the 'f6e2...' the same for all images?

@@ -227,6 +227,36 @@ Software is installed in miniconda environments. You can use "[conda list](http
### How can I contribute to existing Open-Source Fornax notebook tutorials?
* open issue or PR on Fornax Github [repo](https://github.com/nasa-fornax/fornax-demo-notebooks)

## Using Fornax Software Environments Outside Fornax
The Fornax software environments are available as docker container images. To use them on your computer, you will need to install
[docker](https://docs.docker.com/engine/install/). The following are the steps needed to run the notebooks locally using the Fornax images:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did this years ago and it was a somewhat involved process. If this is still the case, maybe a warning is in order for users so that they know this is not some simple 'pip install Docker'. Maybe something like " You can expect this will take ~N - N minutes and N Mb of space on your personal computer"

@@ -227,6 +227,36 @@ Software is installed in miniconda environments. You can use "[conda list](http
### How can I contribute to existing Open-Source Fornax notebook tutorials?
* open issue or PR on Fornax Github [repo](https://github.com/nasa-fornax/fornax-demo-notebooks)

## Using Fornax Software Environments Outside Fornax
The Fornax software environments are available as docker container images. To use them on your computer, you will need to install
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we add an example motivation?

"If you want to run the Fornax software Environment outside of the Fornax Science Console, that is an available option. Possible use cases for this are if you want to use different CPU/GPU/RAM/storage options than are available to you for free on the Fornax system. Possibly you have your own compute or your own cloud based account" The advantage of using our Software environment is that it is maintained already for you with widely used Astronomy software.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants