<?xml version="1.0"?>
<!DOCTYPE flagsdescription
   SYSTEM "http://www.spec.org/dtd/cpuflags1.dtd"
>

<flagsdescription>
<!--
   <filename>SMC_flags_file</filename>
-->
   <title>Scali MPI Connect SPEC MPI2007 Flag Description</title>

   <style>
      <![CDATA[
         body { background: white; }
      ]]>
   </style>
	
<!-- HEADERs -->

   <header>
      <![CDATA[
         <p><h3>MPI: Scali MPI Connect</h3></p>
         <hr />
      ]]>
   </header>

   <header class="compiler">
    <![CDATA[
       <p>HEADER for COMPILER</p>
    ]]>
   </header>
	
   <header class="portability">
      <![CDATA[
         <p>HEADER for PORTABILITY</p>
      ]]>
   </header>

   <header class="optimization">
      <![CDATA[
         <p>HEADER for OPTIMIZATION</p>
      ]]>
   </header>
	
    <header class="other">
      <![CDATA[
         <p>HEADER for OTHER</p>
      ]]>
   </header>
	
<!-- /HEADERs -->

<!-- COMPILER -->

   <flag name="F-path-to-mpicc-cc" class="compiler"
        regexp=".*/mpi[cC][cC] +\-ccl (pathcc|pathCC|icc|gcc|pgcc|icpc)">
       <example>/opt/scali/bin/mpicc -ccl pathcc</example>
      <![CDATA[
         MPI wrapper script for C and C++ compilers.
         The wrapper script provides all the needed include directories and
         libraries needed to compile programs for MPI.</p>
      ]]>
   </flag>

   <flag name="F-path-to-mpicxx-CC" class="compiler"
        regexp=".*/mpicxx +\-ccl (pathCC|icpc|g\+\+|pgCC)">
       <example>/opt/scali/bin/mpicxx -ccl pathCC</example>
      <![CDATA[
         MPI wrapper script for a C++ compiler.
         The wrapper script provides all the needed include directories and
         libraries needed to compile programs for MPI.</p>
      ]]>
   </flag>

   <flag name="F-path-to-mpif90-f90" class="compiler"
        regexp=".*/mpif90 +\-ccl (pathf90|ifort|pgf90|pathf95|pgf95)">
       <example>/opt/scali/bin/mpif90 -f90=pathf90</example>
      <![CDATA[
         MPI wrapper script for a FORTRAN compiler.
         The wrapper script provides all the needed include directories and
         libraries needed to compile FORTRAN programs for MPI.</p>
      ]]>
   </flag>

   <flag name="F-path-to-mpif77-f90" class="compiler"
        regexp=".*/mpif77 +\-ccl (pathf90|ifort|pgf90|pathf95|pgf95)">
       <example>/opt/scali/bin/mpif77 -ccl pathf90</example>
      <![CDATA[
         MPI wrapper script for a FORTRAN compiler.
         The wrapper script provides all the needed include directories and
         libraries needed to compile FORTRAN programs for MPI.</p>
      ]]>
   </flag>

<!-- /COMPILER -->

<!-- OTHER -->

   <flag name="F-IPA:max_jobs" class="other"
         regexp="-IPA:max_jobs=(\d+)">
      <example>-IPA:max_jobs</example>
      <![CDATA[
         <p>-IPA:max_jobs=N : This option limits the maximum parallelism when invoking the compiler
        after  IPA to (at most) N compilations running at once. The option can
        take the following values:</p>

         <p>0 = The parallelism chosen is equal to either the number of CPUs,
            the number of cores, or the number of hyperthreading units in the
            compiling system, whichever is greatest.</p>

         <p>1 = Disable parallelization during compilation (default)</p>

         <p>>1 = Specifically set the degree of parallelism</p>

      ]]>
   </flag>


<!-- /OTHER -->

</flagsdescription>
