-
Notifications
You must be signed in to change notification settings - Fork 3
/
install.sh
28 lines (22 loc) · 832 Bytes
/
install.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/usr/bin/env bash
if [[ "$unamestr" == "Darwin" ]]; then
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
else
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Linuxbrew/install/master/install)"
echo 'Must add "$HOME/.linuxbrew/bin:$PATH" to $PATH'
export PATH=$HOME/.linuxbrew/bin:$PATH
fi
brew tap pwolfram/mpas
echo 'May need a proxy for this to work...'
# may need to use `export https_proxy=http://proxyout.lanl.gov:8080`
# note presumes only mpich is in use
brew install mpich
brew install netcdf
brew install pwolfram/mpas/parallel-netcdf --build-from-source
brew install pwolfram/mpas/pio --build-from-source
#brew reinstall nco --build-from-source
# needed for mesh generation tools
brew install llvm
brew install metis
# needed for compass
brew install wget