Home My Accounts | Newsletter | News Flash | Contact Us | Search

 

Issues/Circulation
Current Issue: May 2005
Other Issues
Applications
Gaussian Parallel Performance
Amber 8 on Redwood
Mimosa Upgrade to G03 End of June
Programming
PGI Versions on Mimosa
Compiling Programs on Redwood
The Intel Debugger
The -O Intel Compiler Option
Endian Formatting on Altix
Services
MCSR in the Classroom
PBS Tutorial
Systems & Resources
Redwood Upgrade to 192 CPUs
32 New Mimosa Nodes End of June
Checking Parallel Efficiency
The MCSR Parallel-O-Gram
Using the Intel Compilers on Redwood

by Taner Pirim

The newest system of MCSR, SGI Altix 3700, named as 'Redwood', which was upgraded to 192 processors by adding 64 1.3 GHz Itanium2 processors in March 2005, is now servicing our valuable researchers throughout the state of Mississippi with its new Intel 8.0 compilers as well as Intel 7.1 compilers. After several patches, currently Intel 8.0.066 and 8.0.046 versions of Intel 8.0 compilers are available for C/C++ and Fortran, respectively. Nevertheless, for the researchers who would like to continue to use Intel 7.1 compilers rather than latest version, we kept the previous versions installed and available to compile.

Since both versions cannot be supported at the same time due to the feature of Intel compilers, the module option is needed to be used by the user. Once the module for the compiler is loaded, the LD_LIBRARY_PATH environment variable will be updated automatically by adding the library path of the compiler. For more information on how to list, load and purge the Intel compiler modules, please visit the URL http://www.mcsr.olemiss.edu/computing/intel_redwood.html. The LD_LIBRARY_PATH environment variable can be checked by simply executing the command echo $LD_LIBRARY_PATH from the command prompt. For instance if you load the Intel 8.0 Fortran and C/C++ modules, your LD_LIBRARY_PATH should include the partial path shown below:

user% echo $LD_LIBRARY_PATH
/opt/cmplrs/8.0.066/lib:/opt/cmplrs/8.0.046/lib:...

If you want to use Fortran compiler:

  • ifort -ldl myfile.f if using the 8.0 compiler, OR
  • efc myfile.f if using the 7.1 compiler.
  • With Intel compilers, the invocation syntax is the same regardless of whether your source file is F77, F90, etc. To run the compiled file, type ./a.out

    If you want to use C/C++ compiler:

  • icc -ldl myfile.c if using the 8.0 compiler, OR
  • ecc -ldl myfile.cpp if using the 7.1 compiler.
  • With Intel compilers, the invocation syntax is the same regardless of whether your source file is C or C++.

    If you don't use the 'ldl' flag, a dlopen error might be received. If you do receive an error related to "undefined reference to `for_write_seq_lis'"This will happen if you don't use the expected build of the Intel Compilers. For instance, if you try to use intel-compilers.7.1.037 when you really want intel-compilers.7.1.035. Once you load the right module, be sure to do a make clean, because the harm is done in the compile step (creating .o object files) but you don't see the error until the load step.For more questions on Intel compilers, please contact us via assist@mcsr.olemiss.edu.

    --------------------------------
    Last Modified: Thursday, 12-May-2005 16:15:19 CDT
    Copyright © 1997-2005 The Mississippi Center for Supercomputing Research. All Rights Reserved.
    [an error occurred while processing this directive]