-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #31 from brianmajor/main
docs reformatting
- Loading branch information
Showing
13 changed files
with
171 additions
and
157 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 |
---|---|---|
@@ -1,7 +1,10 @@ | ||
# Science Containers | ||
# CANFAR Science Containers | ||
|
||
This is the git repository for docker images run on the CANFAR Science Platform. | ||
This is the repository for docker containers that are run on the [CANFAR Science Platform](https://www.canfar.net) | ||
|
||
Official documentation is here: [Official Documentation](https://www.opencadc.org/scicon/) | ||
The official CANFAR User Documentation can be found at: [https://www.opencadc.org/scicon/](https://www.opencadc.org/scicon/) | ||
|
||
Documention in the above link is generated using MkDocs from the markdown files in the [docs directory](docs). | ||
### Platform Infrastructure | ||
The repository for the platform service infrastructure and deployment configuration is at: [https://github.com/opencadc/science-platform](https://github.com/opencadc/science-platform) | ||
|
||
[<img src="canfar-logo.png" height="200" />](https://www.opencadc.org/scicon/) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
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 |
---|---|---|
@@ -1,32 +1,84 @@ | ||
# [CANFAR Science Platform](https://www.canfar.net) User Containers | ||
|
||
This repository includes build recipes for containers to be launched on the CANFAR science-platform. | ||
Please feel free to contribute. | ||
|
||
## CANFAR-maintained Containers | ||
Curently the repository contains basic build system to build a hierarchy of default containers supported by CANFAR: | ||
|
||
``` py | ||
Ubuntu LTS | ||
| | ||
base (headless) | ||
| | ||
_____________________ _ _ _ _ _ _ _ | ||
| | | ||
astroml (headless) Desktop Application (desktop-app) | ||
| | ||
astroml-notebook (notebook) | ||
astroml-vscode (contributed) | ||
astroml-desktop (desktop-app) | ||
``` | ||
|
||
- The `base` is a `headless` container are built from a vanilla Ubuntu LTS, with extra operating system installed (compilers, development libraries), and conda install. | ||
- The `astroml` is another `headless` container and is built with a large set of astronomy, machine learning, deep learning, visualisations and data science libraries. | ||
- The `astroml-*` add visualisation and interactivity software. They can be launched as a `notebook` session, a `contributed` VSCode session, or a terminal through a `desktop` session. | ||
- The `Desktop Application` containers do not typically derive from `astroml` and sometimes not from `base` containers, as they are legacy and may rely on now unsupported OS. | ||
|
||
There are CUDA-enabled versions of the containers, which include NVIDIA software and CUDA-powered libraries. They are built and named as `*-gpu`, i.e. `astroml-gpu`, `astroml-gpu-notebook`. | ||
|
||
## CANFAR User Customised Container | ||
If you want to build your own containers, documentation can be found in the [docs directory](docs). | ||
This directory also contains the building of the [CANFAR usage documentation](https://canfar-scienceportal.readthedocs.io/en/latest/) in the readthedocs style. | ||
# Official CANFAR Science Platform Documentation | ||
|
||
## Introduction and Access | ||
|
||
Access to the CANFAR Science Platform is through authorized access to the [CANFAR Portal](https://www.canfar.net). A Canadian Astronomy Data Centre (CADC) Account is required. | ||
- To request a CADC Account: https://www.cadc-ccda.hia-iha.nrc-cnrc.gc.ca/en/auth/request.html | ||
- Authorization to access the science platform: | ||
- if you are part of a collaboration already using CANFAR, ask the admininistrator of the collaboration you belong to add you as a member of the group using the [Group Interface](https://www.cadc-ccda.hia-iha.nrc-cnrc.gc.ca/en/groups/) | ||
- in any other case, send an email to [support@canfar.net](mailto:support@canfar.net) specifying you are requesting access to the CANFAR Science Platform and a short line of justification. | ||
|
||
The CANFAR Science Platform runs software packaged in [containers](https://www.docker.com/resources/what-container/). The platform allows users to run both pre-built, shared containers or private, custom containers. Users can publish container images to the [CANFAR Container Images Registry](https://images.canfar.net). We have specific documentation on how to [build and publish](containers.md) capable to run on the CANFAR Science Platform. | ||
|
||
The CANFAR Science Platform supports both launching interactive sessions and non-interactive ones. A more visual documentation for new users can be found [here](https://canfar-scienceportal.readthedocs.io/en/latest/) | ||
|
||
## Interactive Sessions | ||
|
||
Interactive sessions are applications running server-side on the browser allowing users to interact with the (typically large) datasets hosted on CANFAR storage. There are a few types of Interactive Sessions on the platform: | ||
|
||
### Notebooks | ||
Notebooks are using the Jupyter Lab interface. | ||
|
||
### CARTA | ||
[CARTA](https://cartavis.org/) (Cube Analysis and Rendering Tool for Astronomy) is an astronomy visualization tool that will run natively in the browser. It can read FITS or HDF5 files, often used in radio astronomy, but not only. | ||
|
||
### Desktop | ||
|
||
For running non browser-native applications in the Science Platform, a browser Desktop session can be launched. | ||
- Desktop documentation and tutorials are described more in details in the [User Documentation](https://canfar-scienceportal.readthedocs.io/en/latest/NewUser/LaunchDesktop.html) | ||
- Launching a CASA window in the Desktop YouTube tutorial: [YouTube Tutorial](https://youtu.be/GDDQ3jKbldU) | ||
|
||
### Contributed | ||
|
||
Contributed sessions are user-customised web applications, typically not maintained by CANFAR. This can be anything, such as a [VSCode server](https://github.com/coder/code-server) and [Pluto notebook](https://plutojl.org/) for the Julia language. | ||
|
||
Please refer to the [container documentation](containers.md) for more information on building contributed sessions. | ||
|
||
## Batch Jobs | ||
|
||
There is limited possibility to run a batch job, which can be understood of a non-interactive executable launched on a headless container. Please contact us before making use of the headless job support--we are incrementally adding support for batch processing in the science platform. See the specific [documentation](headless.md). This is still experimental. | ||
|
||
## Storage | ||
|
||
All sessions and applications accessed through Science Platform can share the same filesystem mounted at `/arc`. Within are `/arc/home` (contains all home directories) and `/arc/projects` (for project use). We encourage the use of `/arc/projects` for most data, and `/arc/home` for personalized configuration and software. | ||
|
||
An efficient way to access the `arc` storage outside the Science Platform is through `sshfs`. Here is the [documentation](https://canfar-scienceportal.readthedocs.io/en/latest/General_tools/Using_sshfs.html). | ||
|
||
The `arc` storage is also accesible through an API. The following list the ways it can be accessed beyond the use of the Science Portal and sshfs: | ||
|
||
- Using the CANFAR storage management interface: https://www.canfar.net/storage/arc/list | ||
- Using the [VOSpace Python libraries](https://github.com/opencadc/vostools/tree/master/vos) | ||
- Using the `/arc/files` URL endpoint [documentation](https://ws-uv.canfar.net/arc) | ||
- Using sshfs | ||
|
||
More detailed instructions of the data transfer options are documented [here](https://canfar-scienceportal.readthedocs.io/en/latest/General_tools/File_transfers.html) | ||
|
||
Please take care to protect sensitive information by ensuring it is not publicly accessible. | ||
|
||
## Groups and Permissions | ||
|
||
Projects are encouraged to use groups to manage access to resources, including files and directories in `arc` project storage, mounted at `/arc/projects` in every session. | ||
|
||
Groups and their memberships can be managed through the CANFAR groups web interface, here: https://www.cadc-ccda.hia-iha.nrc-cnrc.gc.ca/en/groups/ | ||
|
||
Once created, groups can be assigned to files and directories in arc storage directly from their interactive sessions, or through the [CANFAR storage](https://www.canfar.net/storage/arc/list) | ||
|
||
For more details, see the documentation on [file permissions](permissions.md) | ||
|
||
## Programmatic Access | ||
|
||
Session launching and management is through the `skaha` service. The `skaha` API definition and science platform service are here: https://ws-uv.canfar.net/skaha | ||
|
||
## Community and Support | ||
|
||
Dicussions of issues and platform features take place in the Science Platform Slack Channel: [Science Platform Slack Channel](https://cadc.slack.com/archives/C01K60U5Q87) | ||
|
||
Reporting of bugs and new feature requests: | ||
- For the infrastructure and session https://github.com/opencadc/science-platform/issues | ||
- For the containers: https://github.com/opencadc/science-containers/issues | ||
|
||
Contributions to the platform (including updates or corrections to the documentation) can be submitted as pull requests to this GitHub repositories. We especially encourage science-containers. | ||
|
||
General inquiries can be made to [support@canfar.net](mailto:support@canfar.net), and take a look at our [FAQ](faq.md). | ||
|
||
[<img src="../canfar-logo.png" height="200" />](https://www.opencadc.org/scicon/) |
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.