Skip to content

Conversation

@forsyth2
Copy link
Collaborator

Andes support. Resolves #450.

@forsyth2 forsyth2 added the semver: new feature New feature (will increment minor version) label Jul 13, 2023
@forsyth2 forsyth2 self-assigned this Jul 13, 2023
"bundles_walltime": "02:00:00",
"constraint": "",
# To run this test, replace conda environment with your e3sm_diags dev environment
# TODO: Get conda working on Andes
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tried following the conda directions for E3SM Diags at https://e3sm-project.github.io/e3sm_diags/_build/html/master/install.html#others-local, but I get:

$ which conda
/usr/bin/which: no conda in (/sw/andes/spack-envs/base/opt/linux-rhel8-x86_64/gcc-9.3.0/openmpi-4.0.4-skxqfeiocc5jtuw3y6dwtnxzzqjp5ffs/bin:/sw/andes/gcc/9.3.0/bin:/sw/sources/hpss/bin:/sw/andes/bin:/opt/ibm/spectrumcomputing/lsf/10.1/linux3.10-glibc2.17-x86_64/etc:/opt/ibm/spectrumcomputing/lsf/10.1/linux3.10-glibc2.17-x86_64/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sw/sources/cgroup_tool/bin:/opt/puppetlabs/bin:/usr/lpp/mmfs/bin:/opt/dell/srvadmin/bin)

I tried following the mamba directions for zppy at https://e3sm-project.github.io/zppy/_build/html/main/getting_started.html#others-local, but I get:

$ which mamba
/usr/bin/which: no mamba in (/sw/andes/spack-envs/base/opt/linux-rhel8-x86_64/gcc-9.3.0/openmpi-4.0.4-skxqfeiocc5jtuw3y6dwtnxzzqjp5ffs/bin:/sw/andes/gcc/9.3.0/bin:/sw/sources/hpss/bin:/sw/andes/bin:/opt/ibm/spectrumcomputing/lsf/10.1/linux3.10-glibc2.17-x86_64/etc:/opt/ibm/spectrumcomputing/lsf/10.1/linux3.10-glibc2.17-x86_64/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sw/sources/cgroup_tool/bin:/opt/puppetlabs/bin:/usr/lpp/mmfs/bin:/opt/dell/srvadmin/bin)

@xylar @tomvothecoder Would either of you know how to get some form of conda working on Andes?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you just need to log in with a new terminal after you install. The instruction:

Do you wish the installer to initialize Miniconda3 by running conda init? [yes|no] yes

is adding something to your .bashrc and that doesn't take effect unless you either do source .bashrc or you log in to a fresh terminal.

Copy link
Contributor

@xylar xylar Jul 18, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If that doesn't work, you should instead do:

source ~/mambaforge/etc/profile.d/conda.sh
source ~/mambaforge/etc/profile.d/mamba.sh
mamba activate

if you installed Miniconda3 instead of Mambaforge -- ☹️ -- you will need to just do:

source ~/miniconda3/etc/profile.d/conda.sh
conda activate

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

source ~/mambaforge/etc/profile.d/conda.sh
source ~/mambaforge/etc/profile.d/mamba.sh
mamba activate

Ah, that appears to work, thanks!

@whannah1
Copy link

@forsyth2 I was recently struggling with this as well. I never for it fully working, but I can get the unified env with this:
source /gpfs/alpine/proj-shared/cli115/e3sm-unified/load_latest_e3sm_unified_andes.sh

@forsyth2
Copy link
Collaborator Author

To do: need to figure out where to transfer the input files (for integration tests -- i.e., the output of the simulation). What workspace has a large enough space quota? (The directory of E3SMv2 output takes up 12T on Chrysalis)

@forsyth2 forsyth2 added the Feature type: new machine Add support for a new machine label Aug 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Feature type: new machine Add support for a new machine semver: new feature New feature (will increment minor version)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve support for Andes

4 participants