4.1. Introduction

This chapter describes the set of OmpSs-2 runtime library routines available while executing an OmpSs-2 program. Programmers must guarantee the correctness of compiling and linking programs withouth OmpSs-2 support by the use of the conditional compilation mechanism (see Conditional compilation section).

For each library routine we provide a short description of the C/C++ and Fortran formats respectively. C/C++ routines are provided through “C” linkage and prototypes are declared in a header file named oss.h. Fortran routines are external procedures and interface declarations should be included through the oss_lib module.