You are here

Build Rosetta - error: 'build_threading_model'

9 posts / 0 new
Last post
Build Rosetta - error: 'build_threading_model'
#1

In order to build a release version of Rosetta executables, I run scons:

- by Release Mode - scons bin mode=release.

But I receive this error message:

src/protocols/loops/LoopRelaxMover.cc: In member function 'virtual void protocols::loops::LoopRelaxMover::apply(core::pose::Pose&)':

src/protocols/loops/LoopRelaxMover.cc:568: error: 'build_threading_model' is not a member of 'core::options::OptionKeys::loops'

*** [build/src/release/linux/2.6/64/x86/gcc/protocols/loops/LoopRelaxMover.os] Error 1

Thank you for all.

Post Situation: 
Thu, 2010-02-25 08:43
nunesjulioc

> In order to build a release version of Rosetta executables, I run scons:
>
> - by Release Mode - scons bin mode=release.
>
> But I receive this error message:
>
> src/protocols/loops/LoopRelaxMover.cc: In member function 'virtual void protocols::loops::LoopRelaxMover::apply(core::pose::Pose&)':
>
> src/protocols/loops/LoopRelaxMover.cc:568: error: 'build_threading_model' is not a member of 'core::options::OptionKeys::loops'
>
> *** [build/src/release/linux/2.6/64/x86/gcc/protocols/loops/LoopRelaxMover.os] Error 1
>
> Thank you for all.

Thu, 2010-02-25 08:43
nunesjulioc

What compiler and version are you using? What Python version? Have you made any changes to the code?

Mon, 2010-03-08 09:14
smlewis

I have the same problem with MacOSX 10.4 I tried both 4.0.1 and 4.2.1 g++ versions from Developer tools. Python is 2.6.1 and I use scons from fink. I hope there would be some way to make the compilation to succeed.

Tue, 2010-10-26 05:01
vpk

Are you actually intending to use the option build_threading_model? If not, try deleting the whole if block it appears in (lines 568-571)

If you do need that option for whatever reason, try playing with its namespacing. Try a full core::options::OptionKeys::loops::build_threading_model or a using declaration.

Tue, 2010-10-26 08:05
smlewis
I tried first to use the long namespace, but that didn't help. Commenting whole thing out did help. When using grep for build_threading_model I didn't get any other hits so where one would set it if I would like to use it? In any case thank you for your help.
Wed, 2010-10-27 03:47
vpk

I guess the easiest thing if you would like to use it is just make the statement if(true).

You could also try swapping it with a different, unused option. I know that all of the AnchoredDesign namespace options are not accessed by any code passing through LoopRelaxMover, so those would be an ok choice for noninterference.

Wed, 2010-10-27 10:16
smlewis

I am trying to analyze Protein Sequence via the rstoolbox library but there is a constant error. 

On the first run, it gave a Unicode error. In order to avoid this, I changed syntax but it didn't work. 

Now Error is: rossetta_scripts.winccrelease is not found.

Please find the attached file for your analysis. 

Thank you.

File attachments: 
Sun, 2020-04-12 17:31
Anwar Khan

First, since this isn't a follow on from the other messages in the thread, it's best to open up a new thread.

The Unicode issue is independent of Rosetta. There's some issue there with your Python and/or Jupyter notebook. (It looks like the issue is actually the fact you're using backslashes in regular Python strings, which are normally used for escaping. Take a look into Python "raw strings" as a possible solution.)

Regarding the "rossetta_scripts.winccrelease is not found" error, that may be a bug in the rstoolbox setup. It may be building the expected Rosetta command name from the current platform, despite the fact that you're not intending to run Rosetta on the current Windows machine. Since RosettaCommons proper doesn't maintain or distribute the rstoolbox code, I'd file a bug/open an issue with the rstoolbox maintainers directly.

Thu, 2020-07-09 10:18
rmoretti