Skip to content

Instantly share code, notes, and snippets.

@mathomp4
mathomp4 / MITgcm-move.md
Last active March 6, 2023 14:32
Moving MITgcm code from GCM GC repo to Ocean preserving the history
@mathomp4
mathomp4 / brewlist.md
Last active February 25, 2022 13:13
List of Brew Packages

List of packages to install with Brew.

Some of these are needed for GEOS, Baselibs, etc. Some are things I personally just need.

Formulae

  • autoconf
  • autogen
  • automake
  • cmake
@mathomp4
mathomp4 / cmake-ignore-build-install.md
Last active February 24, 2021 21:55
Automatically ignore CMake build and install directories

This bit of CMake is based off of code from Michael Hirsch (aka @scivision)

# https://www.scivision.dev/cmake-auto-gitignore-build-dir/
# --- auto-ignore build directory
if(NOT EXISTS ${PROJECT_BINARY_DIR}/.gitignore)
  file(WRITE ${PROJECT_BINARY_DIR}/.gitignore "*")
endif()

# Piggyback that file into install
@mathomp4
mathomp4 / import-github-labels.md
Last active November 27, 2019 13:35 — forked from cdlhub/import-github-labels.md
Script to import labels to Github issue page
@mathomp4
mathomp4 / mpi_reproducer.F90
Last active August 29, 2015 14:05
Open MPI Stall Reproducer
module CommsMod
implicit none
private
public SetDistGrid
public CreateRequest
public DistGrid
public CommRequest
public ArrayIGather