Skip to content

Commit

Permalink
Add source-related files for Synapse 3.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick-Eagles committed Nov 15, 2023
1 parent 126272f commit ff63208
Show file tree
Hide file tree
Showing 3 changed files with 81 additions and 0 deletions.
1 change: 1 addition & 0 deletions synapse/3.1.1/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
synapse_env
68 changes: 68 additions & 0 deletions synapse/3.1.1/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
# Installation

```bash
## Commands used for installing the software

# Make sure not to rely on user packages
export PYTHONNOUSERSITE="anything"

# Create an 'environment.yml' file describing the conda environment we'll
# create
echo "channels:
- conda-forge
- defaults
dependencies:
- python = 3.10.4
- pip
- pip:
- synapseclient == 3.1.1
- pandas
- pysftp
- pyyaml
- pyhere" > environment.yml

# Create a conda environment containing the python-based and command-line-
# based synapse client
module load conda/3-23.3.1
conda env create -f environment.yml -p $PWD/synapse_env

## Ignore all downloaded/installed files
echo "synapse_env" > .gitignore

# Allow fairly relaxed permissions, but protect against accidental changes to
# the conda environment
chmod -R 775 .
chmod -R 555 synapse_env

## Version control files
git add .gitignore
git add README.md
git add environment.yml
```

# Reproducibility

```bash
## Evaluate the following commands
module list
date
echo "User: ${USER}"
echo "Node name: ${SLURMD_NODENAME}"
```

```bash
## copy paste the output from the previous commands
$ module list

Currently Loaded Modules:
1) JHPCE_ROCKY9_DEFAULT_ENV 2) JHPCE_tools/3.0 3) conda/3-23.3.1



$ date
Wed Nov 15 04:15:19 PM EST 2023
$ echo "User: ${USER}"
User: neagles
$ echo "Node name: ${SLURMD_NODENAME}"
Node name: compute-114
```
12 changes: 12 additions & 0 deletions synapse/3.1.1/environment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
channels:
- conda-forge
- defaults
dependencies:
- python = 3.10.4
- pip
- pip:
- synapseclient == 3.1.1
- pandas
- pysftp
- pyyaml
- pyhere

0 comments on commit ff63208

Please sign in to comment.