Development/Intel Compiler
Navigation: bwHPC BPR |
---|
Intel
bwUniCluster currently provides Intel compiler suite versions:
- 13.1 (default)
- 12.1
To load the default compiler suite execute in your terminal session:
$ module load compiler/intel
To load your prefered version, e.g. 12.1, enter:
$ module load compiler/intel/12.1
For details about unloading or switching compiler suites, please see chapter environment modules.
Default Intel compiler suite - version 13.1
This module provides the Intel® compiler suite version 13.1.3 via commands 'icc', 'icpc' and 'ifort', the debugger 'idb' as well as the Intel® Threading Building Blocks TBB and the Integrated Performance Primitives IPP libraries (for details see also http://software.intel.com/en-us/intel-compilers/).
The related Math Kernel Library MKL module is 'numlib/mkl/11.0.5'. The related Intel MPI module is 'mpi/impi/4.1.1-intel-13.1'. The Intel icpc should work well with GNU compiler 4.7.
The compiler suite contains:
icc # Intel® C compiler icpc # Intel® C++ compiler ifort # Intel® Fortran compiler idb # Intel® debugger in GUI mode idbc # Intel® debugger in console mode
For local documentation consult the module help:
$ module help compiler/intel/13.1
or the man pages of each compiler:
$ man icc $ man icpc $ man ifort
For further online documentation visit:
For some Intel® compiler option examples, hints on how to compile 32bit code
and solutions for less common problems see the tips and troubleshooting doc under:
$INTEL_DOC_DIR/intel-compiler-tips-and-troubleshooting.txt
For details on library and include directories of this compiler suite please enter:
$ module show compiler/intel/13.1
Note that, the environment variables and commands are only available after loading this module.
GCC
bwUniCluster currently provides GNU compiler suite versions:
- 4.5
- 4.7 (default)
- 4.8
To load the default compiler suite execute in your terminal session:
$ module load compiler/gnu
To load your prefered version, e.g. 4.5, enter:
$ module load compiler/gnu/4.5
For details about unload or switching compiler suites, please see chapter environment modules.
Default GNU compiler suite - version 4.7
This module provides the GNU compiler suite version 4.7.3 via commands 'gcc', 'g++' and 'gfortran' (see also 'http://gcc.gnu.org/'). The GNU compiler has been build with gmp-4.3.2, mpfr-2.4.2 and mpc-0.8.1.
The compiler suite contains:
cpp # GNU pre processor gcc # GNU C compiler g++ # GNU C++ compiler gfortran # GNU Fortran compiler (Fortran 77, 90 and 95)
Libraries can be found under:
$GNU_LIB_DIR = /opt/bwhpc/common/compiler/gnu/4.7.3/x86_64/lib64
For local documentation consult the module help:
$ module help compiler/gnu/4.7
or the man pages of each compiler:
$ man cpp $ man gcc $ man g++ $ man gfortran
For further online documentation visit:
For details on library and include directories of this compiler suite please enter:
$ module show compiler/gnu/4.7
Please do not add the gnu compiler module to any automatic environment setup
procedure (neither to ~/.profile nor to ~/.bashrc).
Please note, that the environment variables and commands are only available after loading this module.