Skip to content

Commit

Permalink
Add spkg-install
Browse files Browse the repository at this point in the history
  • Loading branch information
certik committed Oct 22, 2012
1 parent 5776472 commit fc73c11
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions spkg-install
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#! /bin/sh

if [ "$SPKG_LOCAL" = "" ]; then
echo "SPKG_LOCAL undefined ... exiting";
echo "Maybe run 'qsnake --shell'?"
exit 1
fi

set -e

./configure \
--prefix="$SPKG_LOCAL" \
--with-blas-lapack-dir="$SPKG_LOCAL/lib" \
--with-shared-libraries=1 \
--with-debugging=0 \
--with-c2html=0 \
--with-cc=mpicc \
--with-fc=mpif90

make
make install

0 comments on commit fc73c11

Please sign in to comment.