![]() Remember, from above, the is set by the -prefix argument you passed to configure. ![]() Once Open MPI is installed, set your PATH environment variable to point to the /bin directory. The Open MPI build defaults have a reasonable optimization level. The -O2 optimizations provide a good level of optimization and safety for both the Intel C++ compiler and the Intel Fortran Compiler. The default optimization with the Intel Compilers, that is if NO compiler option for -O is specified, is -O2. A general rule of thumb is to use the default compiler optimizations and avoid overly aggressive optimizations. In general, MPI performance is dominated by interconnect fabric latency and to a less extent on bandwidth. Please see the Intel Compiler Documentation for appropriate options. To pass options to the compilers, the following command options to configure are supported:ĬFLAGS= arguments to pass to the C compiler ( icc)ĬXXFLAGS= arguments to pass to the C++ compiler ( icpc)įFLAGS= arguments to pass to the F77 compiler ( ifort)įCFLAGS= arguments to pass to the Fortran 90 compiler ( ifort) Specifying Intel compiler options in the configuration and build To learn all of the possible configuration options, see the help provided in the output of "./configure -help" or read the contents of the file README provided in the OpenMPI tar archive file. The configure script has a lot of possible options. However, the mixing of GNU compilers with Intel compilers has not been tested with this application. The Intel compilers are GNU compatible, thus you may mix and match the Intel compilers with GNU compilers for C++ and Fortran. Note that the Intel C++ compiler driver is named ' icpc'. The example shown above uses both the Intel C++ Compiler ( CC=icc CXX=icpc ) and the Intel Fortran Compiler (F77=ifort FC=ifort ). configure -prefix=/usr/local CC=icc CXX=icpc F77=ifort FC=ifortĪs shown above, the configure options CC, CXX, F77, and FC are used to specify which compilers are used to build Open MPI. The method to build Open MPI, open a Mac OS* Terminal window or a Linux* shell: Open MPI uses an Autoconf "configure" script to determine the build environment and tools and create the necessary build configuration. Please consult the Open MPI† website for a complete list of supported platforms and operating systems. Software: This note applies to Open MPI built on Linux (32 and 64 bit) and Mac OS* X using the 10.0 version of the Intel compilers. Hardware: This note applies to users with stand-alone computers with two or more cores or distributed-memory clusters. Obtaining evaluation versions of Intel compilers Licensed users of the Intel compilers may download the most recent versions of the compiler from the Download Center which is acce ssed by logging into your account at Registration Center. Obtaining the latest version of Intel C++ Compiler and Intel Fortran Compiler Please review their licensing and download instructions for access to this code. Open MPI is obtained from the Open MPI website. This application note demonstrates the framework for building Open MPI with the Intel compilers but does NOT claim to represent all possible configurations and variations of the build for all possible target environments. Please read all relevant documentation for your target system. The target environment for Open MPI can vary dramatically based on interconnect, adapters, node types, batch subsystem, etc. Open MPI is a standards-compliant, open-source implementation of the Message Passing Interface, a library specification for parallel processes or threads to exchange data in a parallel application. This document only covers the 10.0 versions of the Intel compilers and Open MPI 1.2. Older versions or newer versions of Open MPI may work but have not been tested. Prior versions of the Intel compilers may work as well, but have not been tested. ![]() The procedure outlined in this document are tested with the 10.0 versions of the Intel Fortran Compiler and Intel C++ compiler. This application note applies to Open MPI version 1.2, as built with the Intel® Fortran Compiler 10.0 and Intel® C++ Compiler 10.0. This guide is intended to help Intel® compiler customers build and use Open MPI* library.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |