Rosetta compilation error with gcc-10

Member Site Forums Rosetta 3 Rosetta 3 – Build/Install Rosetta compilation error with gcc-10

Viewing 2 reply threads
  • Author
    Posts
    • #3436
      Anonymous

        Dear all,

        I am trying to compile ROSETTA 3.12 on Red Hat Enterprise Linux Server release 6.5. I install the gcc (GCC) 10.1.0, and run the follow command

             ./scons.py bin mode=release -j 60

        I get some error information like:

           scons: *** [build/src/release/linux/2.6/64/x86/gcc/10.1/default/protocols/vip/VIP_Mover.os] Error 1

        In file included from src/protocols/analysis/PackStatMover.cc:17:

        src/core/scoring/packstat/compute_sasa.hh: In function ‘core::scoring::packstat::PackstatReal core::scoring::packstat::compute_sasa_generic(utility::vector1<T>&, core::scoring::packstat::PackstatReal, bool)’:

        src/core/scoring/packstat/compute_sasa.hh:410:41: internal compiler error: unexpected expression ‘(short unsigned int)l->atom_sasa_masks.ObjexxFCL::FArray2D<ObjexxFCL::ubyte>::operator[]()’ of kind implicit_conv_expr

          410 |    ctr += bit_count[atom_sasa_masks[ l ]];

         

        Is it caused by the gcc comiler? If I use a gcc of lower version, would it work?

        Thank you in advance!

      • #15308
        Anonymous

          The very newest compilers will very frequently turn up new errors and warnings, because we’ve had no time to check that they work yet on our codebase. That said, causing an internal compiler error is a little remarkable!

          I can guarantee that almost any GCC version from 4.8 through 9.3 will work.

        • #15309
          Anonymous

            Yes, gcc-7.5.0 works!

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