File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -41,26 +41,27 @@ AMPE requires the third-party packages hypre, Sundials and SAMRAI. These
41
41
libaries are typically not pre-installed on most systems and need to be
42
42
installed.
43
43
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.
45
45
Sundials: compatible with version 5.4.0 or later.
46
46
47
- To build SAMRAI4.0 .0, do something similar to this:
47
+ To build SAMRAI4.1 .0, do something similar to this:
48
48
--------------------------------------------------
49
49
50
50
Download SAMRAI release from
51
51
https://computing.llnl.gov/projects/samrai/software#download
52
52
(includes BLT)
53
53
54
- gunzip SAMRAI-v4.0 .0.tar.gz
54
+ gunzip SAMRAI-v4.1 .0.tar.gz
55
55
cat SAMRAI-v4.0.0.tar|tar -xpf -
56
- mv SAMRAI SAMRAI-v4.0 .0
56
+ mv SAMRAI SAMRAI-v4.1 .0
57
57
58
- cd SAMRAI-v4.0 .0
58
+ cd SAMRAI-v4.1 .0
59
59
mkdir build
60
60
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 \
62
63
-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 ..
64
65
65
66
make
66
67
make install
You can’t perform that action at this time.
0 commit comments