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

Change 'conda activate' to 'source activate' for Frontier #719

Merged
merged 2 commits into from
Sep 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
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
6 changes: 6 additions & 0 deletions doc/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ To be released at some future point in time

Description

- Refine Frontier documentation for proper use of miniforge3
- Refactor to the RedisAI build to allow more flexibility in versions
and sources of ML backends
- Add Dockerfiles with GPU support
Expand All @@ -39,6 +40,11 @@ Description

Detailed Notes

- On Frontier, the recommended way to activate conda environments is
to go through source activate. This also means that ``conda init``
is not needed. The instructions for Frontier have been updated to
reflect this.
([SmartSim-PR719](https://github.com/CrayLabs/SmartSim/pull/719))
- The RedisAIBuilder class was completely overhauled to allow users to
express a wider range of support for hardware/software stacks. This
will be extended to support ROCm, CUDA-11, and CUDA-12.
Expand Down
14 changes: 2 additions & 12 deletions doc/installation_instructions/platform/frontier.rst
Original file line number Diff line number Diff line change
Expand Up @@ -40,17 +40,7 @@ these instructions, being sure to set the following variables

export SCRATCH=/lustre/orion/$PROJECT_NAME/scratch/$USER/
conda create -n smartsim python=3.11
conda activate smartsim

**Step 1 (Optional):** If this is your first time using miniforge on
Frontier you may also have to execute the following before being able
to activate the ``smartsim`` environment

.. code:: bash

conda init
source ~/.bashrc
conda activate smartsim
source activate smartsim

**Step 2:** Build the SmartRedis C++ and Fortran libraries:

Expand Down Expand Up @@ -103,7 +93,7 @@ build, and some variables should be set to optimize performance:
.. code:: bash

module load PrgEnv-gnu miniforge3 rocm/6.1.3
conda activate smartsim
source activate smartsim

# Optimizations for inference
export SCRATCH=/lustre/orion/$PROJECT_NAME/scratch/$USER/
Expand Down
Loading