Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
Llannelongue committed May 30, 2022
1 parent 5360ea7 commit f584b2d
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,5 +80,13 @@ and will create the virtualenv with the required packages, based on `requirement
the_shared_directory/GreenAlgorithms4HPC/myCarbonFootprint.sh
```

## How to update the code without overwriting local changes:
_TBC_
## How to update the code:
_More elegant solutions welcome! [Discussion here](https://github.com/Llannelongue/GreenAlgorithms4HPC/issues/1)._

⚠️ Make sure you have saved your custom version of `cluster_info.yaml` and the module loading step of `GreenAlgorithms_global.py`.

- `git reset --hard` To remove local changes to files (hence the need for a backup!)
- `git pull`
- Update `cluster_info.yaml` and `GreenAlgorithms_global.py` with the details needed for your cluster.
- `chmod +x myCarbonFootprint.sh` to make it executable again
- Test `myCarbonFootprint.sh`

0 comments on commit f584b2d

Please sign in to comment.