-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
John Foster
committed
Jul 17, 2014
1 parent
eb20c71
commit 5f8f63e
Showing
1 changed file
with
14 additions
and
11 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,20 +4,23 @@ MAINTAINER John Foster <[email protected]> | |
|
||
ENV HOME /root | ||
|
||
RUN apt-get -yq install gfortran python | ||
RUN apt-get -yq install libblas-dev liblapack-dev | ||
RUN apt-get -yq install libboost-dev | ||
RUN apt-get -yq install libopenmpi-dev | ||
RUN apt-get -yq install cmake | ||
RUN apt-get -yq install g++ \ | ||
gfortran \ | ||
python \ | ||
libblas-dev \ | ||
liblapack-dev \ | ||
libboost-dev \ | ||
libopenmpi-dev \ | ||
cmake | ||
|
||
#Build Trilinos | ||
RUN wget http://trilinos.sandia.gov/download/files/trilinos-11.8.1-Source.tar.bz2;\ | ||
tar xjvf trilinos-11.8.1-Source.tar.bz2;\ | ||
RUN wget http://trilinos.sandia.gov/download/files/trilinos-11.8.1-Source.tar.bz2; \ | ||
tar xjvf trilinos-11.8.1-Source.tar.bz2; \ | ||
mkdir trilinos-11.8.1-Source/build | ||
ADD trilinos-debian-cmake.sh /trilinos-11.8.1-Source/build/trilinos-debian-cmake.sh | ||
RUN cd trilinos-11.8.1-Source/build;\ | ||
./trilinos-debian-cmake.sh;\ | ||
make && make install;\ | ||
cd ../..;\ | ||
RUN cd trilinos-11.8.1-Source/build; \ | ||
./trilinos-debian-cmake.sh; \ | ||
make && make install; \ | ||
cd ../..; \ | ||
rm -rf trilinos-11.8.1-Source trilinos-11.8.1-Source.tar.bz2 | ||
|