<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Sorry for this late answer, I was out of office last week.<br>
I'm building paraview in a cluster running "Rocks Cluster 6.2"
distribution. It is based on CenrOS 6.7<br>
I had some trouble with gcc 4.8.1 (internal error at compile time)
so I moved to Gcc 4.8.5, this is OK now.<br>
<br>
My ld version is 2.20.51.0.2-5.43.el6<br>
I use a modified version of OpenMPI 1.7.3 (to work with my batch
scheduler) compiled with gcc 4.8.5.<br>
<br>
Setting mesa_USE_SWR to NO as suggested by Ben Boeckel solves the
"no such instruction" problem in building osmesa but my superbuild
is still unsuccessfull. I've now an error in <tt>vtkmLevelOfDetail.cxx</tt>
where I get "undefined symbols".<br>
The full message is:<br>
<br>
<tt>[ 27%] Building CXX object
Wrapping/ClientServer/CMakeFiles/vtkFiltersFlowPathsCS.dir/vtkStreamerClientServer.cxx.o</tt><tt><br>
</tt><tt>CMakeFiles/vtkAcceleratorsVTKm.dir/vtkmLevelOfDetail.cxx.o:
In function `void
vtkm::cont::DynamicArrayHandleBase<vtkm::TypeListTagFieldVec3,
tovtkm::PointListInVTK>::CastAndCall<vtkm::cont::internal::ComputeRange>(vtkm::cont::internal::ComputeRange
const&) const':</tt><tt><br>
</tt><tt>vtkmLevelOfDetail.cxx:(.text._ZNK4vtkm4cont22DynamicArrayHandleBaseINS_20TypeListTagFieldVec3EN6tovtkm14PointListInVTKEE11CastAndCallINS0_8internal12ComputeRangeEEEvRKT_[_ZNK4vtkm4cont22DynamicArrayHandleBaseINS_20TypeListTagFieldVec3EN6tovtkm14PointListInVTKEE11CastAndCallINS0_8internal12ComputeRangeEEEvRKT_]+0x160):
undefined reference to `vtkm::cont::ArrayHandle<vtkm::Range,
vtkm::cont::StorageTagBasic>
vtkm::cont::ArrayRangeCompute<vtkm::cont::ArrayHandle<vtkm::Vec<float,
3>, tovtkm::vtkAOSArrayContainerTag>
>(vtkm::cont::ArrayHandle<vtkm::Vec<float, 3>,
tovtkm::vtkAOSArrayContainerTag> const&,
vtkm::cont::RuntimeDeviceTracker)'</tt><tt><br>
</tt><tt>vtkmLevelOfDetail.cxx:(.text._ZNK4vtkm4cont22DynamicArrayHandleBaseINS_20TypeListTagFieldVec3EN6tovtkm14PointListInVTKEE11CastAndCallINS0_8internal12ComputeRangeEEEvRKT_[_ZNK4vtkm4cont22DynamicArrayHandleBaseINS_20TypeListTagFieldVec3EN6tovtkm14PointListInVTKEE11CastAndCallINS0_8internal12ComputeRangeEEEvRKT_]+0x228):
undefined reference to `vtkm::cont::ArrayHandle<vtkm::Range,
vtkm::cont::StorageTagBasic>
vtkm::cont::ArrayRangeCompute<vtkm::cont::ArrayHandle<vtkm::Vec<double,
3>, tovtkm::vtkAOSArrayContainerTag>
>(vtkm::cont::ArrayHandle<vtkm::Vec<double, 3>,
tovtkm::vtkAOSArrayContainerTag> const&,
vtkm::cont::RuntimeDeviceTracker)'</tt><tt><br>
</tt><tt>collect2: error: ld returned 1 exit status</tt><tt><br>
</tt><br>
My git commit is:<br>
<br>
<tt>commit 8c380916ea13198b8912bef78971a71bba6d7147</tt><tt><br>
</tt><tt>Merge: e75a492 84ebd63</tt><tt><br>
</tt><tt>Author: Ben Boeckel <a class="moz-txt-link-rfc2396E" href="mailto:ben.boeckel@kitware.com"><ben.boeckel@kitware.com></a></tt><tt><br>
</tt><tt>Date: Tue May 2 12:33:58 2017 +0000</tt><br>
<br>
Patrick<br>
<br>
<br>
Chuck Atkins wrote:
<blockquote type="cite">
<div dir="ltr">
<div>Hi Patrick,<br>
<br>
</div>
Which OS and Compiler are you using? Also what version of
binutils are you using (`which ld` and `ld --version`)? This is
a known issue where the `ld` shipped with older versions
binutils doesn't support the AVX2 instructions generated for
SWR, even though the compiler you're using does. Disabling SWR
isn't really a great option since it's performance is
dramatically better than the llvmpipe alternative. Placing a
newer binutils in your path should let SWR build successfully.<br>
<div class="gmail_extra"><br clear="all">
<div>
<div class="m_3840047217321977022gmail_signature"
data-smartmail="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">----------<br>
Chuck Atkins<br>
Staff R&D Engineer, Scientific Computing<br>
Kitware, Inc.<br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<div class="gmail_quote">On Wed, Apr 19, 2017 at 11:47 AM,
Patrick Begou <span dir="ltr"><<a
href="mailto:Patrick.Begou@legi.grenoble-inp.fr"
target="_blank">Patrick.Begou@legi.grenoble-<wbr>inp.fr</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">My work
to compile paraview 5.3 is in progress but on the cluster
(no GPU) I fail to compile osmesa.<br>
The downloaded tarball is mesa-17.0.1.tar.xz<br>
<br>
The message is about invalid instructions:<br>
CXXLD libswrAVX.la<br>
CXX libswrAVX2_la-swr_clear.lo<br>
/tmp/ccDsR3FF.s: Assembler messages:<br>
/tmp/ccDsR3FF.s:109: Error: no such instruction: `shlx
%eax,%r8d,%ecx'<br>
/tmp/ccDsR3FF.s:113: Error: no such instruction: `shlx
%eax,%r9d,%ecx'<br>
/tmp/ccDsR3FF.s:265: Error: no such instruction: `shlx
%eax,%r14d,%edx'<br>
make[5]: *** [libswrAVX2_la-swr_clear.lo] Error 1<br>
<br>
<br>
I use Python 2.7.9 with mako, gcc (GCC) 4.8.1 and the
configure command generated by paraview-superbuild process
in superbuild/osmesa/src is:<br>
<br>
./configure --prefix=/kareline/data/begou/<wbr>PARAVIEW5/build-kareline/insta<wbr>ll<br>
--enable-opengl --disable-gles1 --disable-gles2
--disable-va --disable-xvmc --disable-vdpau<br>
--enable-shared-glapi --disable-texture-float
--enable-gallium-llvm --enable-llvm-shared-libs<br>
--with-gallium-drivers=swrast,<wbr>swr --disable-dri
--with-dri-drivers= --disable-egl --with-egl-platforms=<br>
--disable-gbm --disable-glx<br>
<br>
It seams the same as the one provided in the wiki.<br>
<br>
I've no idea on how to work around this...<br>
<br>
Thanks<br>
<br>
Patrick<br>
<br>
-- <br>
==============================<wbr>==============================<wbr>=======<br>
| Equipe M.O.S.T. |
|<br>
| Patrick BEGOU | mailto:<a
href="mailto:Patrick.Begou@grenoble-inp.fr"
target="_blank">Patrick.Begou@grenoble-<wbr>inp.fr</a> |<br>
| LEGI |
|<br>
| BP 53 X | Tel 04 76 82 51 35
|<br>
| 38041 GRENOBLE CEDEX | Fax 04 76 82 52 71
|<br>
==============================<wbr>==============================<wbr>=======<br>
<br>
______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com"
rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a
href="http://www.kitware.com/opensource/opensource.html"
rel="noreferrer" target="_blank">http://www.kitware.com/opensou<wbr>rce/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki
at: <a href="http://paraview.org/Wiki/ParaView"
rel="noreferrer" target="_blank">http://paraview.org/Wiki/ParaV<wbr>iew</a><br>
<br>
Search the list archives at: <a
href="http://markmail.org/search/?q=ParaView"
rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a
href="http://public.kitware.com/mailman/listinfo/paraview"
rel="noreferrer" target="_blank">http://public.kitware.com/mail<wbr>man/listinfo/paraview</a><br>
</blockquote>
</div>
<br>
</div>
</div>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="80">--
===================================================================
| Equipe M.O.S.T. | |
| Patrick BEGOU | <a class="moz-txt-link-freetext" href="mailto:Patrick.Begou@grenoble-inp.fr">mailto:Patrick.Begou@grenoble-inp.fr</a> |
| LEGI | |
| BP 53 X | Tel 04 76 82 51 35 |
| 38041 GRENOBLE CEDEX | Fax 04 76 82 52 71 |
===================================================================
</pre>
</body>
</html>