Giter VIP home page Giter VIP logo

twopi's Introduction

TwoPi

TwoPi (stands for (p)iScope/(P)etra-M) is a package installer for piScope/Petra-M. It is made from the collection of install scripts to configure various libraries in a coherent way to run Petra-M simulation.

Usage

Enviromental Variables

Following variables are used in TwoPi internally

 export TwoPiDevice=linux #DockerDebian, MITengaging, cori, brew,,,)
 export [email protected]:piScope  # repo for piScope/Petra-M modules
 export TwoPiRoot=/usr/local/twopi       # install location

To use piScope/PetraM, one needs to edit PATH and PYTHONPATH.

 # add bin and python path
 export PetraM=$TwoPiRoot
 export PATH=$TwoPiRoot/bin:$PATH        
 export PYTHONPATH=$TwoPiRoot/lib/python2.7/site-packages:$PYTHONPATH

Install packages

bin/twopi is the front-end command.

bin/twopi <action> <component> <optional argments>

action:
   clone : download source file or perform git pull
   build : build a component from source
   clean : clean working directory
           (typically, make clean or rm -rf cmbuild is called)
   install: do above three together
   
component (dependency):
   SWIG :
   	install swig 3.0.12
   hypre :
        install hypre 2.11.2 (shared library)
   metis : 
        install metis 5.1.0 (shared library)
   parmetis : 
        install parmetis 4.0.3 (shared library)
   OpenCascade :
        install OOC 7.2.0
   gmsh:
        install gmsh 3.0.6
   MUMPS (metis, parmetis):
        install MUMSP 5.1.2
	Metis/ParMetis BLR OpenMP MPI
   scotch:
        Both static and shared library is installed
   strumpack (scotch, metis, parmetis):
        install Strumpack 2.2.0
	ParMetis, Scotch are on
   mfem (metis, hypre):
        mfems install serial
        mfemp install parallel
	
        optional argments:
           -s: build PyMFEM serial (mfem.ser)
	   -p: build PyMFEM parallel (mfem.par)

           By default, twopi will use Boost and MPI include/link
	   path found by CMAKE. Following argument can be used
	   to overwrite these paths
   	      -boost_root, -boost_inc, -boost_lib,
	      -mpi_root, -mpi_inc, -mpi_lib


   PyMFEM:

   PetraM_Base:
   PetraM_RF:
   PetraM_Geom:
   PetraM_Driver:         

twopi's People

Contributors

sshiraiwa 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.