omni-compiler / omni-compiler

Omni Compiler for C and Fortran programs with XcalableMP and OpenACC directives

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

README

Manual

See http://omni-compiler.org/manual.html


Implementation Status

Some features in the language specification are not supported in this release. (You can download the specification of XMP from "http://xcalablemp.org")

See docs/STATUS-XMP.md, docs/STATUS-CAF.md, and docs/STATUS-ACC.md


Quick Reference for XMP

How to install

Please visit Official site (http://omni-compiler.org).
   or
run the following command.
$ git clone --recursive https://github.com/omni-compiler/omni-compiler.git

How to install

$ ./configure --prefix=(INSTALL PATH)
$ make
$ make install
$ export PATH=(INSTALL PATH)/bin:$PATH

Compile

$ xmpcc  -O2 test.c   -o test
$ xmpf90 -O2 test.f90 -o test

Execute

$ mpirun -np 4 ./test

Quick Reference for OpenACC and OpenMP(task offload)

How to install

$ ./configure --prefix=(INSTALL PATH) --enable-openacc --with-cuda=(CUDA PATH) --with-gpu-cflags="-arch=sm_35 -O2"
$ make
$ make install
$ export PATH=(INSTALL PATH)/bin:$PATH

Compile

OpenACC
$ ompcc -acc -O2 test.c -o test --device=Kepler
OpenMP(task offload)
$ ompcc -O2 test.c -o test --device=Kepler

Execute

$ ./test

About

Omni Compiler for C and Fortran programs with XcalableMP and OpenACC directives

License:GNU Lesser General Public License v3.0


Languages

Language:C 53.2%Language:Java 26.2%Language:Fortran 15.0%Language:Shell 2.9%Language:Makefile 1.8%Language:Cuda 0.4%Language:C++ 0.4%Language:Python 0.1%Language:Perl 0.1%Language:Assembly 0.0%Language:HTML 0.0%