C/C++ Compilers on Sequoia at MCSR
Sequoia provides both Intel and GNU C compilers.
Before using the Intel C compiler, you will need to
your environment correctly. Once you have done that, you can compile by
using the following commands:
icc -o program_name program_name.c (for C)
icc -o program_name program_name.cpp (for C++)
You can get more information about using the Intel compiler by running:
To compile with GCC, run:
gcc -o program_name program_name.c (for C)
g++ -o program_name program_name.cpp (for C++)
Executing a compiled program
After compiling your program with either compiler, the program can then
be executed using the command:
Also see MPI on Sequoia.