80
M. Nakao and H. Murai
4 Creation of Execution Binary
This section describes how to create an execution binary from a code with XMP,
XACC, and OpenACC directives, and how to execute it. Note that Omni compiler
supports only C language for OpenACC.
4.1 Compile
• XMP in C language
$ xmpcc a.c
• XMP in Fortran
$ xmpf90 a.f90
• XACC in C language
$ xmpcc -xacc a.c
• XACC in Fortran
$ xmpf90 -xacc a.f90
• OpenACC in C language
$ ompcc -acc a.c
Précédent

- 87/265

Suivant