Size: 2344
Comment:
|
← Revision 7 as of 2023-11-21 17:19:08 ⇥
Size: 466
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 3: | Line 3: |
https://computing.docs.ligo.org/conda/ | * Follow the instruction : https://computing.docs.ligo.org/conda/ |
Line 7: | Line 7: |
{{{ | * (2023/11/21) memo by yuzu {{{ |
Line 14: | Line 16: |
}}} == M1 Mac == 2022/06時点ではarm64用の設定ファイルが無いため、M1 MacにIGWNをインストールするにはRosetta2を使う必要がある。 特に指定しないでHomebrewでAnacondaをインストールするとarm64版がインストールされている。 そのため、x86)64用としてMambaforgeをインストールする。 {{{ arch -x86_64 zsh curl -L -O https://github.com/conda-forge/miniforge/releases/latest/download/Mambaforge-$(uname)-$(uname -m).sh bash Mambaforge-$(uname)-$(uname -m).sh }}} HomebrewとMambaforgeを切り替えるにはzshrcに以下の設定を記入する {{{ # conda if [[ "$(uname -m)" == 'arm64' ]]; then # >>> conda initialize >>> # !! Contents within this block are managed by 'conda init' !! __conda_setup="$('/opt/homebrew/Caskroom/miniconda/base/bin/conda' 'shell.zsh' 'hook' 2> /dev/null)" if [ $? -eq 0 ]; then eval "$__conda_setup" else if [ -f "/opt/homebrew/Caskroom/miniconda/base/etc/profile.d/conda.sh" ]; then . "/opt/homebrew/Caskroom/miniconda/base/etc/profile.d/conda.sh" else export PATH="/opt/homebrew/Caskroom/miniconda/base/bin:$PATH" fi fi unset __conda_setup # <<< conda initialize <<< else # >>> conda initialize >>> # !! Contents within this block are managed by 'conda init' !! __conda_setup="$('/Users/NAME/mambaforge/bin/conda' 'shell.zsh' 'hook' 2> /dev/null)" if [ $? -eq 0 ]; then eval "$__conda_setup" else if [ -f "/Users/NAME/mambaforge/etc/profile.d/conda.sh" ]; then . "/Users/NAME/mambaforge/etc/profile.d/conda.sh" else export PATH="/Users/NAME/mambaforge/bin:$PATH" fi fi unset __conda_setup if [ -f "/Users/NAME/mambaforge/etc/profile.d/mamba.sh" ]; then . "/Users/NAME/mambaforge/etc/profile.d/mamba.sh" fi # <<< conda initialize <<< fi }}} |
}}} |
IGWN Conda Distribution
Follow the instruction : https://computing.docs.ligo.org/conda/
System-B@Kashiwa
- (2023/11/21) memo by yuzu
curl -L -O https://github.com/conda-forge/miniforge/releases/latest/download/Mambaforge-$(uname)-$(uname -m).sh bash Mambaforge-$(uname)-$(uname -m).sh cp /home/hirotaka.yuzurihara/igwn-py39.yaml ./ mamba env create --file igwn-py39.yaml mamba install jupyterlab mamba activate igwn-py39