Skip to content

Instantly share code, notes, and snippets.

View dpo's full-sized avatar
💭
Hacking

Dominique dpo

💭
Hacking
View GitHub Profile
@dpo
dpo / ipopt.rb
Created October 16, 2013 22:18
require 'formula'
class Ipopt < Formula
homepage 'https://projects.coin-or.org/Ipopt'
url 'http://www.coin-or.org/download/source/Ipopt/Ipopt-3.11.4.tgz'
sha1 '909a7073e3e83989d1a8c5aceba2d1a96dc262d2'
depends_on 'mumps' => :build
depends_on 'openblas' => :optional
depends_on 'asl' => :optional
@dpo
dpo / a.rb
Created October 17, 2013 22:34
cmd = (build.with? :mpi) ? 'mpirun -np 2' : ''
@dpo
dpo / a.rb
Created October 17, 2013 22:35
https://gist.github.com/7033526
@dpo
dpo / -
Created October 17, 2013 22:35
fatal: Not a git repository (or any of the parent directories): .git
mumps: stable 4.10.0
http://mumps.enseeiht.fr
/usr/local/Cellar/mumps/4.10.0 (44 files, 6.0M) *
Built from source with: --without-mpi
From: https://github.com//homebrew/commits/master/Library/Formula/mumps.rb
==> Dependencies
Build: scotch5, scalapack
Optional: openblas
==> Options
@dpo
dpo / -
Created October 19, 2013 23:17
HOMEBREW_VERSION: 0.9.5
ORIGIN: https://github.com/mxcl/homebrew
HEAD: f387641e28bc8144c2354dbc5e98a948ef77f163
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
CPU: 8-core 64-bit ivybridge
OS X: 10.8.4-x86_64
Xcode: 4.6.3
CLT: 4.6.0.0.1.1365549073
LLVM-GCC: build 2336
@dpo
dpo / a.rb
Created October 26, 2013 22:38
$ brew link --overwrite --dry-run open-mpi
Would remove:
/usr/local/include/event2/util.h -> /usr/local/Cellar/libevent/2.0.21/include/event2/util.h
/usr/local/include/event2/thread.h -> /usr/local/Cellar/libevent/2.0.21/include/event2/thread.h
/usr/local/include/event2/tag_compat.h -> /usr/local/Cellar/libevent/2.0.21/include/event2/tag_compat.h
/usr/local/include/event2/tag.h -> /usr/local/Cellar/libevent/2.0.21/include/event2/tag.h
/usr/local/include/event2/rpc_struct.h -> /usr/local/Cellar/libevent/2.0.21/include/event2/rpc_struct.h
/usr/local/include/event2/rpc_compat.h -> /usr/local/Cellar/libevent/2.0.21/include/event2/rpc_compat.h
/usr/local/include/event2/rpc.h -> /usr/local/Cellar/libevent/2.0.21/include/event2/rpc.h
/usr/local/include/event2/listener.h -> /usr/local/Cellar/libevent/2.0.21/include/event2/listener.h
@dpo
dpo / a.rb
Created October 28, 2013 17:51
/usr/local/Cellar/open-mpi/1.7.3/AUTHORS
/usr/local/Cellar/open-mpi/1.7.3/bin/mpic++
/usr/local/Cellar/open-mpi/1.7.3/bin/mpic++-vt
/usr/local/Cellar/open-mpi/1.7.3/bin/mpicc
/usr/local/Cellar/open-mpi/1.7.3/bin/mpicc-vt
/usr/local/Cellar/open-mpi/1.7.3/bin/mpicxx
/usr/local/Cellar/open-mpi/1.7.3/bin/mpicxx-vt
/usr/local/Cellar/open-mpi/1.7.3/bin/mpiexec
/usr/local/Cellar/open-mpi/1.7.3/bin/mpif77
/usr/local/Cellar/open-mpi/1.7.3/bin/mpif77-vt
@dpo
dpo / a.rb
Created November 20, 2013 14:54
$ ./configure --with-debugging=0 --with-shared-libraries=1 --prefix=/usr/local/Cellar/petsc/3.4.3/arch-darwin-c-opt
===============================================================================
Configuring PETSc to compile on your system
===============================================================================
=============================================================================== WARNING! Compiling PETSc with no debugging, this should only be done for timing and production runs. All development should
This file has been truncated, but you can view the full file.
Pushing language C
Popping language C
Pushing language CUDA
Popping language CUDA
Pushing language Cxx
Popping language Cxx
Pushing language FC
Popping language FC
================================================================================
@dpo
dpo / make.log
Created November 20, 2013 15:02
*********************W-a-r-n-i-n-g*************************
Your PETSC_DIR may not match the directory you are in
PETSC_DIR /private/tmp/petsc-3.4.3 Current directory /tmp/petsc-3.4.3
Ignore this if you are running make test
******************************************************
==========================================
See documentation/faq.html and documentation/bugreporting.html
for help with installation problems. Please send EVERYTHING
printed out below when reporting problems