Git Product home page Git Product logo

lkampoli / pencil-code Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pencil-code/pencil-code

0.0 1.0 0.0 321.33 MB

A high-order finite-difference code for compressible hydrodynamic flows with magnetic fields and particles

Home Page: http://pencil-code.nordita.org

Perl 2.34% Shell 1.26% Python 5.06% Makefile 0.95% Fortran 70.51% IDL 5.72% C 0.45% C++ 0.33% Prolog 1.16% Julia 0.11% CSS 0.01% HTML 0.11% TeX 0.02% Jupyter Notebook 9.84% Cuda 2.08% CMake 0.03% sed 0.02% Assembly 0.01% Cython 0.01%

pencil-code's Introduction

The Pencil Code

The Pencil Code moved to GitHub on 19 April 2015. It was previously hosted at Google Code.

In order to checkout the code with Subversion, use the command

svn checkout https://github.com/pencil-code/pencil-code/trunk pencil-code --username <github-username>

where <github-username> is your GitHub username.

To get started, run one of the samples:

unix>  cd pencil-code
unix>  source sourceme.csh  [or . sourceme.sh]
unix>  cd samples/conv-slab
unix>  mkdir data

To set up the symbolic links and compile the code:

unix>  pc_setupsrc
unix>  pc_build  [ -f /path/to/config/file.conf ]

To create the initial condition and run the code:

unix>  pc_start  [ -f /path/to/config/file.conf ]
unix>  pc_run    [ -f /path/to/config/file.conf ]

See pencil-code/config/hosts/*/*.conf for sample config files. For more details, see the manual in the doc/ directory (also available here).


If you are using bash and you do not want to "source sourceme.sh" on each session, you can insert the following into your .bashrc and/or .bash_profile:

export PENCIL_HOME=$HOME/pencil-code  [or wherever you have the code]
_sourceme_quiet=1; . $PENCIL_HOME/sourceme.sh; unset _sourceme_quiet

If you are using csh insert the following into your .cshrc:

setenv PENCIL_HOME $HOME/pencil-code  [or wherever you have the code]
source $PENCIL_HOME/sourceme.csh

Documentation

List of Contributors

  • Around 100 people have contributed to various extent during the nearly 20 years of Pencil Code history.
  • The current list of contributors shows the temporal check-in activity of the those who stayed connected with the code over the various host changes (Nordita 2001-2007, Google Code 2007-2015, and Github since 2015). Some additional contributors are also listed in the manual.

How to contribute to the Pencil Code

  • For all changes to the code, make sure the auto-test still runs

  • If you have write access: check in your changes and make sure you can fix possible problems emerging on travis-ci.com as well as the minutely, hourly, and daily auto-tests.

  • If you have only read access: fork this repository and use pull requests to contribute.

Code of Conduct

License

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.