You are here

PyRosetta on a HPC

1 post / 0 new
PyRosetta on a HPC
#1

Hello people,  i have been trying to compile PyRosetta on a HPC (Red Hat 6.4) for several weeks now without success.

I tried many different approaches so i will write the gist of it.  I tried compiling PyRosetta which did not work, then I read i have to compile it from source, so this is what I am trying to do. I uploaded Rosetta to the HPC.

most of the programs are old, so I had to install python3.6.1, Cmake 3.5.9, GCC 5.3.0, and Ninja 1.9.0

I cd into the {ROSETTA}/main/source/src/python/PyRosetta directory and use the following command to compile:

python3.6 build.py -j24 --python-lib /app/utils/python3/Python-3.6.1/lib/libpython3.6m.a --python-include-dir /app/utils/python3/Python-3.6.1/ --create-package PyRosetta

And even though i ensure that all the programs installed are working, and i point the command to python 3  i still get this error:

Found PythonInterp: /usr/bin/python (found version "2.6.6") 
-- Configuring incomplete, errors occurred!

CMake Error at CMakeLists.txt:611 (message):
  Python 2.7 or newer is required

 

Please help me understand what I am doing wrong and how to fix it.

 

Thank you

 

- - - - - - - - - - - -

The Next step is to install PyRosetta on a virtualenv of course right?

Category: 
Post Situation: 
Thu, 2019-03-14 02:00
ac.research