Giter VIP home page Giter VIP logo

Comments (2)

stvdwtt avatar stvdwtt commented on July 24, 2024

Installation instructions from user Sumedh Yadav:

My system configuration:
Ubuntu 64-bit OS
4 GB RAM
quad core processor
Requirements for running PRISMSpf:
deal.ii-8.4.2
MPI library preferably MPICH-3.2 for small systems like mine
cmake preferably 3.X
p4est-1.1 (current development version)
Optional but recommended:
BLAS/LAPACK
Step by step installation process to avoid errors:
Install MPICH-3.2, preferably give " --prefix=/usr/local " as the installation directory during configuration ( ./configure )
Note that you shall have to proceed as root. To do so type 'sudo su' in the terminal prompt and proceed
From the website: http://www.p4est.org/, download the latest release tarball.
Archive the downloaded 'tar.gz' file as usual and open the 'INSTALL' in the root directory of the extracted p4est tar file
The installation is standard: './configure', 'make' and 'make install'. But note the following:
Do not use the 'p4est-setup.sh' script for installation given by dealii.org on the webpage http://dealii.org/8.4.1/external-libs/p4est.html. The file gives compilation errors
Now while installing it manually preferably give '--prefix=/usr/local' as an argument to './configure' and necessarily use the flag
'--enable-mpi'. It is necessary to give this flag or else your p4est installation is not recognised during deal.ii configuration
Now, download and archive the 'deal.ii-8.4.2' source code because there are issues of developmental p4est library (installed in the last step) and deal.ii-8.4.1 version and are discussed in details in the webpage https://github.com/dealii/dealii/releases
Note that you need to download the deal.ii-8.4.2 version from the website https://github.com/dealii/dealii/releases because it is not yet there on the webpage http://dealii.org/download.html
Now to install deal.ii-8.4-2 with P4est library execute the following commands from the root deal.ii-8.4.2 directory:
$ mkdir build
$ cd build
$ cmake -DP4EST_DIR=/path/to/installation/dir -DDEAL_II_WITH_P4EST=ON -DDEAL_II_WITH_MPI=ON -DCMAKE_INSTALL_PREFIX=/path/to/install/dir ..
$ make install (or preferably '$ make -j4 install' depending on the number of processors in your laptop)
Note that keep checking the 'summary.log' after configuring to see if the flags to turn on P4est and MPI worked or not
5. Clone/download the PRISMSpf repository from github: https://github.com/prisms-center/phaseField and follow the Quick start guide (also given in the website) to check if PRISMSpf is operational in your PC or not.

from phasefield.

stvdwtt avatar stvdwtt commented on July 24, 2024

Added in v1.1

from phasefield.

Related Issues (20)

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.