-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Deleting stale setup instructions * Adding install scripts for Gadi, VDI and windows * Adding more packages to installation scripts * Adding more packages to install-scripts * Adding an install-script for linux * More updates to install-scripts * Minor changes to install-scripts * Minor changes to install scripts * Updating conda script for linux Conda env now includes geos and proj4 for compiling shapely and cartopy * Adding conda install script for osx * Upgrading to obspy 1.2.0 * Upgrading obspy and openmp versions * Upgrading obspy==1.2.2 for osx-conda * Upgrading obspy==1.2.2 for win-conda * Updating Install Scripts * Added gdal to linux env * Adding parallel h5py to vdi env * Adding remi to dependency list * Update README.rst * Adding a readme for setup scripts * Renaming readme * Update README.md * Updating readme with more details on windows setup instructions * Update README.md * Update README.rst * Update README.rst
- Loading branch information
Showing
13 changed files
with
382 additions
and
301 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
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# Anaconda-based Setups | ||
|
||
1. Setup scripts provided for Linux, OSX and Windows (conda_env_*.sh) are based on | ||
[Anaconda3-2021.11](https://repo.anaconda.com/archive/). | ||
Refer to Anaconda installation instructions [here](https://conda.io/projects/conda/en/latest/user-guide/install/index.html) | ||
|
||
2. Launch setup shell script for your OS: | ||
|
||
Note that the setup script for Windows is a whittled down version compared to the Linux and OSX versions. While most of the dependecies | ||
are covered, some that require code compilation are excluded, specifically to cater to institutional Windows machines with strict security controlls in place. ``conda_env_windows.sh`` should be launched from Git BASH -- refer to its installation instructions [here](https://gitforwindows.org/). | ||
|
||
Launch setup script, e.g. for Linux as follows: | ||
|
||
``source hiperseis/setup_scripts/conda_env_linux.sh env_name || true`` | ||
|
||
where, ``env_name`` is the name of the environment to be created (e.g. hiperseis_env) and | ||
`` || true`` ensures the shell terminal the command is run from does not terminate | ||
if errors are encountered. | ||
|
||
|
||
|
||
3. Activate the newly created environment: | ||
|
||
``conda activate env_name`` | ||
|
||
Note that the environment must be activated for each new terminal session from which HiPerSeis scripts are to be run. Alternatively, it can be added to the ``.bashrc`` file. | ||
|
||
# GADI | ||
|
||
1. The setup script for GADI is launched as: | ||
|
||
``sh hiperseis/setup_scripts/setup_env_gadi.sh env_name`` | ||
|
||
where, ``env_name`` is the name of the environment to be created (e.g. hiperseis_env). | ||
|
||
2. Activate the newly created environment: | ||
|
||
``source env_name/bin/activate`` | ||
|
||
Note that the environment must be activated for each new terminal session from which HiPerSeis scripts are to be run. Alternatively, it can be added to the ``.bashrc`` file. |
Oops, something went wrong.