The Simplified Wrapper and Interface Generator connects programs written in C or C++ with high-level languages.
To see what versions of SWIG are available type
module avail swig
To see what other modules are needed, what commands are available and how to get additional help type
module help swig
To use SWIG, include a command like this in your batch script or interactive session to load the swig module:
module load swig
Be sure you also load any other modules needed, as listed by the
module help swig command.