-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add source-related files for Synapse 3.1.1
- Loading branch information
1 parent
126272f
commit ff63208
Showing
3 changed files
with
81 additions
and
0 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 |
---|---|---|
@@ -0,0 +1 @@ | ||
synapse_env |
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,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 | ||
``` |
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,12 @@ | ||
channels: | ||
- conda-forge | ||
- defaults | ||
dependencies: | ||
- python = 3.10.4 | ||
- pip | ||
- pip: | ||
- synapseclient == 3.1.1 | ||
- pandas | ||
- pysftp | ||
- pyyaml | ||
- pyhere |