GithubHelp home page GithubHelp logo

sarich / kgen Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ncar/kgen

0.0 0.0 0.0 11.33 MB

Fortran Kernel Generator

License: Other

Makefile 0.36% Fortran 64.65% Python 34.84% Shell 0.09% C 0.01% NewLisp 0.04%

kgen's Introduction

KGEN: Fortran Kernel Generator

A Python tool that extracts partial codes out of a large Fortran application and converts them into a standalone/verifiable/executable kernel

AUTHORS:Youngsung Kim and John Dennis
VERSION:0.8.0
COPYRIGHT:See the document entitled LICENSE.txt

Send questions and comments to KGEN Dev. Team ([email protected]).

Documentation

https://ncar.github.io/kgendocs
Discussion-group
https://groups.google.com/forum/#!forum/kgen-discuss

Changes from KGEN ver. 0.7.2

[ User Interface ]

  • "--invocation" option is changed from mandatory to optional
  • "--repr-etime", "--repr-papi", and "--repr-code" options are added for representative extensions
  • "--state-clean", "--state-build", and "--state-run" options are discarded.

[ Major Improvements ]

KGen measures three types of characteristics from original application and generates kernel and input data in a way to reprouce the types of characteristics in generated kernel.

Overview

  • KGEN extracts an arbitrary region of Fortran source code as a stand-alone executable software
  • In addition, it generates input & output data for executing and verifying the generated kernel
  • All KGEN-generated kernels include correctness check and timing measurement

Dependencies

  • Linux OS
  • Python (>=2.7 and < 3.0)
  • C Pre-Processor(cpp)
  • Make build tool(make)
  • System call trace tool(strace)
  • Stream Editor (sed)

Obtaining the Source Code

The latest KGEN can be obtained from the Git repository.

git clone https://github.com/NCAR/KGen.git

Building & Installation

Current KGEN does not require to build or to install.

Instructions & Use

  1. Download from KGen Github repository.

    >> git clone https://github.com/NCAR/KGen.git

  2. Try a kernel generation example in "examples/simple" directory

    >> cd examples/simple; # move to an example directory

    >> vi src/Makefile; # Modify FC if required

    >> make; # extract a kernel

    >> cd kernel; # move to a kernel directory

    >> make; # build and run a kernel

kgen's People

Contributors

amsi7193 avatar grnydawn avatar mikebentley15 avatar sarich 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.