Rosetta build error on MacOS Sierra

Member Site Forums Rosetta 3 Rosetta 3 – Build/Install Rosetta build error on MacOS Sierra

Viewing 3 reply threads
  • Author
    Posts
    • #2670
      Anonymous

        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 ./scons.py -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/SameChiBinComboGrouper.cc:24:

        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

              ‘utility::SingletonBase<core::pack::rotamers::SingleResidueRotamerLibraryFactory>::instance_’

              required here, but no definition is available

              [-Werror,-Wundefined-var-template]

                        if ( ! instance_ ) {

                               ^

        src/protocols/match/output/SameChiBinComboGrouper.cc:64:90: note: in

              instantiation of member function

              ‘utility::SingletonBase<core::pack::rotamers::SingleResidueRotamerLibraryFactory>::get_instance’

              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

              ‘utility::SingletonBase<core::pack::rotamers::SingleResidueRotamerLibraryFactory>::instance_’

              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

      • #12404
        Anonymous

          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”.

           

        • #12925
          Anonymous

            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”.

             

          • #13446
            Anonymous

              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”.

               

            • #12405
              Anonymous

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

              • #12926
                Anonymous

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

                • #13447
                  Anonymous

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

                Viewing 3 reply threads
                • You must be logged in to reply to this topic.