<div dir="ltr"><div>Hi,<br><br></div>I can&#39;t say for sure but my first guess is that it&#39;s an issue with the Python installation that you&#39;re using. ParaView won&#39;t work with Python 3.0. I&#39;d suggest trying out the ParaView Superbuild (<a href="http://paraview.org/Wiki/ParaView/Superbuild">http://paraview.org/Wiki/ParaView/Superbuild</a>) which will build all required dependencies as well. For some of them you can specify that it should use the system version. Generally, I do this for MPI on HPC systems since they have a special MPI version. If I&#39;m building the GUI, I also try to use the system Qt since that just takes a very long time to build.<br>
<br>Regards,<br>Andy<br><div><br><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Oct 7, 2013 at 10:02 AM, Harald Servat <span dir="ltr">&lt;<a href="mailto:harald.servat@bsc.es" target="_blank">harald.servat@bsc.es</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
  I&#39;m trying to compile ParaView 4.0.1 in our linux x86-64 cluster, but I&#39;m facing the following error during the compilation step<br>
<br>
Compiling /gpfs/scratch/bsc41/bsc41273/<u></u>ParaView-v4.0.1-source/build/<u></u>lib/site-packages/mpi4py/rc.py ...<br>
[ 86%] Built target mpi4py<br>
[ 86%] Building C object ThirdParty/mpi4py/vtkmpi4py/<u></u>CMakeFiles/mpi4py.MPE.dir/src/<u></u>MPE.c.o<br>
Linking C shared module ../../../lib/site-packages/<u></u>mpi4py/MPE.so<br>
/apps/PYTHON/2.7.3/lib/<u></u>libpython2.7.a(thread.o): In function `_pythread_pthread_set_<u></u>stacksize&#39;:<br>
/apps/PYTHON/SRC/Python-2.7.3/<u></u>Python/thread_pthread.h:491: undefined reference to `pthread_attr_setstacksize&#39;<br>
/apps/PYTHON/2.7.3/lib/<u></u>libpython2.7.a(thread.o): In function `PyThread_release_lock&#39;:<br>
/apps/PYTHON/SRC/Python-2.7.3/<u></u>Python/thread_pthread.h:346: undefined reference to `sem_post&#39;<br>
/apps/PYTHON/2.7.3/lib/<u></u>libpython2.7.a(thread.o): In function `PyThread_acquire_lock&#39;:<br>
/apps/PYTHON/SRC/Python-2.7.3/<u></u>Python/thread_pthread.h:323: undefined reference to `sem_trywait&#39;<br>
/apps/PYTHON/SRC/Python-2.7.3/<u></u>Python/thread_pthread.h:321: undefined reference to `sem_wait&#39;<br>
/apps/PYTHON/2.7.3/lib/<u></u>libpython2.7.a(thread.o): In function `PyThread_free_lock&#39;:<br>
/apps/PYTHON/SRC/Python-2.7.3/<u></u>Python/thread_pthread.h:292: undefined reference to `sem_destroy&#39;<br>
/apps/PYTHON/2.7.3/lib/<u></u>libpython2.7.a(thread.o): In function `PyThread_allocate_lock&#39;:<br>
/apps/PYTHON/SRC/Python-2.7.3/<u></u>Python/thread_pthread.h:268: undefined reference to `sem_init&#39;<br>
/apps/PYTHON/2.7.3/lib/<u></u>libpython2.7.a(thread.o): In function `PyThread_start_new_thread&#39;:<br>
/apps/PYTHON/SRC/Python-2.7.3/<u></u>Python/thread_pthread.h:183: undefined reference to `pthread_attr_setstacksize&#39;<br>
/apps/PYTHON/SRC/Python-2.7.3/<u></u>Python/thread_pthread.h:193: undefined reference to `pthread_create&#39;<br>
/apps/PYTHON/SRC/Python-2.7.3/<u></u>Python/thread_pthread.h:209: undefined reference to `pthread_detach&#39;<br>
collect2: ld returned 1 exit status<br>
<br>
  I have the following defines as ccmake reports<br>
<br>
  PYTHON_MODULE_mpi4py.MPE_BUILD OFF<br>
  PYTHON_MODULE_mpi4py.MPI_BUILD OFF<br>
  PYTHON_MODULE_mpi4py.dl_BUILD_ OFF<br>
<br>
  which seem to be related with the problem.<br>
<br>
  I tried adding LIBS=-lpthread when compiling but it didn&#39;t change anything.<br>
<br>
  Additionally, our 2.7.3 installation of python only has the static library, while newer python installations (3.x) have the shared libraries. Can I use a Python 3 with ParaView?<br>
<br>
  Do you have any idea on how I can fix the issue?<br>
<br>
Thank you very much in advance.<br>
-- <br>
<br>
<br>
WARNING / LEGAL TEXT: This message is intended only for the use of the<br>
individual or entity to which it is addressed and may contain<br>
information which is privileged, confidential, proprietary, or exempt<br>
from disclosure under applicable law. If you are not the intended<br>
recipient or the person responsible for delivering the message to the<br>
intended recipient, you are strictly prohibited from disclosing,<br>
distributing, copying, or in any way using this message. If you have<br>
received this communication in error, please notify the sender and<br>
destroy and delete any copies you may have received.<br>
<br>
<a href="http://www.bsc.es/disclaimer" target="_blank">http://www.bsc.es/disclaimer</a><br>
______________________________<u></u>_________________<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/<u></u>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/<u></u>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/<u></u>mailman/listinfo/paraview</a><br>
</blockquote></div><br></div>