Skip to content

Commit 7c28d5b

Browse files
authored
Change 'conda activate' to 'source activate' for Frontier (#719)
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. [ committed by @ashao ] [ reviewed by @MattToast ]
1 parent 2f68c08 commit 7c28d5b

File tree

2 files changed

+8
-12
lines changed

2 files changed

+8
-12
lines changed

doc/changelog.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ To be released at some future point in time
1515

1616
Description
1717

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

4041
Detailed Notes
4142

43+
- On Frontier, the recommended way to activate conda environments is
44+
to go through source activate. This also means that ``conda init``
45+
is not needed. The instructions for Frontier have been updated to
46+
reflect this.
47+
([SmartSim-PR719](https://github.com/CrayLabs/SmartSim/pull/719))
4248
- The RedisAIBuilder class was completely overhauled to allow users to
4349
express a wider range of support for hardware/software stacks. This
4450
will be extended to support ROCm, CUDA-11, and CUDA-12.

doc/installation_instructions/platform/frontier.rst

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -40,17 +40,7 @@ these instructions, being sure to set the following variables
4040
4141
export SCRATCH=/lustre/orion/$PROJECT_NAME/scratch/$USER/
4242
conda create -n smartsim python=3.11
43-
conda activate smartsim
44-
45-
**Step 1 (Optional):** If this is your first time using miniforge on
46-
Frontier you may also have to execute the following before being able
47-
to activate the ``smartsim`` environment
48-
49-
.. code:: bash
50-
51-
conda init
52-
source ~/.bashrc
53-
conda activate smartsim
43+
source activate smartsim
5444
5545
**Step 2:** Build the SmartRedis C++ and Fortran libraries:
5646

@@ -103,7 +93,7 @@ build, and some variables should be set to optimize performance:
10393
.. code:: bash
10494
10595
module load PrgEnv-gnu miniforge3 rocm/6.1.3
106-
conda activate smartsim
96+
source activate smartsim
10797
10898
# Optimizations for inference
10999
export SCRATCH=/lustre/orion/$PROJECT_NAME/scratch/$USER/

0 commit comments

Comments
 (0)