Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/omni-compiler/omni-compiler

Omni Compiler for C and Fortran programs with XcalableMP and OpenACC directives
https://github.com/omni-compiler/omni-compiler

Last synced: 3 months ago
JSON representation

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

Awesome Lists containing this project

README

        

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