NOAA-GFDL / MDTF-diagnostics

Analysis framework and collection of process-oriented diagnostics for weather and climate simulations
https://mdtf-diagnostics.readthedocs.io/en/main/
Other
64 stars 100 forks source link

Conda Installation Issue #709

Closed nishsilva closed 1 week ago

nishsilva commented 2 weeks ago

Bug Severity

Describe the bug I am trying to install Conda dependencies to my local branch. But I am getting an error saying that the /glade/work/netige/mdtf_Apr24_2/mdtf/MDTF-diagnostics/src/conda/env_base_micromamba.yml is not found. Bnut when I check the folder I see the file is present in the directory.

Steps To Reproduce Issue arise when I run below command: ./src/conda/conda_env_setup.sh --all --conda_root /glade/u/home/netige/miniconda3 --env_dir /glade/work/netige/mdtf_Apr24_2/mdtf/

Environment Describe the system environment:

Log information and/or terminal output

/glade/work/netige/mdtf_Apr24_2/mdtf/_MDTF_base
Creating conda env _MDTF_base in /glade/work/netige/mdtf_Apr24_2/mdtf/_MDTF_base...
info     libmamba ****************** Backtrace Start ******************
debug    libmamba Loading configuration
trace    libmamba Compute configurable 'create_base'
trace    libmamba Compute configurable 'no_env'
trace    libmamba Compute configurable 'no_rc'
trace    libmamba Compute configurable 'rc_files'
trace    libmamba Compute configurable 'root_prefix'
trace    libmamba Get RC files configuration from locations up to HomeDir
trace    libmamba Configuration not found at '/glade/u/home/netige/.mambarc'
trace    libmamba Configuration not found at '/glade/u/home/netige/.mamba/mambarc.d'
trace    libmamba Configuration not found at '/glade/u/home/netige/.mamba/mambarc'
trace    libmamba Configuration not found at '/glade/u/home/netige/.mamba/.mambarc'
trace    libmamba Configuration not found at '/glade/u/home/netige/.config/mamba/mambarc.d'
trace    libmamba Configuration not found at '/glade/u/home/netige/.config/mamba/mambarc'
trace    libmamba Configuration not found at '/glade/u/home/netige/.config/mamba/.mambarc'
trace    libmamba Configuration found at '/glade/u/home/netige/.condarc'
trace    libmamba Configuration not found at '/glade/u/home/netige/.conda/condarc.d'
trace    libmamba Configuration not found at '/glade/u/home/netige/.conda/condarc'
trace    libmamba Configuration not found at '/glade/u/home/netige/.conda/.condarc'
trace    libmamba Configuration not found at '/glade/u/home/netige/.config/conda/condarc.d'
trace    libmamba Configuration not found at '/glade/u/home/netige/.config/conda/condarc'
trace    libmamba Configuration not found at '/glade/u/home/netige/.config/conda/.condarc'
trace    libmamba Configuration not found at '/glade/work/netige/conda-envs/_MDTF_install_temp/.mambarc'
trace    libmamba Configuration not found at '/glade/work/netige/conda-envs/_MDTF_install_temp/condarc.d'
trace    libmamba Configuration not found at '/glade/work/netige/conda-envs/_MDTF_install_temp/condarc'
trace    libmamba Configuration not found at '/glade/work/netige/conda-envs/_MDTF_install_temp/.condarc'
trace    libmamba Configuration not found at '/var/lib/conda/.mambarc'
trace    libmamba Configuration not found at '/var/lib/conda/condarc.d/'
trace    libmamba Configuration not found at '/var/lib/conda/condarc'
trace    libmamba Configuration not found at '/var/lib/conda/.condarc'
trace    libmamba Configuration not found at '/etc/conda/.mambarc'
trace    libmamba Configuration not found at '/etc/conda/condarc.d/'
trace    libmamba Configuration not found at '/etc/conda/condarc'
trace    libmamba Configuration not found at '/etc/conda/.condarc'
trace    libmamba Update configurable 'no_env'
trace    libmamba Compute configurable 'envs_dirs'
trace    libmamba Compute configurable 'file_specs'
error    libmamba YAML spec file '=/glade/work/netige/mdtf_Apr24_2/mdtf/MDTF-diagnostics/src/conda/env_base_micromamba.yml' not found
critical libmamba File not found. Aborting.
info     libmamba ****************** Backtrace End ********************
nishsilva commented 1 week ago

Issue was resolved after installing mamba. Closing now.