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

Simplify output from config compass and load script #380

Merged
merged 1 commit into from
Apr 27, 2022

Conversation

xylar
Copy link
Collaborator

@xylar xylar commented Apr 27, 2022

The verbose output from mamba and from installing the compass package is distracting and confusing to developers.

The verbose output from mamba and from installing the compass
package is distracting and confusing to developers.
@xylar xylar added clean-up dependencies and deployment Changes relate to creating conda and Spack environments, and creating a load script labels Apr 27, 2022
@xylar xylar self-assigned this Apr 27, 2022
@xylar
Copy link
Collaborator Author

xylar commented Apr 27, 2022

This is something I've been wanting to do for a long time. Now, when you configure it looks something like this:

$ ./conda/configure_compass_env.py --mpi all --env_name compass_simplify_config

Warning: --conda path not supplied.  Using conda installed at:
   /home/xylar/miniconda3

Logging to: conda/logs/prebootstrap.log

Doing initial setup

Updating conda environment for installing compass

Creating the compass conda environment


 Running:
   source /home/xylar/miniconda3/etc/profile.d/conda.sh
   conda activate compass_bootstrap
   /home/xylar/code/compass/simplify_env_config_output/conda/bootstrap.py --mpi all --env_name compass_simplify_config

Logging to: conda/logs/bootstrap.log

Configuring environment(s) for the following compilers and MPI libraries:
  gnu, mpich
  gnu, openmpi

Updating compass_simplify_config

Writing:
   /home/xylar/code/compass/simplify_env_config_output/load_compass_simplify_config_mpich.sh

Writing:
   /home/xylar/code/compass/simplify_env_config_output/load_compass_simplify_config_openmpi.sh

When you source a load script, it looks like this:

$ source load_compass_simplify_config_mpich.sh 
Loading conda environment
Done.

Reinstalling compass package in edit mode...
Done.

@xylar
Copy link
Collaborator Author

xylar commented Apr 27, 2022

@mark-petersen and @matthewhoffman, I'm not going to ask for your reviews on this but would be happy to follow up with a PR to tweak the output later.

@xylar xylar merged commit 75510cc into MPAS-Dev:master Apr 27, 2022
@xylar xylar deleted the simplify_env_config_output branch April 27, 2022 14:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
clean-up dependencies and deployment Changes relate to creating conda and Spack environments, and creating a load script
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant