Skip to content

Instantly share code, notes, and snippets.

View deleeke's full-sized avatar

Elijah deleeke

View GitHub Profile
@deleeke
deleeke / IBAMRBuildSystem.md
Last active May 25, 2017 16:25
Instructions for building IBAMR with BuildSystem

Build PETSc

cd $HOME
mkdir sfw && cd sfw
mkdir petsc && cd petsc
git clone https://bitbucket.org/deleeke/petsc  deleeke-petsc
cd deleeke-petsc
git fetch origin
git checkout knepley/ibamr
@deleeke
deleeke / IBAMR_CONTRIBUTING.md
Last active April 8, 2017 15:51
IBAMR_contributing_rough_draft

###Summary Instructions on building IBAMR on an Ubuntu 14.04 system ###(for LLVM toolchain on VM)

===Set environment variables===

setenv CC "clang"
setenv CXX "clang++"
setenv FC "gfortran"

==General notes==

Building IBAMR

These instructions describe building and installing IBAMR and its required third-party libraries on a Linux system. Minimal modifications should be required for similar operating systems.

Assumptions:

  • All of the third-party libraries are to be installed in $HOME/sfw/linux except for PETSc, SAMRAI, and IBAMR. These libraries will be installed in $HOME/sfw/petsc, $HOME/sfw/samrai, and $HOME/sfw/ibamr, respectively. Minor modifications are required to install the libraries in different locations.
  • You are using bash for your shell. Minor changes will be required for other shells such as csh or tcsh (e.g., replacing commands of the form export NAME=value with setenv NAME value).

NOTE: IBAMR configure detects the presence of required third-party libraries provided by PETSc. Currently, these include HDF5 and hypre. IBAMR configure also attempts to use the BLAS and LAPACK libraries used by PETSc. When running IBAMR configure, users are not required to s

@deleeke
deleeke / gmock_debian.md
Created May 8, 2016 23:31 — forked from strezh/gmock_debian.md
Install google-mock on Debian
cd ${GMOCK_ROOT}
mkdir build
cd build
g++ -I../gtest/include -I../gtest -I../include -I.. -c ../gtest/src/gtest-all.cc
g++ -I../gtest/include -I../gtest -I../include -I.. -c ../gmock/src/gmock-all.cc
ar -rv libgmock.a gtest-all.o gmock-all.o
@deleeke
deleeke / ibamr_ubuntu_deps.md
Last active July 13, 2016 17:06
ibamr_ubuntu_deps.md

#summary Instructions on building IBAMR on a system running Linux.

=Building IBAMR on a System Running Linux=

sudo apt-get update
sudo apt-get install valgrind
sudo apt-get install cmake
sudo apt-get install libreadline6
sudo apt-get install gcc
sudo apt-get install g++
@deleeke
deleeke / JenkinsPullRequestBuilderSetup.md
Last active August 10, 2018 17:52
JenkinsPullRequestBuilderSetup.md

Instructions for setting up a Jenkins job using the GitHub Pull Request Builder plugin

These instructions are for setting up the GitHub Pull Request Builder Plugin from a clean install of Jenkins. If you allready have the plugin installed, jump to: setting up a new job

Please send any questions about this document or report any errors to ibamr-dev@googlegroups.com

Contents