SWIG

About

SWIG is a software development tool that connects programs written in C and C++ with a variety of high-level programming languages. SWIG is used with different types of target languages including common scripting languages such as Javascript, Perl, PHP, Python, Tcl and Ruby.

Note

We use SWIG to support projects that require Lua.

Supported versions

To check which SWIG versions and build types are currently supported on Discoverer, execute on the login node:

module avail swig

The recipe followed to build the source code is available at:

https://gitlab.discoverer.bg/vkolev/recipes/-/tree/main/swig

Loading/Compiler affinity

To obtain access to the latest SWIG version load the environment module that matches your compiler requirements:

Intel oneAPI build

module load swig/latest-intel

NVIDIA HPC SDK build

module load swig/latest-nvidia

LLVM build

module load swig/latest-llvm

AMD AOCC build

module load swig/latest-aocc

GNU GCC build

module load swig/latest-gcc

Getting help

See Getting help