KeckII

General Info
KeckII System News and Updates
Fees for use of the facility
Obtaining an Account
Reserving the KeckII center
Virtual tour
Support
Publications

Resources For Users
Cluster status
FAQ
HOW-TOs
Hardware
Software
Policies

Site Search:

UCSD
 

Compilers How-To


The GNU C/C++/F77 compilers are installed on all KeckII workstations (SUN, SGI and Linux platforms). In addition to this, native compilers are also available for all KeckII platforms.

Linux

In addition to the GNU compilers, high performance Intel C/C++/F90/F95 compilers have been installed on the cluster front-end (erikson) and on livingstone. This also includes the Intel Linux Debugger (LDB).

To use the compilers, source this file:

source /soft/linux/pkg/intel/compiler91/bin/iccvars.csh

and modify your Makefiles to use icc or ifort as the C/C++ and F90 compilers, respectively.

Note: you must also source this file before running your compiled executable (if using Intel's shared library) as it sets up the necessary environment.

Documentation for the Intel compilers, debugger and libraries can be found in /soft/linux/pkg/intel/compiler91/docs. Please read license information in this directory before using the compilers.

SUN

Sun Studio 11 software, a set of compilers and tools for the C, C++ and Fortran developer has been installed on cabrillo and cabot. Tha package is installed in /soft/sun/pkg/SunStudio-11/SUNWspro/bin.

Older Compiler suite
The Forte Developer 6 suite of SUN compilers is installed on cabot and cabrillo in /opt/SUNWspro. This includes cc/CC/f77/f95 compilers, performace analyzer and debugger. For more information please see /opt/SUNWspro/READMEs.

Note: If you are compiling 32-bit binary (this is the default, to select 64-bit use -xarch=v9 or -xarch=v9a options, see cc/f77 man pages) it is recommended to use memory alignment switch -xmemalign to prevent core dumps.

For comparison of running 32bit vs. 64bit code on Solaris see Solaris 64-bit Developers's Guide or (local copy).



Please direct any questions or comments to keck-help @ keck2.ucsd.edu
Last modified: July 24 2006 09:51:36 pm.