<div dir="ltr">Rick,<div><br></div><div style>Can you try using -D arguments with the correct syntax and see if that works?</div><div style><br></div><div style>cmake documentation states the following:</div><div style><br>
</div><div style><div>      -D &lt;var&gt;:&lt;type&gt;=&lt;value&gt;     = Create a cmake cache entry.</div><div><br></div></div><div>Ensure that you pass each of the -D arguments correctly with &quot;:type&quot; suffix. You can identify the type for the variables by running ccmake once and then looking at the generated CMakeCache.txt. Also, try quoting the arguments with spaces in them, namely <span style="font-family:Arial;font-size:13px">MPI_*_LIBRARIES variables.</span></div>
<div><br></div><div>Utkarsh<br><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jun 12, 2013 at 11:23 AM, Angelini, Richard C (Rick) CIV USARMY ARL (US) <span dir="ltr">&lt;<a href="mailto:richard.c.angelini.civ@mail.mil" target="_blank">richard.c.angelini.civ@mail.mil</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">




<div>
<div style="direction:ltr;font-size:10pt;font-family:Arial">I&#39;m trying to pass some MPI-related flags through the Superbuild cmake.  These flags need to get passed down to the actual Paraview source cmake, but they don&#39;t seem to getting included.  
 If I run ccmake I can see that the flags have not been set - and if I manually add the flags at that time, the build proceeds.    
<br>
<br>
(I&#39;m talking about the MPI_xx) flags being passed via the cmake command line)   I&#39;m using cmake 2.8.11<br>
<br>
<br>
cmake -DCMAKE_INSTALL_PREFIX:PATH=/home/angel/pv-test/${version}_mesa \<br>
-Ddownload_location=`pwd`/../Downloads \<br>
-DParaView_FROM_GIT=OFF \<br>
-DParaView_URL=`pwd`/../Downloads/ParaView-4.0.0-RC3-source.tar.gz \<br>
-DCMAKE_BUILD_TYPE=Release \<br>
-DENABLE_boost=ON \<br>
-DENABLE_cgns=ON \<br>
-DENABLE_ffmpeg=ON \<br>
-DENABLE_hdf5=ON \<br>
-DENABLE_matplotlib=ON \<br>
-DENABLE_mesa=ON \<br>
-DENABLE_osmesa=OFF \<br>
-DENABLE_mpi=ON \<br>
-DENABLE_numpy=ON \<br>
-DENABLE_paraview=ON \<br>
-DENABLE_python=ON \<br>
-DENABLE_qt=ON \<br>
-DENABLE_silo=ON \<br>
-DENABLE_szip=ON \<br>
-Dqt_DISABLE_WEBKIT=OFF \<br>
-DUSE_SYSTEM_mpi=ON \<br>
-DMPI_CXX=mpicxx \<br>
-DMPI_CXX_INCLUDE_PATH=${CPATH} \<br>
-DMPI_CXX_LIBRARIES=-lmpi -lmpixx -L${LIBRARY_PATH} \<br>
-DMPI_C=mpicc \<br>
-DMPI_C_LIBRARIES=-lmpi -lmpixx -L${LIBRARY_PATH} \<br>
-DMPI_C_INCLUDE_PATH=${CPATH} \<br>
../Source<br>
<br>
<div><span title="paraview@paraview.org"></span>
<div style="font-family:Tahoma;font-size:13px">
<div style="font-family:Tahoma;font-size:13px">
<div style="font-family:Tahoma;font-size:13px;text-align:left"><span style="font-family:Arial"><span style="color:rgb(51,153,102);font-style:italic"></span></span>
<hr style="width:100%;min-height:2px;margin-left:0px;margin-right:auto">
<span style="font-family:Helvetica;font-weight:bold;color:rgb(0,128,128)"><span style="font-style:italic">Rick Angelini</span></span><br style="font-style:italic">
<span style="font-family:Helvetica;font-weight:bold;color:rgb(0,128,128)"><span style="font-style:italic"><br>
<span style="font-style:italic;color:rgb(0,51,102)">USArmy Research Laboratory</span></span></span><br style="font-style:italic;color:rgb(0,51,102)">
<span style="font-family:Helvetica;font-weight:bold;color:rgb(0,51,102);font-style:italic"></span>
<div style="font-family:Helvetica;font-weight:bold;color:rgb(0,51,102);font-style:italic">
CISD/HPC Architectures Team<br>
Building 120 Cube 315<br>
</div>
<span style="font-style:italic;font-weight:bold;color:rgb(0,51,102)"></span><span style="font-family:Arial;font-style:italic;color:rgb(0,51,102)"><span style="font-family:Helvetica;font-weight:bold">Phone:  <a href="tel:410-278-6266" value="+14102786266" target="_blank">410-278-6266</a></span></span><br>

<span style="font-family:Arial"></span></div>
</div>
</div>
</div>
</div>
</div>

<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
<br></blockquote></div><br></div></div></div>