Skip to content

Instantly share code, notes, and snippets.

@ranguli
Last active July 10, 2018 15:51
Show Gist options
  • Save ranguli/b1a3472a868c2621a147b8baba78f884 to your computer and use it in GitHub Desktop.
Save ranguli/b1a3472a868c2621a147b8baba78f884 to your computer and use it in GitHub Desktop.
Install SOSIE on Ubuntu
#!/bin/bash
# Filename: sosie.sh
# Author: Joshua Murphy
# June 22nd, 2018
# https://github.com/ranguli
# jmurphy17@mun.ca
# Installs SOSIE 3 on Ubuntu. Tested on Ubuntu versions 18.04 and 17.10.
# Running on Debian is not recommended because of difficulties.
sudo apt install git gcc make build-essential gfortran hdf5-helpers \
libhdf5-100 libhdf5-dev libnetcdf-dev libnetcdff6 \
libnetcdff-dev ncview netcdf-bin
git clone https://github.com/ranguli/sosie && cd sosie
git fetch && git checkout 3.0
cp ./macro/make.macro_gfortran_Debian ./make.macro
make -j 4 && sudo make install && make clean
cd ..
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment