Skip to content

Commit

Permalink
Script to install NetCDF library using ubuntu package manager
Browse files Browse the repository at this point in the history
  • Loading branch information
JiaweiZhuang committed Jan 29, 2018
1 parent 078c6ef commit 64f884e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions build_library/quick_build_ubuntu.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash

# The quickest way to install NetCDF libraries. Can then compile GEOS-Chem.
# Tested on EC2 ubuntu-xenial-16.04 (ami-80861296)

sudo apt-get update
sudo apt-get install gcc gfortran # compiler
sudo apt-get install libnetcdf-dev libnetcdff-dev # NC lib
sudo apt-get install netcdf-bin ncview # NC analysis tool

0 comments on commit 64f884e

Please sign in to comment.