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

Intel Compilers on Redwood at MCSR

Several versions/builds of Intel compilers are available on redwood. To compile, you must first pick which compiler version module you want to load, then load it. Before you can use the module command, you must source the correct setup file for your shell. (You may want to do this in your .login or .profile file in your home directory, so that you won't have to type it each time you log in.)

. /usr/share/modules/init/sh (if using sh) (There should be a space between . and /opt), OR
. /usr/share/modules/init/ksh (if using ksh) (There should be a space between . and /opt) OR
. /usr/share/modules/init/bash (if using bash) (There should be a space between . and /opt) OR
source /usr/share/modules/init/csh (if using csh) OR
source /usr/share/modules/init/tcsh (if using tcsh)

Then you use the module command:

module list (to see if any other versions of compiler modules are loaded)
module purge (to unload any other versions of compiler modules)
module list (to verify that other versions were successfully unloaded)
module avail (to see what versions of compiler modules are available to load)

For example, to load the 8.0.0666 version of the C Compilers:

module load intel-compilers.8.0.066
module list

Or, to load the latest 9.1 version of the Fortran and C/C++ Compilers:

module load c91
module load f91
module list

These are the names of the modules and the compiler versions they correspond to:
intel-compilers.7.1.034 for c 7.1
intel-compilers.7.1.037 for fortran 7.1
intel-compilers.8.0.044 for c 8.0
intel-compilers.8.0.042 for fortran 8.0
intel-compilers.8.0.066 for c 8.0
intel-compilers.8.0.046 for fortran 8.0
intel-compilers.9.0.026 for c 9.0
intel-compilers.9.0.027 for fortran 9.0
intel-compilers.9.1.041 for c 9.1
intel-compilers.9.1.046 for fortran 9.1


Last Modified:October 16, 2007 13:23:56.   Copyright © 1997-2012 The Mississippi Center for Supercomputing Research. All Rights Reserved.   The University of Mississippi
Valid RSS