mpicc(1)

NAME
mpicc, mpifc, mpiicc, mpiifort, mpiicpc, mpigcc, mpigxx, mpif77, mpif90 - Compiles and links MPI programs

DESCRIPTION
This commands can be used to compile and link MPI programs written in C, C++, and Fortran. They provide the options and any special libraries that are needed to compile and link MPI programs. It is important to use this command, particularly when linking programs, as it provides the necessary libraries.

COMMAND LINE ARGUMENTS
-static_mpi
    - Use this option to link the Intel(R) MPI Library statically. This option does not affect the default linkage method for other libraries.
-static
    - Use this option to link the Intel MPI Library statically. This option is passed to the compiler.
-nostrip
    - Use this option to turn off the debug information stripping while linking the Intel MPI Library statically.
-config=<name>
    - Use this option to source a compiler configuration file. The file should contain the environment settings to be used with the specified compiler.
-profile=<profile_name>
    - Use this option to specify an MPI profiling library. profile_name is the name of the configuration file (profile) that loads the corresponding profiling library. The profiles are taken from <installdir>/<arch>/etc.
-t or -trace
    - Use the \-t or \-trace option to link the resulting executable file against the Intel(R) Trace Collector library. Using this option has the same effect as the \-profile=vt option.
-trace-imbalance
    - Use the \-trace-imbalance option to link the resulting executable file against the load imbalance tracing library of Intel Trace Collector. Using this option has the same effect as the \-profile=vtim option.
-check_mpi
    - Use this option to link the resulting executable file against the Intel Trace Collector correctness checking library. Using this option has the same effect as the \-profile=vtmc option.
-ilp64
    - Use this option to enable partial ILP64 support. All integer arguments of the Intel MPI Library are treated as 64-bit values in this case.
-no_ilp64
    - Use this option to disable the ILP64 support explicitly. This option must be used in conjunction with \-i8 option of Intel(R) Fortran Compiler.
-dynamic_log
    - Use this option in combination with the \-t option to link the Intel Trace Collector library dynamically. This option does not affect the default linkage method for other libraries.
-g  - Use this option to compile a program in debug mode and link the resulting executable file against the debugging version of the Intel MPI Library.
-link_mpi=<arg>
    - Use this option to always link the specified version of the Intel MPI Library.
-O  - Use this option to enable compiler optimization.
-fast
    - Use this option to maximize speed across the entire program. This option forces static linkage method for the Intel MPI Library. This option is supported only by the mpiicc, mpiicpc, and mpiifort Intel compiler wrappers.
-echo
    - Use this option to display everything that the command script does.
-show
    - Use this option to learn how the underlying compiler is invoked, without actually running it.
-{cc,cxx,fc,f77,f90}=<compiler>
    - Use this option to select the underlying compiler.
-compchk
    - Use this option to enable compiler setup checks. In this case, each compiler driver performs checks to ensure that the appropriate underlying compiler is set up correctly.
-v  - Use this option to print the compiler wrapper script version and its underlying compiler version.

ENVIRONMENT VARIABLES
I_MPI_{CC,CXX,FC,F77,F90}_PROFILE
    - Set this environment variable to select a specific MPI profiling library to be used by default. This has the same effect as using \-profile=<profile_name> as an argument for mpiicc or another Intel MPI Library compiler wrapper.
I_MPI_TRACE_PROFILE
    - Set this environment variable to select a specific MPI profiling library to be used with the \-trace option of mpiicc or another Intel MPI Library compiler wrapper. The I_MPI_{CC,CXX,F77,F90}_PROFILE environment variable overrides I_MPI_TRACE_PROFILE
I_MPI_CHECK_PROFILE
    - Set this environment variable to select a specific MPI checking library to be used with the \-check_mpi option to mpiicc or another Intel MPI Library compiler wrapper. The I_MPI_{CC,CXX,F77,F90}_PROFILE environment variable overrides I_MPI_CHECK_PROFILE
I_MPI_CHECK_COMPILER
    - If I_MPI_CHECK_COMPILER is set to enable, the Intel MPI Library compiler wrapper checks the underlying compiler for compatibility. Normal compilation requires using a known version of the underlying compiler.
I_MPI_{CC,CXX,FC,F77,F90}
    - Set this environment variable to select a specific compiler to be used. Specify the full path to the compiler if it is not located in the search path.
I_MPI_ROOT
    - Set this environment variable to specify the installation directory of the Intel MPI Library.
VT_ROOT
    - Set this environment variable to specify the installation directory of the Intel Trace Collector.
I_MPI_COMPILER_CONFIG_DIR
    - Set this environment variable to change the default location of the compiler configuration files.
I_MPI_LINK
    - Set this variable to always link against the specified version of the Intel MPI Library.
I_MPI_DEBUG_INFO_STRIP
    - Turn on/off the debug information stripping while linking applications statically.

COPYRIGHT INFORMATION
Intel, the Intel logo are trademarks of Intel Corporation in the U.S. and other countries.

* Other names and brands may be claimed as the property of others.

(C) Intel Corporation.