You are here

Rosetta build error on MacOS Sierra

3 posts / 0 new
Last post
Rosetta build error on MacOS Sierra

Hello everyone!

I am trying to build rosetta with mpi in macOS sierra. But, it gives the following errors. 

I tried rebuilding without mpi (after deleting build/ contents), but it gives the same error.

Could any one please help?

$ sudo ./ -j 3 mode=release bin extras=mpi

1 error generated.

scons: *** [build/src/release/macos/16.0/64/x86/clang/8.1/mpi/protocols/init/init.os] Error 1

In file included from src/protocols/match/output/

In file included from src/core/conformation/Residue.hh:38:

In file included from src/core/chemical/ChemicalManager.hh:74:

src/utility/SingletonBase.hh:82:10: error: instantiation of variable


      required here, but no definition is available


                if ( ! instance_ ) {


src/protocols/match/output/ note: in

      instantiation of member function


      requested here

  ...const & rotlib( *SingleResidueRotamerLibraryFactory::get_instance() );


src/utility/SingletonBase.hh:102:13: note: forward declaration of template

      entity is here

        static T * instance_;


src/utility/SingletonBase.hh:82:10: note: add an explicit instantiation

      declaration to suppress this warning if


      is explicitly instantiated in another translation unit

                if ( ! instance_ ) {


1 error generated.

scons: *** [build/src/release/macos/16.0/64/x86/clang/8.1/mpi/protocols/match/output/SameChiBinComboGrouper.os] Error 1

scons: building terminated because of errors

Post Situation: 
Tue, 2017-06-13 22:27

It looks like you're using an older version of the code.

If possible, I would recommend updating to one of the most recent versions -- we've  switched over to a different system for that section of the code that should work better with recent version of the Clang compiler.

If you do need the particular version you're using, I'd just recommend going into the Rosetta/main/source/tools/build/basic.settings file, and deleting any lines which contain "Werror".


Wed, 2017-06-14 07:36

Thank you so much for the reply. Using a later version removed the errors.

Wed, 2017-06-14 10:22