You are here

[Solved] PyRosetta segmentation fault in Linux

3 posts / 0 new
Last post
[Solved] PyRosetta segmentation fault in Linux


PyRosetta is having a segmentation fault when trying to import a PDB file.

Tested with:


Ubuntu Hardy Heron (8.04) fully patched - 32 bit - Python 2.5.2

Ubuntu Karmic Koala (9.10) fully patched - 32 bit - Python 2.5.4

There was an error message about the libboost-python library, so I installed the adjusted libboost-python lib (rosetta/ according to Sergey's message, and that was fine.

But then:



In [1]: from rosetta import *

In [2]: my_pose = Pose()

In [3]: pose_from_pdb( my_pose, "test_in.pdb")

Segmentation fault

I've tested this with various PDB files under both distributions. It always segfaults.

Did you have to install any gcc-3.4 libraries (these don't come with Ubuntu 9.10 packages anymore) ?

I'm very impatient to start using this great piece of software in my research. Any clues are welcome.



Wed, 2010-02-03 22:59

after 'from rosetta import *' you have to use 'init()' to initialize a number of functions and parameters necessary to run PyRosetta.

Thu, 2010-02-04 05:30


init() did work.

Thanks a lot. You made my day.


Thu, 2010-02-04 05:52