Giter VIP home page Giter VIP logo

candi's Introduction

candi (Compile & Install)

This shell script downloads, configures, builds, and installs deal.II with common dependencies on linux-based systems.

Quickstart

The following commands download the current version of the installer and then installs the latest deal.II release and common dependencies:

 git clone https://github.com/dealii/candi
 cd candi
 ./candi.sh -j2

Follow the instructions on the screen (you can abort the process by pressing < CTRL > + C)

Examples

Install deal.II on RHEL 7, CentOS 7 or Fedora 21/22:

  module load mpi/openmpi-`uname -i`
  export CC=mpicc; export CXX=mpicxx; export FC=mpif90; export FF=mpif77
  ./candi.sh

Install deal.II on ubuntu 12.04, 14.xx, 15.xx:

  export CC=mpicc; export CXX=mpicxx; export FC=mpif90; export FF=mpif77
  ./candi.sh

Install deal.II on a generic Linux cluster:

  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 (see below) and the path to BLAS and LAPACK in the configuration file (see below).

Adapting candi to your needs

Command line options

You can get a list of all options by running ./candi.sh -h

You can combine the command line options given below.

Prefix path: [-p=<PATH>], [--prefix=<PATH>]

  ./candi.sh --prefix=Your/Prefix/Path

Multiple build processes: [-j <N>], [-j<N>], [--PROCS=<N>]

  ./candi.sh -j <N>
  • Example: to use 2 build processes type ./candi.sh -j2.
  • Be careful with this option! You need to have enough system memory (e.g. at least 8GB for 2 or more processes).

Configuration file options

Edit the configuration file behind the file "candi.cfg", e.g.

  gedit candi.cfg

You can adapt several things to your personal needs here

  • 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 options.

candi's People

Contributors

koecher avatar tjhei avatar rombur avatar xywei avatar

Watchers

James Cloos avatar Thomas Conrad Clevenger avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.