Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Kirill Terekhov
INMOST
Commits
12311436
Commit
12311436
authored
Jan 20, 2015
by
Alexander Danilov
Browse files
Update README
Move installation guide from README to wiki pages.
parent
f88d197a
Changes
1
Hide whitespace changes
Inline
Side-by-side
README
View file @
12311436
...
...
@@ -6,53 +6,7 @@ A toolkit for distributed mathematical modeling
Install Guide
=============
First define the folder where you want to install INMOST and other optional libraries.
export INMOST_LIBS="/home/user/inmost-libs"
If it doesn't already exist, create this directory:
mkdir -p "$INMOST_LIBS"
PETSc
-----
PETSc can install a lot of other dependencies as well.
The following instructions assume that MPI is already installed and functional. You can use option --download-openmpi to install MPI with PETSc.
These steps can take some time
cd "$INMOST_LIBS"
wget http://ftp.mcs.anl.gov/pub/petsc/release-snapshots/petsc-3.4.5.tar.gz
tar zxf petsc-3.4.5.tar.gz
rm -f petsc-3.4.5.tar.gz
cd petsc-3.4.5
export PETSC_DIR="`pwd`"
export PETSC_ARCH=linux-gnu-opt
./configure --download-f-blas-lapack --download-metis --download-parmetis --useThreads=0 --with-debugging=0 --with-mpi-dir=/usr --with-x=0 --with-shared-libraries=0
make all
INMOST
------
Download and unpack INMOST source archive.
cd "$INMOST_LIBS"
wget https://github.com/INM-RAS/INMOST/archive/master.tar.gz
tar zxf master.tar.gz
rm -f INMOST-master.tar.gz
We will create separate directory for INMOST compilation.
mkdir -p INMOST-build
cd INMOST-build
cmake -DUSE_AUTODIFF=OFF -DUSE_SOLVER_PETSC=ON -DUSE_PARTITIONER=OFF -DCOMPILE_EXAMPLES=ON ../INMOST-master
make
Refer to https://github.com/INMOST-DEV/INMOST/wiki/0100-Compilation
Examples
========
...
...
@@ -66,7 +20,6 @@ Parallel Grid Generation
This example creates simple cubic or prismatic mesh. You can use ParaView to view the meshes.
cd "$INMOST_LIBS/INMOST-build"
cd examples/GridGen
mpirun -np 4 ./GridGen 4 32 32 32
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment