Skip to content

Commit 64d5078

Browse files
committed
Update install instructions
1 parent ed69430 commit 64d5078

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

INSTALL

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -41,26 +41,27 @@ AMPE requires the third-party packages hypre, Sundials and SAMRAI. These
4141
libaries are typically not pre-installed on most systems and need to be
4242
installed.
4343

44-
SAMRAI: compatible with version 4.0.0 or later, built without Sundials.
44+
SAMRAI: compatible with version 4.1.0 or later, built without Sundials.
4545
Sundials: compatible with version 5.4.0 or later.
4646

47-
To build SAMRAI4.0.0, do something similar to this:
47+
To build SAMRAI4.1.0, do something similar to this:
4848
--------------------------------------------------
4949

5050
Download SAMRAI release from
5151
https://computing.llnl.gov/projects/samrai/software#download
5252
(includes BLT)
5353

54-
gunzip SAMRAI-v4.0.0.tar.gz
54+
gunzip SAMRAI-v4.1.0.tar.gz
5555
cat SAMRAI-v4.0.0.tar|tar -xpf -
56-
mv SAMRAI SAMRAI-v4.0.0
56+
mv SAMRAI SAMRAI-v4.1.0
5757

58-
cd SAMRAI-v4.0.0
58+
cd SAMRAI-v4.1.0
5959
mkdir build
6060
cd build
61-
cmake -DCMAKE_CXX_COMPILER=mpiCC -DCMAKE_Fortran_COMPILER=mpif77 \
61+
cmake -DCMAKE_BUILD_TYPE=Release \
62+
-DCMAKE_CXX_COMPILER=mpiCC -DCMAKE_Fortran_COMPILER=mpif77 \
6263
-DHDF5_DIR=$HDF5_DIR -DHYPRE_DIR=$HOME/hypre/gnu-cpu \
63-
-DCMAKE_INSTALL_PREFIX=/home/q8j/SAMRAI/SAMRAI-v4.0.0 ..
64+
-DCMAKE_INSTALL_PREFIX=/home/q8j/SAMRAI/SAMRAI-v4.1.0 ..
6465

6566
make
6667
make install

0 commit comments

Comments
 (0)