<div dir="ltr"><div><div>Hi Bill,<br><br></div>I'd suggest looking at the settings at <a href="http://open.cdash.org/viewNotes.php?buildid=3043527">http://open.cdash.org/viewNotes.php?buildid=3043527</a>. Burlen set up that dashboard for building on Hopper at NERSC and I often check his settings when I try to do other Cray builds. It may not be exactly what you need but it should be fairly close.<br>
<br></div>Regards,<br>Andy <br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Sep 30, 2013 at 12:59 PM, Burlen Loring <span dir="ltr"><<a href="mailto:bloring@lbl.gov" target="_blank">bloring@lbl.gov</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div>Hi Bill,<br>
<br>
It sounds like you've not configured your build correctly.<div class="im"><br>
<br>
<blockquote type="cite">do I need to have PARAVIEW_USE_MPI
</blockquote></div>
yes. it's Cray what's the point of running a serial build there?<div class="im"><br>
<br>
<blockquote type="cite">I'm using is MPICH 3.0.4, and I've
compiled
<br>
it myself</blockquote></div>
don't do that, :-). Better use highly optimized Cray MPT on Cray
systems.<br>
<br>
You need to set MPI_C_INCLUDE_PATH/MPI_CXX_INCLUDE_PATH and
MPI_C_LIBRARIES/MPI_CXX_LIBRARIES.<br>
<br>
Make sure your using PrgEnv-gnu then you can dump the libraries
and paths that are used with "CC --verbose". Also
CRAY_LD_LIBRARY_PATH can be helpful for getting the right system
paths.<div class="im"><br>
<br>
<blockquote type="cite">the
<br>
Plugin's don't compile. </blockquote></div>
If you're trying to static link, that's a known issue and was just
recently fixed. IMO It's better to have them off when static
linking anyway, cause they'll *all* be automatically loaded on the
server side and you'll need to do the same in the client(or it
will crash) which is a bit of a pain, and confusing for new users.<div><div class="h5"><br>
<br>
On 09/29/2013 08:30 PM, William Sherman wrote:<br>
</div></div></div>
<blockquote type="cite"><div><div class="h5">Hello
everyone,
<br>
<br>
So I've been working on getting ParaView compiled on a new
<br>
Cray XE/XK7 system, and I seem to have made some progress,
<br>
but not enough to have ParaView running.
<br>
<br>
So my main problem is that when I do get the make process
<br>
to complete, it doesn't produce the "pvserver" executable.
<br>
Here's what it does produce:
<br>
% ls bin
<br>
H5detect vtkmkg3states-pv4.0
vtkWrapHierarchy-pv4.0
<br>
H5make_libsettings vtkParseJava-pv4.0
vtkWrapJava-pv4.0
<br>
protoc vtkParseOGLExt-pv4.0
vtkWrapPythonInit-pv4.0
<br>
smTestDriver vtkProcessShader-pv4.0
vtkWrapPython-pv4.0
<br>
vtkEncodeString-pv4.0 vtkpython
vtkWrapTclInit-pv4.0
<br>
vtkHashSource-pv4.0 vtkWrapClientServer-pv4.0
vtkWrapTcl-pv4.0
<br>
<br>
So there's no "paraview" itself because I turned off the
<br>
QT-GUI flag. As this is an HPC machine, I expect to use
<br>
it in server mode.
<br>
<br>
<br>
There is another problem, which I'm not sure whether it's
<br>
related or not, and that is that I can't get it to compile
<br>
when the PARAVIEW_USE_MPI flag is on.
<br>
<br>
So I guess my first question is: do I need to have
PARAVIEW_USE_MPI
<br>
on in order to get "pvserver" built? In theory, I can choose
<br>
to run with only one "pvserver" process, in which case it doesn't
<br>
need MPI, but in general of course one would run more than one.
<br>
But I think in other circumstances I've compiled "pvserver"
without
<br>
MPI, so I'm not sure whether this is the problem. (But I'm not
<br>
sure what's going on with MPI.)
<br>
<br>
<br>
I'll attach the "CMakeCache.txt" file since that may provide a
<br>
clue to someone who knows what they're looking for -- I didn't
<br>
notice anything that would indicate why no "pvserver".
<br>
<br>
<br>
As for the MPI issue, I continue to get a message of this type:
<br>
<br>
---------
<br>
[ 19%] Building CXX object
VTK/Parallel/MPI/CMakeFiles/vtkParallelMPI.dir/vtkMPIController.cxx.o
<br>
Linking CXX shared library
../../../lib/<a href="http://libvtkParallelMPI-pv4.0.so/usr/bin/ld" target="_blank">libvtkParallelMPI-pv4.0.so/usr/bin/ld</a>:
/N/soft/cle4/paraview/MPI/install-3.0.4/lib/libmpich.a(setbotf.o):
relocation R_X86_64_32 against `mpifcmb2_' can not be used when
making a shared object; recompile with
-fPIC/N/soft/cle4/paraview/MPI/install-3.0.4/lib/libmpich.a: could
not read symbols: Bad value
<br>
collect2: error: ld returned 1 exit status
<br>
make[2]: *** [lib/libvtkParallelMPI-pv4.0.so.1] Error 1make[1]:
*** [VTK/Parallel/MPI/CMakeFiles/vtkParallelMPI.dir/all] Error 2
<br>
make: *** [all] Error 2
<br>
----------
<br>
<br>
So the MPI version that I'm using is MPICH 3.0.4, and I've
compiled
<br>
it myself, and I set environment variables to cause the -fPIC
compile
<br>
flag to be used, but that doesn't seem to help. Not sure what's
<br>
going on there, or what command to run to verify that the -fPIC
<br>
flag took.
<br>
<br>
<br>
I'm using this version of gcc/g++ for both paraview and MPICH:
<br>
g++ (GCC) 4.8.1 20130531 (Cray Inc.)
<br>
<br>
<br>
There is one other thing I'm mention in case it's related -- the
<br>
Plugin's don't compile. I have to disable all the plugins in
order
<br>
to get through the compilation process.
<br>
<br>
<br>
Thoughts?
<br>
<br>
Thank you in advance,
<br>
Bill
<br>
<br>
--
<br>
Bill Sherman
<br>
Sr. Technology Advisor
<br>
Advanced Visualization Lab
<br>
Pervasive Technology Inst
<br>
Indiana University
<br>
<a href="mailto:shermanw@indiana.edu" target="_blank">shermanw@indiana.edu</a>
<br>
<br>
<fieldset></fieldset>
<br>
</div></div><pre>_______________________________________________
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a>
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>
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>
Follow this link to subscribe/unsubscribe:
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a>
</pre>
</blockquote>
<br>
</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>