Code Monkey home page Code Monkey logo

Comments (1)

murci3lag0 avatar murci3lag0 commented on July 30, 2024

To clear some of the nomenclature:

Let's call $IPICHOME the directory were the code sources are located. This should be a clone of the GitHub repository. In such case the CMake configuration file will be $IPICHOME/CMakeLists.txt

Now, let's call $IPICTARGET the directory where the user wants to build the code. Why is it different than the 'home' directory? Because, sometimes we need to compile the code in different locations, for example when using a cluster the runs would be performed in the 'scratch' disks instead of the 'home' disks. This is called out of source build.

To compile the code should be done:

cd $IPICTARGET
ccmake $IPICHOME
make

ccmake will allow to select some compilation options, like parallel HDF5 compilation, MIC compilation or coupling with BATS-R-US.

The make command will create the $IPICTARGET/lib directory containing the compilation of the library, and the $IPICTARGET/exec directory containing the binary executable file and all the required files to perform a simulation as presented by @alecjohnson.

from ipic3d.

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.