This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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. |