<div dir="ltr"><div>Hi,<br><br>If I remember correctly, the CFortranInterface utility essentially works in a separate process space so that it doesn't affect any of the CMake settings for the current configuration. This may be a better topic for the CMake list. I'll check with some people today to see about what could be done with it.<br>
<br></div>Andy<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Sep 11, 2013 at 9:35 AM, Hong Yi <span dir="ltr"><<a href="mailto:hongyi@renci.org" target="_blank">hongyi@renci.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div link="blue" vlink="purple" lang="EN-US">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Hi Mark,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Yes, I discovered the same thing yesterday. The reason is that CMake picks up /usr/bin/c++ and /usr/bin/cc automatically which are symlinked to g++-4.3 and
gcc-4.3 on Titan. I tried to change CMAKE_C++_COMPILER and CMAKE_C_COMPILER manually through ccmake, however, the changes did not get populated down to subdirectories such as Catalyst sub-directory for some reason. After I manually corrected them over all
CMakeCache.txt files down in every subdirectories, FortranCInterface can build successfully. I am currently building cross stage also. Hopefully this is it.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Thanks,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Hong<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<div>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Vanmoer, Mark W [mailto:<a href="mailto:mvanmoer@illinois.edu" target="_blank">mvanmoer@illinois.edu</a>]
<br>
<b>Sent:</b> Tuesday, September 10, 2013 6:43 PM<br>
<b>To:</b> Hong Yi; Vanmoer, Mark W; David E DeMarle</span></p><div><div class="h5"><br>
<b>Cc:</b> <a href="mailto:paraview@paraview.org" target="_blank">paraview@paraview.org</a><br>
<b>Subject:</b> RE: [Paraview] Building on Titan using ParaViewSuperbuild<u></u><u></u></div></div><p></p>
</div>
</div><div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Hi Hong and David,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">I was able to get FortranCInterface to build in the tools directory. Even though we were doing module load gcc, CMake was picking up $CC and $CXX as gcc 4.3.4,
instead of gcc 4.7.2 like it should have. The fix is to do as in configcross.sh and export CC and CXX,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">So my configtools.sh is now<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"># from David DeMarle<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"># system CMake is too old<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">export PATH=/ccs/home/vanmoer/builds/byhand/CMake/<a href="http://2.8.11.2/bin:$PATH" target="_blank">2.8.11.2/bin:$PATH</a><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">#switch compiler to compile for front end<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">module unload PrgEnv-pgi<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">module load gcc<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">export CC=/opt/gcc/4.7.2/bin/gcc<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">export CXX=/opt/gcc/4.7.2/bin/g++<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">#configure settings to build compile tools only<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">cmake \<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">-DCROSS_BUILD_STAGE:STRING=TOOLS -Dcross_target:STRING=xk7_gnu \<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">-DCMAKE_BUILD_TYPE:STRING=Release \<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">-DBUILD_TESTING:BOOL=FALSE \<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">-DParaView_FROM_GIT:BOOL=OFF \<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">-DENABLE_paraview:BOOL=TRUE \<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">-DENABLE_boost:BOOL=TRUE \<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">-DENABLE_python:BOOL=TRUE \<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">-DENABLE_portfwd:BOOL=FALSE \<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">../ParaViewSuperbuild<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">I just started a cross compile based on that and will report back when that finishes.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Mark<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt">
<div>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Hong Yi [<a href="mailto:hongyi@renci.org" target="_blank">mailto:hongyi@renci.org</a>]
<br>
<b>Sent:</b> Tuesday, September 10, 2013 4:11 PM<br>
<b>To:</b> Vanmoer, Mark W; David E DeMarle<br>
<b>Cc:</b> <a href="mailto:paraview@paraview.org" target="_blank">paraview@paraview.org</a><br>
<b>Subject:</b> RE: [Paraview] Building on Titan using ParaViewSuperbuild<u></u><u></u></span></p>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Thanks, Mark. It is good to know it is not only me having this problem. I found if I remove “-L/usr/lib64/gcc/x86_64-suse-linux/4.3 -L/usr/x86_64-suse-linux/lib”
from the build line, I can successfully build FortranCInterface. So the question now becomes how I can remove those two lib paths within CMake so that it can build FortranCInterface and set corresponding flags correctly. Let me know if anybody has some pointers
on how to do that within CMake.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Thanks,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Hong<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<div>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Vanmoer, Mark W [<a href="mailto:mvanmoer@illinois.edu" target="_blank">mailto:mvanmoer@illinois.edu</a>]
<br>
<b>Sent:</b> Tuesday, September 10, 2013 2:47 PM<br>
<b>To:</b> Hong Yi; David E DeMarle; Vanmoer, Mark W<br>
<b>Cc:</b> <a href="mailto:paraview@paraview.org" target="_blank">paraview@paraview.org</a><br>
<b>Subject:</b> RE: [Paraview] Building on Titan using ParaViewSuperbuild<u></u><u></u></span></p>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">I have the same errors in my CMakeError.log, if I understand what’s going on right, those symbols are defined in libgcc_s.so in the same directory, and so that
lib isn’t being linked?<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Mark<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt">
<div>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Hong Yi [<a href="mailto:hongyi@renci.org" target="_blank">mailto:hongyi@renci.org</a>]
<br>
<b>Sent:</b> Tuesday, September 10, 2013 1:21 PM<br>
<b>To:</b> David E DeMarle; Vanmoer, Mark W<br>
<b>Cc:</b> <a href="mailto:paraview@paraview.org" target="_blank">paraview@paraview.org</a><br>
<b>Subject:</b> RE: [Paraview] Building on Titan using ParaViewSuperbuild<u></u><u></u></span></p>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">Hi David,<br>
<br>
I found FortranCInterface was not built even in the first TOOLS pass. Here are the errors I am getting from CMakeError.log:<br>
<br>
-----------------<br>
/opt/gcc/4.7.2/bin/gfortran CMakeFiles/FortranCInterface.dir/main.F.o CMakeFiles/FortranCInterface.dir/call_sub.f.o CMakeFiles/FortranCInterface.dir/call_mod.f90.o -o FortranCInterface -L/usr/lib64/gcc/x86_64-suse-linux/4.3 -L/usr/x86_64-suse-linux/lib
-rdynamic libsymbols.a libmyfort.a<br>
/opt/gcc/4.7.2/snos/lib/gcc/x86_64-suse-linux/4.7.2/../../../../lib64/libgfortran.so: undefined reference to `__gttf2@GCC_4.3.0'<br>
/opt/gcc/4.7.2/snos/lib/gcc/x86_64-suse-linux/4.7.2/../../../../lib64/libgfortran.so: undefined reference to `__netf2@GCC_4.3.0'<br>
/opt/gcc/4.7.2/snos/lib/gcc/x86_64-suse-linux/4.7.2/../../../../lib64/libgfortran.so: undefined reference to `__lttf2@GCC_4.3.0'<br>
/usr/bin/ld: link errors found, deleting executable `FortranCInterface'<br>
-----------------<br>
<br>
Could you confirm whether you are getting this error also for your superbuild on Titan? If you are not seeing these errors, could you confirm whether you are using the default gcc version 4.7.2 or some newer version?<br>
<br>
Superbuild is able to build other libraries successfully for me on Titan except for this FortranCInterface problems, so I am hoping to confirm with you to see whether this is a specific problem on my part.<br>
<br>
Thanks for all your help!<br>
<br>
Hong<u></u><u></u></span></p>
<div>
<div class="MsoNormal" style="text-align:center" align="center"><span style>
<hr align="center" size="2" width="100%">
</span></div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">
<a href="mailto:paraview-bounces@paraview.org" target="_blank">paraview-bounces@paraview.org</a> [<a href="mailto:paraview-bounces@paraview.org" target="_blank">paraview-bounces@paraview.org</a>] on behalf of David E DeMarle [<a href="mailto:dave.demarle@kitware.com" target="_blank">dave.demarle@kitware.com</a>]<br>
<b>Sent:</b> Thursday, August 29, 2013 1:21 PM<br>
<b>To:</b> Vanmoer, Mark W<br>
<b>Cc:</b> <a href="mailto:paraview@paraview.org" target="_blank">paraview@paraview.org</a><br>
<b>Subject:</b> Re: [Paraview] Building on Titan using ParaViewSuperbuild</span><span style><u></u><u></u></span></p>
</div>
<div>
<div>
<p class="MsoNormal"><span style>Your tools build is pointing to the compiler wrapper that you normally would use to make code for the back end.
<u></u><u></u></span></p>
<div>
<p class="MsoNormal"><span style>The tools build should just use plain old local gcc since we only build things at that point that run on the login node.<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style>Try these setup scripts:<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style>I source configtools.sh to set up my environment before I build the compile tools, and configcross.sh before before I cross compile ParaView.<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style>configtools.sh<u></u><u></u></span></p>
</div>
<div>
<div>
<p class="MsoNormal"><span style>#use my own cmake, system one is too old<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style>setenv PATH /autofs/na4_proj/csc035/demarle/pvdev/titan/cmake-build/bin:${PATH}<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style>#switch compiler to compile code for front end<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style>module unload PrgEnv-pgi<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style>module load gcc<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style>#configure settings for to build compile tools only<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style>cmake \<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style> -DCROSS_BUILD_STAGE:STRING=TOOLS -Dcross_target:STRING=xk7_gnu \<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style> -DCMAKE_BUILD_TYPE:STRING=Release \<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style> -DBUILD_TESTING:BOOL=FALSE \<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style> -DParaView_FROM_GIT:BOOL=OFF \<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style> -DENABLE_paraview:BOOL=TRUE \<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style> -DENABLE_boost:BOOL=TRUE \<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style> -DENABLE_python:BOOL=TRUE \<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style> -DENABLE_portfwd:BOOL=FALSE \<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style> ../../ParaViewSuperbuild<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style>then make<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style>configcross.sh<u></u><u></u></span></p>
</div>
<div>
<div>
<p class="MsoNormal"><span style>#use my own cmake, system one is too old<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style>setenv PATH /autofs/na4_proj/csc035/demarle/pvdev/titan/cmake-build/bin:${PATH}<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style>#switch compiler to compile code for back end<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style>module unload PrgEnv-pgi<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style>module unload gcc<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style>module load PrgEnv-gnu<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style>#not sure why module load wasn't sufficient, but ended up needing to force<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style>#cmake to choose the right compiler<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style>setenv CC /opt/cray/xt-asyncpe/5.17/bin/cc<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style>setenv CXX /opt/cray/xt-asyncpe/5.17/bin/CC<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style>#configure settings to cross compile python, (mesa - implied), and paraview<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style>cmake \<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style> -DCROSS_BUILD_STAGE:STRING=CROSS -Dcross_target:STRING=xk7_gnu \<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style> -DCMAKE_BUILD_TYPE:STRING=Release \<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style> -DBUILD_TESTING:BOOL=TRUE \<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style> -DParaView_FROM_GIT:BOOL=OFF \<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style> -DENABLE_paraview:BOOL=TRUE \<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style> -DENABLE_python:BOOL=TRUE \<u></u><u></u></span></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal"><span style> ../../ParaViewSuperbuild<u></u><u></u></span></p>
</div>
</div>
</div>
<div>
<p class="MsoNormal"><span style><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style>then make again<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span style><u></u> <u></u></span></p>
</div>
</div>
<div>
<p class="MsoNormal"><span style><br clear="all">
<u></u><u></u></span></p>
<div>
<p class="MsoNormal"><span style>David E DeMarle<br>
Kitware, Inc.<br>
R&D Engineer<br>
21 Corporate Drive<br>
Clifton Park, NY 12065-8662<br>
Phone: <a href="tel:518-881-4909" value="+15188814909" target="_blank">518-881-4909</a><u></u><u></u></span></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style><u></u> <u></u></span></p>
<div>
<p class="MsoNormal"><span style>On Tue, Aug 27, 2013 at 4:26 PM, Vanmoer, Mark W <<a href="mailto:mvanmoer@illinois.edu" target="_blank">mvanmoer@illinois.edu</a>> wrote:<u></u><u></u></span></p>
<div>
<div>
<p class="MsoNormal"><span style>Hi, I'm trying to follow the advice on building ParaView on Titan using the ParaViewSuperbuild method from an earlier discussion in June.<u></u><u></u></span></p>
<p class="MsoNormal"><span style> <u></u><u></u></span></p>
<p class="MsoNormal"><span style>When I run make in the "TOOLS" directory I get the following error:<u></u><u></u></span></p>
<p class="MsoNormal"><span style> <u></u><u></u></span></p>
<p class="MsoNormal"><span style>[ 66%] Building CXX object Utilities/ProcessXML/CMakeFiles/kwProcessXML.dir/ProcessXML.cxx.o<u></u><u></u></span></p>
<p class="MsoNormal"><span style>Linking CXX executable ../../bin/vtkkwProcessXML-pv4.0<u></u><u></u></span></p>
<p class="MsoNormal"><span style>/usr/bin/ld: attempted static link of dynamic object `../../lib/libvtkCommonCore-pv4.0.so.1'<u></u><u></u></span></p>
<p class="MsoNormal"><span style>collect2: error: ld returned 1 exit status<u></u><u></u></span></p>
<p class="MsoNormal"><span style>make[6]: *** [bin/vtkkwProcessXML-pv4.0] Error 1<u></u><u></u></span></p>
<p class="MsoNormal"><span style>make[5]: *** [Utilities/ProcessXML/CMakeFiles/kwProcessXML.dir/all] Error 2<u></u><u></u></span></p>
<p class="MsoNormal"><span style>make[4]: *** [CMakeFiles/pvCompileTools.dir/rule] Error 2<u></u><u></u></span></p>
<p class="MsoNormal"><span style>make[3]: *** [pvCompileTools] Error 2<u></u><u></u></span></p>
<p class="MsoNormal"><span style>CMake Error at /ccs/home/vanmoer/builds/superbuild/tools-build/pv-paraview-build.cmake:26 (message):<u></u><u></u></span></p>
<p class="MsoNormal"><span style> Failed!!!<u></u><u></u></span></p>
<p class="MsoNormal"><span style> <u></u><u></u></span></p>
<p class="MsoNormal"><span style> <u></u><u></u></span></p>
<p class="MsoNormal"><span style>make[2]: *** [paraview/src/paraview-stamp/paraview-build] Error 1<u></u><u></u></span></p>
<p class="MsoNormal"><span style> <u></u><u></u></span></p>
<p class="MsoNormal"><span style>I don't see a BUILD_SHARED that I can toggle. All of the CMAKE_SHARED_LINKER_FLAGS* vars are empty, if those are related.
<u></u><u></u></span></p>
<p class="MsoNormal"><span style> <u></u><u></u></span></p>
<p class="MsoNormal"><span style>Any suggestions?<u></u><u></u></span></p>
<p class="MsoNormal"><span style> <u></u><u></u></span></p>
<p class="MsoNormal"><span style>Thanks,<u></u><u></u></span></p>
<p class="MsoNormal"><span style>Mark<u></u><u></u></span></p>
<p class="MsoNormal"><span style> <u></u><u></u></span></p>
<p class="MsoNormal"><span style> <u></u><u></u></span></p>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style><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><u></u><u></u></span></p>
</div>
<p class="MsoNormal"><span style><u></u> <u></u></span></p>
</div>
</div>
</div>
</div>
</div>
</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>