Skip to content

Instantly share code, notes, and snippets.

View davydden's full-sized avatar

Denis Davydov davydden

  • Nuremberg, Germany
View GitHub Profile
@davydden
davydden / trilinos.rb
Last active August 29, 2015 14:08 — forked from dpo/swig208.rb
require 'formula'
class Trilinos < Formula
homepage 'http://trilinos.sandia.gov'
url 'http://trilinos.sandia.gov/download/files/trilinos-11.10.2-Source.tar.gz'
sha1 'f7442cef35c4dea4f3535e0859deda88f68e72fc'
head 'https://software.sandia.gov/trilinos/repositories/publicTrilinos', :using => :git
option "with-teko", "Enable the Teko secondary-stable package"
option "with-shylu", "Enable the ShyLU experimental package"
program test
implicit none
integer, parameter :: dp = kind(1.0d0)
real(dp), external :: ddot
real, external :: sdot
real, dimension(3) :: a,b
real(dp), dimension(3) :: d,e
integer :: i
diff --git a/Makefile.fip b/Makefile.fip
index b59c419..0aee6e0 100644
--- a/Makefile.fip
+++ b/Makefile.fip
@@ -5,8 +5,9 @@ include fipMakefile.srcs
# General configuration variables:
DESTDIR ?= /
-INCDIR ?= $(DESTDIR)/usr/include
-INSTALLDIR ?= $(DESTDIR)/usr/lib
@davydden
davydden / install_dealii_via_Spack.sh
Last active March 13, 2017 10:05
bash script to install deal.II via Spack on different platforms
#!/usr/bin/env bash
# -----------------------------------------------------------------
# DISCLAIMER
# Adapted from http://michal.kosmulski.org/computing/shell-scripts/
# -----------------------------------------------------------------
# This script come without warranty of any kind.
# You use it at your own risk.
# We assume no liability for the accuracy, correctness, completeness, or usefulness of this script, nor for any sort of damages that using it may cause.