Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add conda environment to run on personal computers #393

Merged
merged 12 commits into from
Jan 24, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
doc: conda: mention symlinks and creating a complete port
  • Loading branch information
phil-blain committed Jan 24, 2020
commit 4e8f5f317df98b5970df84f0a23126b456af9af9
17 changes: 17 additions & 0 deletions doc/source/user_guide/ug_running.rst
Original file line number Diff line number Diff line change
Expand Up @@ -640,6 +640,23 @@ The conda configuration expects some directories and files to be present at ``$H
This step needs to be done only once.

If you prefer that some or all of the CICE directories be located somewhere else, you can create a symlink from your home to another location:

.. code-block:: bash
# Create the CICE directories at your preferred location
cd ${somewhere}
mkdir -p cice-dirs/runs cice-dirs/baseline cice-dirs/input
# Download the required forcing from https://github.com/CICE-Consortium/CICE/wiki/CICE-Input-Data
# and untar it at cice-dirs/input
# Create a symlink to cice-dirs in your $HOME
cd $HOME
ln -s ${somewhere}/cice-dirs cice-dirs
Note: if you wish, you can also create a complete machine port for your computer by leveraging the conda configuration as a starting point. See :ref:`porting`.

Next, create the "cice" conda environment from the ``environment.yml`` file:

.. code-block:: bash
Expand Down