Tested on macOS 10, but should work on relatively recent OS X as well.
xcode-select --install
from command linebrew install gcc
.brew install open-mpi
brew install --build-from-source hdf5 --with-mpi
brew reinstall --build-from-source netcdf
Note that for the MITgcm as released netcdf
does not require hdf5
to be compiled with mpi
(though the MITgcm
itself requires mpi
). However, I am developing a parallel-aware netcdf interface for the MITgcm
, so this step is useful.
ipython --pylab
. From that command line try something like fig,ax=plt.subplots();ax.plot(np.arange(10))
.jupyter-notebook
and open the webpage they suggest. See their website for demos and I’ll give some example python notebooks soon.conda install xarray dask
pip install xmitgcm
~/MITgcmc66b/MITgcm
as that is the last version I downloaded. I download the tar balls as they have been tested. I always get errors from the CVS snapshots. git clone https://github.com/jklymak/MITgcmExampleSteadyGauss.git
and then follow the instructions at the project README