Hilfe-Text | 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.
Online-Documentation: http://www.gpi-site.com/gpi2/
Tips for compilation and usage:
Your source code should contain the following preprocessor include statements
#include <gaspi.h>
#include <mpi.h>
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
during development.
The following commands can be used to link the application with the
GASPI libraries,
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
/opt/bwhpc/common/lib/gaspi/1.3.0-ompi-2.0-gnu-5.2/examples
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
http://www.support.bwhpc-c5.de. |