The candi.sh
shell script downloads, configures, builds, and installs deal.II
with common dependencies on linux-based systems.
The following commands download the current version of the installer and then install the latest deal.II release and common dependencies:
git clone https://github.com/dealii/candi
cd candi
./candi.sh
Follow the instructions on the screen (you can abort the process by pressing < CTRL > + C)
module load mpi/openmpi-`uname -i`
export CC=mpicc; export CXX=mpicxx; export FC=mpif90; export FF=mpif77
./candi.sh
export CC=mpicc; export CXX=mpicxx; export FC=mpif90; export FF=mpif77
./candi.sh
export CC=mpicc, export CXX=mpicxx; export FC=mpif90; export FF=mpif77
./candi.sh --platform=./deal.II-toolchain/platforms/supported/linux_cluster.platform
Note that you probably also want to change the prefix path, or
the path to BLAS
and LAPACK
in the configuration file
(see documentation below).
You can get a list of all command line options by running
./candi.sh -h
You can combine the command line options given below.
./candi.sh --prefix=Your/Prefix/Path
./candi.sh -j <N>
- Example: to use 2 build processes type
./candi.sh -j 2
. - Be careful with this option! You need to have enough system memory (e.g. at least 8GB for 2 or more processes).
If you want to change the set of packages to be installed,
you can enable or disable a package in the configuration file
candi.cfg
.
This file is a simple text file and can be changed with any text editor.
Currently, we provide the packages
- trilinos
- petsc, slepc
- superlu_dist (to be used with trilinos)
- p4est
- hdf5
- opencascade
for instance.
There are several other options within the configuration file, e.g.
- the
DOWNLOAD_PATH
folder (can be safely removed after installation), - the
UNPACK_PATH
folder of the downloaded packages (can be safely removed after installation), - the
BUILD_PATH
folder (can be safely removed after installation), - the
INSTALL_PATH
destination folder,
and more.
If you prefer to install only a single package, you can do so by
./candi.sh --packages="dealii"
for instance, or a set of packages by
./candi.sh --packages="opencascade petsc"
Our installer provides a software developer mode by setting
DEVELOPER_MODE=ON
within candi.cfg
.
More precisely, the developer mode skips the package fetch
and unpack
,
everything else (package configuration, building and installation) is done
as before.
Note that you need to have a previous run of candi and
you must not remove the UNPACK_PATH
directory.
Then you can modify source files in UNPACK_PATH
of a package and
run candi again.
candi's People
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.