MCSR_logo.jpg (56K)
Home My MCSR Supercomputers Software Research Education
Login
Quick Links:

FAQs
Minicamp
Chemistry
insideHPC Blog
Current Jobs
Job History
Mathematica
Training
News
Contact Us

C/C++ Compilers on Sequoia at MCSR

Sequoia provides both Intel and GNU C compilers.

Intel Compiler

Before using the Intel C compiler, you will need to setup 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:
icc --help

GNU Compiler

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:
./program_name

Also see MPI on Sequoia.


Last Modified:April 13, 2012 11:41:27.   Copyright © 1997-2012 The Mississippi Center for Supercomputing Research. All Rights Reserved.   The University of Mississippi
Valid RSS