<div dir="ltr">Hi Ganesh,<br><br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">WARNING: Target "vtkParallelMPI" requests linking to directory "/opt/cray/mpt/7.1.3/gni/mpich2-gnu/49/lib/".  Targets may link only<br><div><div><div class="gmail_quote"><div dir="ltr"><div><div><div> to libraries.  CMake is dropping the item.<br></div></div></div></div></div></div></div></div></blockquote><div><br></div><div>It looks like you're building with GCC on a Cray.  Are you using gcc directly or are you using the wrappers provides by the PrgEnv-gnu module?  The CMake FindMPI module should work correctly with the Cray wrappers.  In that case, cc and CC will work as mpicc and mpiCC, automatically wrapping the Cray MPI libraries into the compiler args, which the FindMPI module can detect appropriately.<br></div><div><br> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div><div class="gmail_quote"><div dir="ltr"><div><div></div>If it's a problem with HDF5 library, I'm not sure where I need to point to the system installation.<br></div></div></div></div></div></div></blockquote></div><br></div><div class="gmail_extra">If you load the cray-hdf5 module, that will set the HDF5_DIR environment variable to the correct location.  Unfortunately, CMake uses the HDF5_ROOT variable instead to look for it so you'll neet to set it accordingly.<br><br>If you're using the bash shell, the following sequence should prep your environment accordingly:<br><span style="font-family:monospace,monospace"><br># Start with a pristine environment<br>module purge<br></span></div><div class="gmail_extra"><span style="font-family:monospace,monospace">module load modules<br></span></div><div class="gmail_extra"><span style="font-family:monospace,monospace"><br># Load the compilers<br>module load PrgEnv-gnu<br><br># Use the Cray wrappers for the compilers instead of calling gcc and g++ directly<br>export CC=$(which cc)<br>export CXX=$(which CC)<br>export FC=$(which ftn)<br><br># Load the Cray-provided libraries<br>module load cray-hdf5<br>module load cray-mpich<br><br># Used by the CMake FindHDF5.cmake module<br>export HDF5_ROOT=${HDF5_DIR}</span><br><br></div><div class="gmail_extra">Try configuring ParaView starting from that environment.<br><br></div><div class="gmail_extra">Out of curiosity, where is the machine located?  We maintain ParaView installations at many different HPC sites on a range of Cray systems.<br><br></div><div class="gmail_extra">- Chuck Atkins<br></div></div>