Gts issue building GUI on a Cray HPC

Asked by Gary Pekmezi

Hello,

As mentioned in my previous question [1] related to my ongoing quest to build the latest Yade with GUI on this system, I was able to build the GUI successfully. However, upon attempting to run it, I get the following error

Welcome to Yade 2017-12-06.git-890f2c2
TCP python prompt on localhost:9000, auth cookie `ecssdu'
XMLRPC info provider on http://localhost:21000
Traceback (most recent call last):
  File "/p/home/gpekmezi/apps/yade/install/bin/yade-2017-12-06.git-890f2c2", line 297, in <module>
    import yade.qt
  File "/p/home/gpekmezi/apps/yade/install/lib64/yade-2017-12-06.git-890f2c2/py/yade/qt/__init__.py", line 21, in <module>
    from yade.qt._GLViewer import *
ImportError: /p/home/gpekmezi/apps/yade/install/lib64/yade-2017-12-06.git-890f2c2/py/yade/_packPredicates.so: undefined symbol: gts_surface_is_closed

This seems like some sort of linker problem, but I don't yet understand enough about building Yade to track it down. Any assistance would be greatly appreciated.

Thanks,
Gary

[1] https://answers.launchpad.net/yade/+question/661824

Question information

Language:
English Edit question
Status:
Solved
For:
Yade Edit question
Assignee:
No assignee Edit question
Solved by:
Gary Pekmezi
Solved:
Last query:
Last reply:
Revision history for this message
Gary Pekmezi (gpekmezi) said :
#1

I managed to resolve this problem. As suspected, it was a linker issue. The issue was that pygts did not know where to look for my local gts build. This was resolved by adding the gts/lib path to $LD_LIBRARY_PATH.