Commit 4fbd5580 authored by Christof Schulze's avatar Christof Schulze 😎 Committed by cschulze
Browse files

[+] openblas : added module for system openblas

[*] petsc : some fixes

parent c42f4fea
Loading
Loading
Loading
Loading

openblas/0.2.14-system

0 → 100644
+41 −0
Original line number Diff line number Diff line
#%Module
#
# OpenBLAS  (System gcc-5.1)
#

set	version		0.2.14

proc ModulesHelp { } {
	global version
        puts stderr "\tSets up the environment for OpenBLAS $version (System gcc-5.1)\n"
        puts stderr "\t- PATH"
        puts stderr "\t- OPENBLAS_ROOT"
        puts stderr "\t- OPENBLAS_INCDIR"
        puts stderr "\t- OPENBLAS_LIBDIR"
        puts stderr "\t- OPENBLAS_INCLUDEDIR"
        puts stderr "\t- OPENBLAS_LIBRARYDIR"
        puts stderr "\t- LD_LIBRARY_PATH\n"
        puts stderr "\t- LD_RUN_PATH\n"
}

module-whatis   "sets up the environment for OpenBLAS $version (System gcc-5.1)"

conflict	boost

set          pkghome          /usr

setenv		OPENBLAS_ROOT       ""
setenv		OPENBLAS_BASE 	    ""
setenv		OPENBLAS_INCLUDEDIR -I$pkghome/include
setenv		OPENBLAS_LIBRARYDIR -L$pkghome/lib64/lib64/libopenblas.so
setenv		OPENBLAS_INCDIR     $pkghome/include
setenv		OPENBLAS_LIBDIR     $pkghome/lib64

#prepend-path LD_LIBRARY_PATH  $pkghome/lib
#prepend-path LD_RUN_PATH      $pkghome/lib
#prepend-path PATH             $pkghome/bin

unset        pkghome

set MSG "Boost $version (System gcc-5.1, System python-2.7)"
#source $env(MODULESHOME)/modincludes/info_logging.tcl
+1 −1
Original line number Diff line number Diff line
#%Module
#
# Petsc 3.6.2 (System gcc-5.1)
# Petsc 3.4.4 (System gcc-5.1)
#
# How to compile boost-python tutorial files: http://stackoverflow.com/questions/1569490/how-can-i-build-the-boost-python-example-on-ubuntu-9-10
#