GithubHelp home page GithubHelp logo

zhugeyicixin / rmg-java Goto Github PK

View Code? Open in Web Editor NEW

This project forked from reactionmechanismgenerator/rmg-java

0.0 1.0 0.0 22.25 MB

The Java version of RMG: Reaction Mechanism Generator

Home Page: http://rmg.sourceforge.net/

License: MIT License

Shell 15.74% Python 5.08% MATLAB 0.11% Fortran 37.71% Java 41.20% Perl 0.02% JavaScript 0.02% CSS 0.13%

rmg-java's Introduction

RMG - Reaction Mechanism Generator

https://github.com/GreenGroup/RMG-Java/raw/master/web/source/_static/rmg_logo.png

RMG is an automatic chemical reaction mechanism generator that constructs kinetic models composed of elementary chemical reaction steps using a general understanding of how molecules react.

The easiest way to get started on Windows is to download the complete installer package from over at http://rmg.sourceforge.net/, and read the documentation that's also hosted there. If you want to use the cutting-edge development version that is hosted here at GitHub, then you'll have to compile it yourself.

Compiling from source

Windows

You will need the Java Development Kit (JDK), the BLAS and LAPACK libraries, and Apache ant. You will also need a Fortran compiler, such as g95 or gfortran from MinGW.

Once you've cloned the repository, you must set the RMG environment variable to the location of your checked out copy. We recommend a path like C:\RMG, with no spaces and outside of any folders Windows places administrative restrictions on (e.g. C:\Program Files). You may also need to set environment variables for Java and ant. Once this is done, simply run the make.bat file in the top-level directory to build the Fortran codes, then ant jar from a command prompt to build the Java code.

More information is available in the documentation.

Linux

You will need the Java Development Kit (JDK), the BLAS and LAPACK libraries, GNU make, Apache ant, and a Fortran compiler (e.g. gfortran). Many popular Linux distributions either come with these already installed or provide them in their regular software package repositories.

The quick-start instructions in full:

$ git clone git://github.com/GreenGroup/RMG-Java.git
$ cd RMG-Java
$ make
$ make test
$ echo "export RMG=`pwd`" >> ~/.bashrc

For more, refer to the documentation.

Mac

You will need the Java compiler, Apache ant, and GNU Make, but these are all provided by MacOS. If you're missing these developer tools you can download them from Apple. You will also need a Fortran compiler. We recommend gfortran, but g95 can be used if you add the option F90=g95 to the make command. On MacOS X 10.6 (Snow Leopard) the gfortran compiler flags can be optimized with the make option MACOS=true. One nice way to get gfortran is to install homebrew then then type brew install gfortran.

The quick-start instructions in full:

$ git clone git://github.com/GreenGroup/RMG-Java.git
$ cd RMG-Java
$ make MACOS=true
$ make test
$ echo "export RMG=`pwd`" >> ~/.bashrc

For more, refer to the documentation.

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.