GASPI is an API for the development of scalable, asynchronous and fault tolerant parallel
applications. GPI-2 version 1.3.0-ompi-2.0-gnu-5.2 is an implementation of the GASPI API, provided
by Fraunhofer ITWM.
The library was compiled with the Gnu Compiler 5.2 and with MPI support for Open MPI 2.0.
Tips for compilation and usage:
Your source code should contain the following preprocessor include statements
A typical compilation command for a source file example.c with the
Intel compiler mpicc is
mpicc -Wall -I$GASPI_INC_DIR -c example.c
The GASPI_INC_DIR environment variable points to location of
the include path for the gaspi header file.
GPI-2 provides two libraries: libGPI2.a and libGPI2-dbg.a.
The libGPI2.a aims at high-performance and is to be used in production
whereas the libGPI2-dbg.a provides a debug version, with extra
parameter checking and debug messages and is to be used to debug and
The following commands can be used to link the application with the
mpicc -L$GASPI_LIB_DIR -o example example.o -lGPI2 -libverbs -lm
mpicc -L$GASPI_LIB_DIR -o example example.o -lGPI2-dbg -libverbs -lm
The GASPI_LIB_DIR environment variable points to the location
of the GASPI libraries GPI-2.
In an interactive session or in a batch script the executable is
called just as is the case for an MPI program:
mpirun -n $MOAB_PROCCOUNT $GASPIBIN
GASPI examples and possible job scripts can be found at
For details on library and include dirs please call
module show lib/gaspi/1.3.0-ompi-2.0-gnu-5.2
In case of problems, please submit a trouble ticket at