You are here

Rosetta_2016.32.58837-openmpi-1.10.2-gcc-6.1.0 compile errors

3 posts / 0 new
Last post
Rosetta_2016.32.58837-openmpi-1.10.2-gcc-6.1.0 compile errors
#1

Hi, 

Im trying to cmpile Rosetta 3.7 with openmpi and getting the following errors. Please help.

Environmet: Centos 7.3 

Modules loaded : GCC/6.1.0, openmpi/1.10.2

mpicc --version
gcc (GCC) 6.1.0
######################################################################################################

/opt/asn/apps/openmpi_1.10.2_gnu_cent_pmi2/bin/mpicxx -o build/src/release/linux/3.10/64/x86/gcc/6.1/mpi/protocols/match/output/UpstreamHitCacher.os -c -std=c++98 -ffor-scope -isystem external/boost_1_55_0/ -isystem external/ -isystem external/include/ -isystem external/dbio/ -pipe -Wall -Wextra -pedantic -Werror -Wno-long-long -Wno-strict-aliasing -march=core2 -mtune=generic -O3 -ffast-math -funroll-loops -finline-functions -finline-limit=20000 -s -Wno-unused-variable -Wno-unused-parameter -fPIC -DBOOST_ERROR_CODE_HEADER_ONLY -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DPTR_BOOST -DNDEBUG -DUSEMPI -Isrc -Iexternal/include -Isrc/platform/linux/64/gcc/6.1 -Isrc/platform/linux/64/gcc -Isrc/platform/linux/64 -Isrc/platform/linux -I/opt/asn/apps/openmpi_1.10.2_gnu_cent_pmi2/include -Iexternal/boost_1_55_0 -Iexternal/libxml2/include -Iexternal -Iexternal/dbio -I/usr/include -I/usr/local/include src/protocols/match/output/UpstreamHitCacher.cc
In file included from src/ObjexxFCL/FArray1.hh:20:0,
                 from src/ObjexxFCL/FArray1D.hh:19,
                 from src/core/scoring/EnvPairPotential.hh:33,
                 from src/core/scoring/membrane/MembraneData.hh:25,
                 from src/core/scoring/ScoringManager.hh:74,
                 from src/protocols/match/output/UpstreamCollisionFilter.cc:26:
src/ObjexxFCL/FArray.hh: In member function 'virtual ObjexxFCL::FArray< <template-parameter-1-1> >& ObjexxFCL::FArray< <template-parameter-1-1> >::clear()':
src/ObjexxFCL/FArray.hh:638:3: error: this 'if' clause does not guard... [-Werror=misleading-indentation]
   if ( owner_ ) delete[] array_; array_ = 0;
   ^~
src/ObjexxFCL/FArray.hh:638:34: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
   if ( owner_ ) delete[] array_; array_ = 0;
                                  ^~~~~~
cc1plus: all warnings being treated as errors
scons: *** [build/src/release/linux/3.10/64/x86/gcc/6.1/mpi/protocols/match/output/UpstreamCollisionFilter.os] Error 1
cc1plus: all warnings being treated as errors
scons: *** [build/src/release/linux/3.10/64/x86/gcc/6.1/mpi/protocols/init/init.os] Error 1

Category: 
Post Situation: 
Mon, 2017-02-27 09:07
slakkaraju
Mon, 2017-02-27 10:11
smlewis

Thank you for the quick reply.

Soultion described in this link (https://www.rosettacommons.org/node/3748) worked. 

Mon, 2017-02-27 16:14
slakkaraju