Seg. fault defining 3D calculated variable

3 posts / 0 new
Last post
carlewis
Seg. fault defining 3D calculated variable
Dear friends, I've found some problems using VAPOR 2.2.0 and I don't know if there is something I'm missing. When I try to set a calculated 3D variable, I always get a Segmentation Fault. I set VAPOR_DEBUG environment variable to 1 and this is what I get: Edit > Edit Python program defining a new variable Input 3D Variables > U & V Add 3D Variable > WIND WIND=sqrt(U*U+V*V) Test> Segmentation fault In the console I get these messages: GLWindow::paintGL() DataMgr::GetGrid(0,,0,0,[0,0,0],[119,89,26],0) DataMgr::GetGrid() - data in cache 71d4bc40ll ImportError: numpy.core.multiarray failed to import Thanks
alan

Please check to see what are the values of the environment variables PYTHONHOME, VAPOR_HOME, and PYTHONPATH .  It's possible that you had a different version of python installed on your machine and vapor is trying to use that install.  Which platform are you running on?

Regards, Alan

carlewis
Hi Alan, I'm running Ubuntu Linux 12.10 (x86_64). It finally worked with this setup: vapor-instal.csh /opt/envhpc/vapor/2.2.0/ VAPOR_HOME=/opt/envhpc/vapor/2.2.0/vapor-2.2.0 PATH=/opt/envhpc/vapor/2.2.0/vapor-2.2.0/bin LD_LIBRARY_PATH=/opt/envhpc/vapor/2.2.0/vapor-2.2.0/lib MANDIR=/opt/envhpc/vapor/2.2.0/vapor-2.2.0/share/man PYTHONHOME=/opt/envhpc/vapor/2.2.0/vapor-2.2.0 PYTHONPATH=/opt/envhpc/vapor/2.2.0/vapor-2.2.0/lib/python2.7/site-packages/ The python version that comes with vapor-2.2.0 package is linked with libexpat.so.0 and libgfortran.so.1, so I created the links for the new versions: /lib/x86_64-linux-gnu/libexpat.so.0 -> libexpat.so.1 /usr/lib/x86_64-linux-gnu/libgfortran.so.1 -> libgfortran.so.3 Thanks