Back to home page

EIC code displayed by LXR

 
 

    


Warning, /tutorial-setting-up-environment/setup.md is written in an unsupported language. File is not indexed.

0001 ---
0002 title: Setup
0003 ---
0004 
0005 > Note: If you are using the [BNL SDCC](https://eic.github.io/tutorial-setting-up-environment/BNL_SDCC_QuickStart/index.html)or the [JLab Farm](https://eic.github.io/tutorial-setting-up-environment/JLAB_Farm_QuickStart/index.html), you may find the quick start info in the extras section useful if you are new to these systems.
0006 {: .callout}
0007 
0008 In advance of the training session, please ensure that
0009 1. You have a GitHub account ([sign up here](https://github.com/signup))
0010 1. Your GitHub account is a member of the [EIC organization](https://github.com/eic) on GitHub
0011 - Email [the EIC software conveners](mailto:eic-software-l-request@lists.bnl.gov) with your GitHub account to be added
0012 1. You have singularity/apptainer or docker (on Mac) installed and working
0013 - Provided by default on BNL SDCC and the JLab iFarm, check by trying the command `singularity` and verify that you get an info dump on the usage of the command
0014 - On your local system:
0015   - systems that use cvmfs or download images can install **singularity or apptainer** (see [here](https://apptainer.org/docs/user/main/quick_start.html))
0016   - systems that download images can install **docker** (see [here](https://www.docker.com/))
0017 - You should at a minimum be able to run either of the following commands and open a shell:
0018   - `singularity run docker://alpine`
0019   - `docker run --rm -it alpine`
0020 1. Download `eic-shell`:
0021 - Due to time and bandwidth limitations, this should be downloaded to your desired system before the live tutorial
0022 - From the system you use with singularity/apptainer or docker, make a folder called `eic`
0023 - From inside this directory:
0024   - Install by running the command:
0025 ```
0026 curl --location https://get.epic-eic.org | bash
0027 ```
0028   - **or** you can save the file at https://get.epic-eic.org as `install.sh` and run this script by hand:
0029 ```
0030 wget --output-document install.sh https://get.epic-eic.org
0031 bash install.sh
0032 ```
0033 
0034 If you have completed the numbered steps above, then you are ready for the tutorial. Additional information and training links are below:
0035 - Basic familiarity with Unix shell and Git
0036   - Software Carpentry [Unix Shell](https://swcarpentry.github.io/shell-novice/) training (recommended)
0037   - Software Carpentry [Basic Git](https://swcarpentry.github.io/git-novice/) training (recommended)
0038 - Basic familiarity with singularity and docker:
0039   - Software Carpentry [Incubator Singularity](https://carpentries-incubator.github.io/singularity-introduction/) training (optional)
0040   - HEP Software Foundation [Docker](https://hsf-training.github.io/hsf-training-docker/index.html) training (optional)
0041 
0042 {% include links.md %}