CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > SU2 > SU2 Installation

long error when using make-install SU2_AD.

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 9, 2018, 07:18
Question long error when using make-install SU2_AD.
  #1
Member
 
tom pratt
Join Date: Jan 2016
Posts: 55
Rep Power: 10
tomp1993 is on a distinguished road
long error when using make-install SU2_AD.
I have updated gcc to v4.9, openmpi to v3.0; called them as modules on my cluster, reinstalled codi and medi and used preconfigure.py with no problems.
I then run make install but am faced with the following (very long) error message:

Code:
make[2]: Entering directory `/users/mep15tpp/SU2-6.0.0/SU2-master/SU2_AD/Common/lib'
  CXX      ../src/libSU2_AD_a-config_structure.o
In file included from ../../../externals/codi/include/codi.hpp:34:0,
                 from ../../../Common/lib/../src/../include/././datatypes/codi_reverse_structure.hpp:39,
                 from ../../../Common/lib/../src/../include/././datatype_structure.hpp:51,
                 from ../../../Common/lib/../src/../include/./mpi_structure.hpp:46,
                 from ../../../Common/lib/../src/../include/config_structure.hpp:41,
                 from ../../../Common/lib/../src/config_structure.cpp:38:
../../../externals/codi/include/tapes/forwardEvaluation.hpp:59:33: error: expected initializer before ‘:’ token
In file included from ../../../externals/codi/include/tapes/jacobiTape.hpp:38:0,
                 from ../../../externals/codi/include/codi.hpp:35,
                 from ../../../Common/lib/../src/../include/././datatypes/codi_reverse_structure.hpp:39,
                 from ../../../Common/lib/../src/../include/././datatype_structure.hpp:51,
                 from ../../../Common/lib/../src/../include/./mpi_structure.hpp:46,
                 from ../../../Common/lib/../src/../include/config_structure.hpp:41,
                 from ../../../Common/lib/../src/config_structure.cpp:38:
../../../externals/codi/include/tapes/chunk.hpp:169:23: error: expected initializer before ‘:’ token
../../../externals/codi/include/tapes/chunk.hpp:288:23: error: expected initializer before ‘:’ token
../../../externals/codi/include/tapes/chunk.hpp:425:23: error: expected initializer before ‘:’ token
../../../externals/codi/include/tapes/chunk.hpp:584:23: error: expected initializer before ‘:’ token
In file included from ../../../externals/codi/include/codi.hpp:35:0,
                 from ../../../Common/lib/../src/../include/././datatypes/codi_reverse_structure.hpp:39,
                 from ../../../Common/lib/../src/../include/././datatype_structure.hpp:51,
                 from ../../../Common/lib/../src/../include/./mpi_structure.hpp:46,
                 from ../../../Common/lib/../src/../include/config_structure.hpp:41,
                 from ../../../Common/lib/../src/config_structure.cpp:38:
../../../externals/codi/include/tapes/jacobiTape.hpp:70:13: error: ‘codi::Chunk1’ is not a template
../../../externals/codi/include/tapes/jacobiTape.hpp:75:13: error: ‘codi::Chunk2’ is not a template
../../../externals/codi/include/tapes/jacobiTape.hpp:80:13: error: ‘codi::Chunk2’ is not a template
../../../externals/codi/include/tapes/jacobiTape.hpp:113:13: error: ‘codi::Chunk1’ is not a template
../../../externals/codi/include/tapes/jacobiTape.hpp:118:13: error: ‘codi::Chunk2’ is not a template
../../../externals/codi/include/tapes/jacobiTape.hpp:123:13: error: ‘codi::Chunk2’ is not a template
../../../externals/codi/include/tapes/jacobiTape.hpp:152:26: error: expected initializer before ‘:’ token
In file included from ../../../externals/codi/include/codi.hpp:36:0,
                 from ../../../Common/lib/../src/../include/././datatypes/codi_reverse_structure.hpp:39,
                 from ../../../Common/lib/../src/../include/././datatype_structure.hpp:51,
                 from ../../../Common/lib/../src/../include/./mpi_structure.hpp:46,
                 from ../../../Common/lib/../src/../include/config_structure.hpp:41,
                 from ../../../Common/lib/../src/config_structure.cpp:38:
../../../externals/codi/include/tapes/jacobiIndexTape.hpp:69:13: error: ‘codi::Chunk2’ is not a template
../../../externals/codi/include/tapes/jacobiIndexTape.hpp:74:13: error: ‘codi::Chunk2’ is not a template
../../../externals/codi/include/tapes/jacobiIndexTape.hpp:79:13: error: ‘codi::Chunk2’ is not a template
../../../externals/codi/include/tapes/jacobiIndexTape.hpp:112:13: error: ‘codi::Chunk2’ is not a template
../../../externals/codi/include/tapes/jacobiIndexTape.hpp:117:13: error: ‘codi::Chunk2’ is not a template
../../../externals/codi/include/tapes/jacobiIndexTape.hpp:122:13: error: ‘codi::Chunk2’ is not a template
In file included from ../../../externals/codi/include/tapes/jacobiTape.hpp:42:0,
                 from ../../../externals/codi/include/codi.hpp:35,
                 from ../../../Common/lib/../src/../include/././datatypes/codi_reverse_structure.hpp:39,
                 from ../../../Common/lib/../src/../include/././datatype_structure.hpp:51,
                 from ../../../Common/lib/../src/../include/./mpi_structure.hpp:46,
                 from ../../../Common/lib/../src/../include/config_structure.hpp:41,
                 from ../../../Common/lib/../src/config_structure.cpp:38:
../../../externals/codi/include/tapes/singleChunkVector.hpp: In instantiation of ‘codi::SingleChunkVector<codi::Chunk2, codi::EmptyChunkVector>’:
../../../externals/codi/include/tapes/singleChunkVector.hpp:72:45:   instantiated from ‘codi::SingleChunkVector<codi::Chunk2, codi::SingleChunkVector<codi::Chunk2, codi::EmptyChunkVector> >’
../../../externals/codi/include/tapes/jacobiIndexTape.hpp:122:58:   instantiated from here
../../../externals/codi/include/tapes/singleChunkVector.hpp:113:15: error: ‘codi::SingleChunkVector<ChunkData, NestedVector>::chunk’ has incomplete type
../../../externals/codi/include/tapes/chunk.hpp:288:10: error: forward declaration of ‘struct codi::Chunk2’
../../../externals/codi/include/tapes/singleChunkVector.hpp: In instantiation of ‘codi::SingleChunkVector<codi::Chunk2, codi::SingleChunkVector<codi::Chunk2, codi::EmptyChunkVector> >’:
../../../externals/codi/include/tapes/jacobiIndexTape.hpp:122:58:   instantiated from here
../../../externals/codi/include/tapes/singleChunkVector.hpp:113:15: error: ‘codi::SingleChunkVector<ChunkData, NestedVector>::chunk’ has incomplete type
../../../externals/codi/include/tapes/chunk.hpp:288:10: error: forward declaration of ‘struct codi::Chunk2’
../../../externals/codi/include/tapes/singleChunkVector.hpp: In instantiation of ‘codi::SingleChunkVector<codi::Chunk2, codi::SingleChunkVector<codi::Chunk2, codi::SingleChunkVector<codi::Chunk2, codi::EmptyChunkVector> > >’:
../../../externals/codi/include/tapes/jacobiIndexTape.hpp:127:44:   instantiated from here
../../../externals/codi/include/tapes/singleChunkVector.hpp:113:15: error: ‘codi::SingleChunkVector<ChunkData, NestedVector>::chunk’ has incomplete type
../../../externals/codi/include/tapes/chunk.hpp:288:10: error: forward declaration of ‘struct codi::Chunk2’
In file included from ../../../externals/codi/include/codi.hpp:36:0,
                 from ../../../Common/lib/../src/../include/././datatypes/codi_reverse_structure.hpp:39,
                 from ../../../Common/lib/../src/../include/././datatype_structure.hpp:51,
                 from ../../../Common/lib/../src/../include/./mpi_structure.hpp:46,
                 from ../../../Common/lib/../src/../include/config_structure.hpp:41,
                 from ../../../Common/lib/../src/config_structure.cpp:38:
../../../externals/codi/include/tapes/jacobiIndexTape.hpp:156:31: error: expected initializer before ‘:’ token
In file included from ../../../externals/codi/include/codi.hpp:36:0,
                 from ../../../Common/lib/../src/../include/././datatypes/codi_reverse_structure.hpp:39,
                 from ../../../Common/lib/../src/../include/././datatype_structure.hpp:51,
                 from ../../../Common/lib/../src/../include/./mpi_structure.hpp:46,
                 from ../../../Common/lib/../src/../include/config_structure.hpp:41,
                 from ../../../Common/lib/../src/config_structure.cpp:38:
../../../externals/codi/include/tapes/jacobiIndexTape.hpp:482:55: error: expected initializer before ‘<’ token
In file included from ../../../externals/codi/include/codi.hpp:37:0,
                 from ../../../Common/lib/../src/../include/././datatypes/codi_reverse_structure.hpp:39,
                 from ../../../Common/lib/../src/../include/././datatype_structure.hpp:51,
                 from ../../../Common/lib/../src/../include/./mpi_structure.hpp:46,
                 from ../../../Common/lib/../src/../include/config_structure.hpp:41,
                 from ../../../Common/lib/../src/config_structure.cpp:38:
../../../externals/codi/include/tapes/primalValueTape.hpp:75:13: error: ‘codi::Chunk2’ is not a template
../../../externals/codi/include/tapes/primalValueTape.hpp:80:13: error: ‘codi::Chunk1’ is not a template
../../../externals/codi/include/tapes/primalValueTape.hpp:85:13: error: ‘codi::Chunk1’ is not a template
../../../externals/codi/include/tapes/primalValueTape.hpp:90:13: error: ‘codi::Chunk2’ is not a template
../../../externals/codi/include/tapes/primalValueTape.hpp:131:13: error: ‘codi::Chunk2’ is not a template
../../../externals/codi/include/tapes/primalValueTape.hpp:136:13: error: ‘codi::Chunk1’ is not a template
../../../externals/codi/include/tapes/primalValueTape.hpp:141:13: error: ‘codi::Chunk1’ is not a template
../../../externals/codi/include/tapes/primalValueTape.hpp:146:13: error: ‘codi::Chunk2’ is not a template
In file included from ../../../externals/codi/include/codi.hpp:38:0,
                 from ../../../Common/lib/../src/../include/././datatypes/codi_reverse_structure.hpp:39,
                 from ../../../Common/lib/../src/../include/././datatype_structure.hpp:51,
                 from ../../../Common/lib/../src/../include/./mpi_structure.hpp:46,
                 from ../../../Common/lib/../src/../include/config_structure.hpp:41,
                 from ../../../Common/lib/../src/config_structure.cpp:38:
../../../externals/codi/include/tapes/primalValueIndexTape.hpp:76:13: error: ‘codi::Chunk4’ is not a template
../../../externals/codi/include/tapes/primalValueIndexTape.hpp:81:13: error: ‘codi::Chunk1’ is not a template
../../../externals/codi/include/tapes/primalValueIndexTape.hpp:86:13: error: ‘codi::Chunk1’ is not a template
../../../externals/codi/include/tapes/primalValueIndexTape.hpp:91:13: error: ‘codi::Chunk2’ is not a template
../../../externals/codi/include/tapes/primalValueIndexTape.hpp:133:13: error: ‘codi::Chunk4’ is not a template
../../../externals/codi/include/tapes/primalValueIndexTape.hpp:138:13: error: ‘codi::Chunk1’ is not a template
../../../externals/codi/include/tapes/primalValueIndexTape.hpp:143:13: error: ‘codi::Chunk1’ is not a template
../../../externals/codi/include/tapes/primalValueIndexTape.hpp:148:13: error: ‘codi::Chunk2’ is not a template
In file included from ../../../externals/codi/include/tapes/jacobiTape.hpp:42:0,
                 from ../../../externals/codi/include/codi.hpp:35,
                 from ../../../Common/lib/../src/../include/././datatypes/codi_reverse_structure.hpp:39,
                 from ../../../Common/lib/../src/../include/././datatype_structure.hpp:51,
                 from ../../../Common/lib/../src/../include/./mpi_structure.hpp:46,
                 from ../../../Common/lib/../src/../include/config_structure.hpp:41,
                 from ../../../Common/lib/../src/config_structure.cpp:38:
../../../externals/codi/include/tapes/singleChunkVector.hpp: In instantiation of ‘codi::SingleChunkVector<codi::Chunk4, codi::EmptyChunkVector>’:
../../../externals/codi/include/tapes/singleChunkVector.hpp:72:45:   recursively instantiated from ‘codi::SingleChunkVector<codi::Chunk1, codi::SingleChunkVector<codi::Chunk4, codi::EmptyChunkVector> >’
../../../externals/codi/include/tapes/singleChunkVector.hpp:72:45:   instantiated from ‘codi::SingleChunkVector<codi::Chunk1, codi::SingleChunkVector<codi::Chunk1, codi::SingleChunkVector<codi::Chunk4, codi::EmptyChunkVector> > >’
../../../externals/codi/include/tapes/primalValueIndexTape.hpp:148:65:   instantiated from here
../../../externals/codi/include/tapes/singleChunkVector.hpp:113:15: error: ‘codi::SingleChunkVector<ChunkData, NestedVector>::chunk’ has incomplete type
../../../externals/codi/include/tapes/chunk.hpp:584:10: error: forward declaration of ‘struct codi::Chunk4’
../../../externals/codi/include/tapes/singleChunkVector.hpp: In instantiation of ‘codi::SingleChunkVector<codi::Chunk1, codi::SingleChunkVector<codi::Chunk4, codi::EmptyChunkVector> >’:
../../../externals/codi/include/tapes/singleChunkVector.hpp:72:45:   instantiated from ‘codi::SingleChunkVector<codi::Chunk1, codi::SingleChunkVector<codi::Chunk1, codi::SingleChunkVector<codi::Chunk4, codi::EmptyChunkVector> > >’
../../../externals/codi/include/tapes/primalValueIndexTape.hpp:148:65:   instantiated from here
../../../externals/codi/include/tapes/singleChunkVector.hpp:113:15: error: ‘codi::SingleChunkVector<ChunkData, NestedVector>::chunk’ has incomplete type
../../../externals/codi/include/tapes/chunk.hpp:169:10: error: forward declaration of ‘struct codi::Chunk1’
../../../externals/codi/include/tapes/singleChunkVector.hpp: In instantiation of ‘codi::SingleChunkVector<codi::Chunk1, codi::SingleChunkVector<codi::Chunk1, codi::SingleChunkVector<codi::Chunk4, codi::EmptyChunkVector> > >’:
../../../externals/codi/include/tapes/primalValueIndexTape.hpp:148:65:   instantiated from here
../../../externals/codi/include/tapes/singleChunkVector.hpp:113:15: error: ‘codi::SingleChunkVector<ChunkData, NestedVector>::chunk’ has incomplete type
../../../externals/codi/include/tapes/chunk.hpp:169:10: error: forward declaration of ‘struct codi::Chunk1’
../../../externals/codi/include/tapes/singleChunkVector.hpp: In instantiation of ‘codi::SingleChunkVector<codi::Chunk2, codi::SingleChunkVector<codi::Chunk1, codi::SingleChunkVector<codi::Chunk1, codi::SingleChunkVector<codi::Chunk4, codi::EmptyChunkVector> > > >’:
../../../externals/codi/include/tapes/primalValueIndexTape.hpp:153:44:   instantiated from here
../../../externals/codi/include/tapes/singleChunkVector.hpp:113:15: error: ‘codi::SingleChunkVector<ChunkData, NestedVector>::chunk’ has incomplete type
../../../externals/codi/include/tapes/chunk.hpp:288:10: error: forward declaration of ‘struct codi::Chunk2’
In file included from ../../../Common/lib/../src/../include/././datatypes/codi_reverse_structure.hpp:39:0,
                 from ../../../Common/lib/../src/../include/././datatype_structure.hpp:51,
                 from ../../../Common/lib/../src/../include/./mpi_structure.hpp:46,
                 from ../../../Common/lib/../src/../include/config_structure.hpp:41,
                 from ../../../Common/lib/../src/config_structure.cpp:38:
TBC
tomp1993 is offline   Reply With Quote

Old   March 9, 2018, 07:19
Default continued
  #2
Member
 
tom pratt
Join Date: Jan 2016
Posts: 55
Rep Power: 10
tomp1993 is on a distinguished road
Continued error message:
Code:
../../../externals/codi/include/codi.hpp:72:22: error: ‘codi::ForwardEvaluation’ is not a template
../../../externals/codi/include/codi.hpp:84:3: error: expected unqualified-id before ‘using’
In file included from ../../../Common/lib/../src/../include/././datatypes/codi_reverse_structure.hpp:39:0,
                 from ../../../Common/lib/../src/../include/././datatype_structure.hpp:51,
                 from ../../../Common/lib/../src/../include/./mpi_structure.hpp:46,
                 from ../../../Common/lib/../src/../include/config_structure.hpp:41,
                 from ../../../Common/lib/../src/config_structure.cpp:38:
../../../externals/codi/include/codi.hpp:95:3: error: expected unqualified-id before ‘using’
../../../externals/codi/include/codi.hpp:127:22: error: ‘codi::JacobiTape’ is not a template
../../../externals/codi/include/codi.hpp:139:3: error: expected unqualified-id before ‘using’
../../../externals/codi/include/codi.hpp:151:3: error: expected unqualified-id before ‘using’
../../../externals/codi/include/codi.hpp:189:22: error: ‘codi::JacobiTape’ is not a template
../../../externals/codi/include/codi.hpp:200:3: error: expected unqualified-id before ‘using’
../../../externals/codi/include/codi.hpp:211:22: error: ‘codi::JacobiIndexTape’ is not a template
../../../externals/codi/include/codi.hpp:223:3: error: expected unqualified-id before ‘using’
../../../externals/codi/include/codi.hpp:234:3: error: expected unqualified-id before ‘using’
../../../externals/codi/include/codi.hpp:241:22: error: ‘codi::JacobiIndexTape’ is not a template
../../../externals/codi/include/codi.hpp:252:3: error: expected unqualified-id before ‘using’
../../../externals/codi/include/codi.hpp:274:3: error: expected unqualified-id before ‘using’
../../../externals/codi/include/codi.hpp:285:3: error: expected unqualified-id before ‘using’
../../../externals/codi/include/codi.hpp:303:3: error: expected unqualified-id before ‘using’
../../../externals/codi/include/codi.hpp:322:3: error: expected unqualified-id before ‘using’
../../../externals/codi/include/codi.hpp:333:3: error: expected unqualified-id before ‘using’
../../../externals/codi/include/codi.hpp:351:3: error: expected unqualified-id before ‘using’
In file included from ../../../externals/codi/include/codi.hpp:31:0,
                 from ../../../Common/lib/../src/../include/././datatypes/codi_reverse_structure.hpp:39,
                 from ../../../Common/lib/../src/../include/././datatype_structure.hpp:51,
                 from ../../../Common/lib/../src/../include/./mpi_structure.hpp:46,
                 from ../../../Common/lib/../src/../include/config_structure.hpp:41,
                 from ../../../Common/lib/../src/config_structure.cpp:38:
../../../externals/codi/include/activeReal.hpp: In instantiation of ‘codi::ActiveReal<codi::JacobiTape>’:
../../../Common/lib/../src/../include/././ad_structure.inl:45:20:   instantiated from here
../../../externals/codi/include/activeReal.hpp:74:9: error: invalid use of incomplete type ‘struct codi::JacobiTape’
../../../externals/codi/include/tapes/jacobiTape.hpp:152:9: error: forward declaration of ‘struct codi::JacobiTape’
../../../externals/codi/include/activeReal.hpp:80:33: error: invalid use of incomplete type ‘struct codi::JacobiTape’
../../../externals/codi/include/tapes/jacobiTape.hpp:152:9: error: forward declaration of ‘struct codi::JacobiTape’
../../../externals/codi/include/activeReal.hpp:103:52: error: invalid use of incomplete type ‘struct codi::JacobiTape’
../../../externals/codi/include/tapes/jacobiTape.hpp:152:9: error: forward declaration of ‘struct codi::JacobiTape’
../../../externals/codi/include/activeReal.hpp:108:41: error: invalid use of incomplete type ‘struct codi::JacobiTape’
../../../externals/codi/include/tapes/jacobiTape.hpp:152:9: error: forward declaration of ‘struct codi::JacobiTape’
../../../externals/codi/include/activeReal.hpp:113:42: error: invalid use of incomplete type ‘struct codi::JacobiTape’
../../../externals/codi/include/tapes/jacobiTape.hpp:152:9: error: forward declaration of ‘struct codi::JacobiTape’
../../../externals/codi/include/activeReal.hpp:171:17: error: invalid use of incomplete type ‘struct codi::JacobiTape’
../../../externals/codi/include/tapes/jacobiTape.hpp:152:9: error: forward declaration of ‘struct codi::JacobiTape’
../../../externals/codi/include/activeReal.hpp:397:35: error: invalid use of incomplete type ‘struct codi::JacobiTape’
../../../externals/codi/include/tapes/jacobiTape.hpp:152:9: error: forward declaration of ‘struct codi::JacobiTape’
../../../externals/codi/include/activeReal.hpp:427:35: error: invalid use of incomplete type ‘struct codi::JacobiTape’
../../../externals/codi/include/tapes/jacobiTape.hpp:152:9: error: forward declaration of ‘struct codi::JacobiTape’
../../../externals/codi/include/activeReal.hpp:437:35: error: invalid use of incomplete type ‘struct codi::JacobiTape’
../../../externals/codi/include/tapes/jacobiTape.hpp:152:9: error: forward declaration of ‘struct codi::JacobiTape’
../../../externals/codi/include/activeReal.hpp:447:35: error: invalid use of incomplete type ‘struct codi::JacobiTape’
../../../externals/codi/include/tapes/jacobiTape.hpp:152:9: error: forward declaration of ‘struct codi::JacobiTape’
../../../externals/codi/include/activeReal.hpp:457:35: error: invalid use of incomplete type ‘struct codi::JacobiTape’
../../../externals/codi/include/tapes/jacobiTape.hpp:152:9: error: forward declaration of ‘struct codi::JacobiTape’
In file included from ../../../Common/lib/../src/../include/././ad_structure.hpp:189:0,
                 from ../../../Common/lib/../src/../include/././datatype_structure.hpp:60,
                 from ../../../Common/lib/../src/../include/./mpi_structure.hpp:46,
                 from ../../../Common/lib/../src/../include/config_structure.hpp:41,
                 from ../../../Common/lib/../src/config_structure.cpp:38:
../../../Common/lib/../src/../include/././ad_structure.inl:49:45: error: template argument 1 is invalid
../../../Common/lib/../src/../include/././ad_structure.inl:49:45: error: template argument 2 is invalid
../../../Common/lib/../src/../include/././ad_structure.inl:49:58: error: invalid type in declaration before ‘;’ token
../../../Common/lib/../src/../include/././ad_structure.inl:65:10: error:  ‘Position’ in ‘codi::ActiveReal<codi::JacobiTape>::TapeType {aka  struct codi::JacobiTape}’ does not name a type
../../../Common/lib/../src/../include/././ad_structure.inl:67:45: error: template argument 1 is invalid
../../../Common/lib/../src/../include/././ad_structure.inl:67:45: error: template argument 2 is invalid
../../../Common/lib/../src/../include/././ad_structure.inl:67:63: error: invalid type in declaration before ‘;’ token
../../../Common/lib/../src/../include/././ad_structure.inl: In function ‘void AD::RegisterInput(su2double&)’:
../../../Common/lib/../src/../include/././ad_structure.inl:71:61: error:  invalid use of incomplete type  ‘codi::ActiveReal<codi::JacobiTape>::TapeType {aka struct  codi::JacobiTape}’
../../../externals/codi/include/tapes/jacobiTape.hpp:152:9: error:  forward declaration of  ‘codi::ActiveReal<codi::JacobiTape>::TapeType {aka struct  codi::JacobiTape}’
../../../Common/lib/../src/../include/././ad_structure.inl:72:58: error:  request for member ‘push_back’ in ‘AD::inputValues’, which is of  non-class type ‘int’
../../../Common/lib/../src/../include/././ad_structure.inl:72:73: error: ‘su2double’ has no member named ‘getGradientData’
../../../Common/lib/../src/../include/././ad_structure.inl: In function ‘void AD::RegisterOutput(su2double&)’:
../../../Common/lib/../src/../include/././ad_structure.inl:74:62: error:  invalid use of incomplete type  ‘codi::ActiveReal<codi::JacobiTape>::TapeType {aka struct  codi::JacobiTape}’
../../../externals/codi/include/tapes/jacobiTape.hpp:152:9: error:  forward declaration of  ‘codi::ActiveReal<codi::JacobiTape>::TapeType {aka struct  codi::JacobiTape}’
../../../Common/lib/../src/../include/././ad_structure.inl: In function ‘void AD::ResetInput(su2double&)’:
../../../Common/lib/../src/../include/././ad_structure.inl:76:49: error: ‘su2double’ has no member named ‘getGradientData’
../../../Common/lib/../src/../include/././ad_structure.inl: In function ‘void AD::StartRecording()’:
../../../Common/lib/../src/../include/././ad_structure.inl:78:47: error:  invalid use of incomplete type  ‘codi::ActiveReal<codi::JacobiTape>::TapeType {aka struct  codi::JacobiTape}’
../../../externals/codi/include/tapes/jacobiTape.hpp:152:9: error:  forward declaration of  ‘codi::ActiveReal<codi::JacobiTape>::TapeType {aka struct  codi::JacobiTape}’
../../../Common/lib/../src/../include/././ad_structure.inl: In function ‘void AD::StopRecording()’:
../../../Common/lib/../src/../include/././ad_structure.inl:80:46: error:  invalid use of incomplete type  ‘codi::ActiveReal<codi::JacobiTape>::TapeType {aka struct  codi::JacobiTape}’
../../../externals/codi/include/tapes/jacobiTape.hpp:152:9: error:  forward declaration of  ‘codi::ActiveReal<codi::JacobiTape>::TapeType {aka struct  codi::JacobiTape}’
../../../Common/lib/../src/../include/././ad_structure.inl: In function ‘void AD::ClearAdjoints()’:
../../../Common/lib/../src/../include/././ad_structure.inl:82:46: error:  invalid use of incomplete type  ‘codi::ActiveReal<codi::JacobiTape>::TapeType {aka struct  codi::JacobiTape}’
../../../externals/codi/include/tapes/jacobiTape.hpp:152:9: error:  forward declaration of  ‘codi::ActiveReal<codi::JacobiTape>::TapeType {aka struct  codi::JacobiTape}’
../../../Common/lib/../src/../include/././ad_structure.inl: In function ‘void AD::ComputeAdjoint()’:
../../../Common/lib/../src/../include/././ad_structure.inl:84:47: error:  invalid use of incomplete type  ‘codi::ActiveReal<codi::JacobiTape>::TapeType {aka struct  codi::JacobiTape}’
../../../externals/codi/include/tapes/jacobiTape.hpp:152:9: error:  forward declaration of  ‘codi::ActiveReal<codi::JacobiTape>::TapeType {aka struct  codi::JacobiTape}’
../../../Common/lib/../src/../include/././ad_structure.inl: In function ‘void AD::Reset()’:
../../../Common/lib/../src/../include/././ad_structure.inl:88:21: error:  request for member ‘size’ in ‘AD::inputValues’, which is of non-class  type ‘int’
../../../Common/lib/../src/../include/././ad_structure.inl:89:17: error:  invalid use of incomplete type  ‘codi::ActiveReal<codi::JacobiTape>::TapeType {aka struct  codi::JacobiTape}’
../../../externals/codi/include/tapes/jacobiTape.hpp:152:9: error:  forward declaration of  ‘codi::ActiveReal<codi::JacobiTape>::TapeType {aka struct  codi::JacobiTape}’
../../../Common/lib/../src/../include/././ad_structure.inl:91:19: error:  request for member ‘clear’ in ‘AD::inputValues’, which is of non-class  type ‘int’
../../../Common/lib/../src/../include/././ad_structure.inl: In function ‘void AD::SetPreaccIn(const su2double&)’:
../../../Common/lib/../src/../include/././ad_structure.inl:98:26: error:  request for member ‘push_back’ in ‘AD::localInputValues’, which is of  non-class type ‘int’
../../../Common/lib/../src/../include/././ad_structure.inl:98:41: error: ‘const su2double’ has no member named ‘getGradientData’
../../../Common/lib/../src/../include/././ad_structure.inl: In function ‘void AD::SetPreaccIn(const su2double*, int)’:
../../../Common/lib/../src/../include/././ad_structure.inl:107:28:  error: request for member ‘push_back’ in ‘AD::localInputValues’, which  is of non-class type ‘int’
../../../Common/lib/../src/../include/././ad_structure.inl:107:46:  error: ‘const su2double’ has no member named ‘getGradientData’
../../../Common/lib/../src/../include/././ad_structure.inl: In function  ‘void AD::SetPreaccIn(const su2double* const*, int, int)’:
../../../Common/lib/../src/../include/././ad_structure.inl:118:30:  error: request for member ‘push_back’ in ‘AD::localInputValues’, which  is of non-class type ‘int’
../../../Common/lib/../src/../include/././ad_structure.inl:118:51:  error: ‘const su2double’ has no member named ‘getGradientData’
../../../Common/lib/../src/../include/././ad_structure.inl: In function ‘void AD::StartPreacc()’:
../../../Common/lib/../src/../include/././ad_structure.inl:126:19:  error: invalid use of incomplete type  ‘codi::ActiveReal<codi::JacobiTape>::TapeType {aka struct  codi::JacobiTape}’
../../../externals/codi/include/tapes/jacobiTape.hpp:152:9: error:  forward declaration of  ‘codi::ActiveReal<codi::JacobiTape>::TapeType {aka struct  codi::JacobiTape}’
../../../Common/lib/../src/../include/././ad_structure.inl:127:7: error: ‘StartPosition’ was not declared in this scope
../../../Common/lib/../src/../include/././ad_structure.inl:127:33:  error: invalid use of incomplete type  ‘codi::ActiveReal<codi::JacobiTape>::TapeType {aka struct  codi::JacobiTape}’
../../../externals/codi/include/tapes/jacobiTape.hpp:152:9: error:  forward declaration of  ‘codi::ActiveReal<codi::JacobiTape>::TapeType {aka struct  codi::JacobiTape}’
In file included from ../../../Common/lib/../src/../include/././datatype_structure.inl:178:0,
                 from ../../../Common/lib/../src/../include/././datatype_structure.hpp:130,
                 from ../../../Common/lib/../src/../include/./mpi_structure.hpp:46,
                 from ../../../Common/lib/../src/../include/config_structure.hpp:41,
                 from ../../../Common/lib/../src/config_structure.cpp:38:
../../../Common/lib/../src/../include/././datatypes/codi_reverse_structure.inl:  In function ‘void SU2_TYPE::SetValue(su2double&, const  double&)’:
../../../Common/lib/../src/../include/././datatypes/codi_reverse_structure.inl:40:66:  error: ‘su2double’ has no member named ‘setValue’
../../../Common/lib/../src/../include/././datatypes/codi_reverse_structure.inl:  In function ‘double SU2_TYPE::GetValue(const su2double&)’:
../../../Common/lib/../src/../include/././datatypes/codi_reverse_structure.inl:42:63:  error: ‘const su2double’ has no member named ‘getValue’
../../../Common/lib/../src/../include/././datatypes/codi_reverse_structure.inl:  In function ‘void SU2_TYPE::SetSecondary(su2double&, const  double&)’:
../../../Common/lib/../src/../include/././datatypes/codi_reverse_structure.inl:44:70:  error: ‘su2double’ has no member named ‘setGradient’
../../../Common/lib/../src/../include/././datatypes/codi_reverse_structure.inl:  In function ‘double SU2_TYPE::GetSecondary(const su2double&)’:
../../../Common/lib/../src/../include/././datatypes/codi_reverse_structure.inl:46:76:  error: invalid use of incomplete type  ‘codi::ActiveReal<codi::JacobiTape>::TapeType {aka struct  codi::JacobiTape}’
../../../externals/codi/include/tapes/jacobiTape.hpp:152:9: error:  forward declaration of  ‘codi::ActiveReal<codi::JacobiTape>::TapeType {aka struct  codi::JacobiTape}’
In file included from ../../../Common/lib/../src/../include/././datatype_structure.inl:178:0,
                 from ../../../Common/lib/../src/../include/././datatype_structure.hpp:130,
                 from ../../../Common/lib/../src/../include/./mpi_structure.hpp:46,
                 from ../../../Common/lib/../src/../include/config_structure.hpp:41,
                 from ../../../Common/lib/../src/config_structure.cpp:38:
../../../Common/lib/../src/../include/././datatypes/codi_reverse_structure.inl:46:132:  error: invalid types ‘int[int]’ for array subscript
../../../Common/lib/../src/../include/././datatypes/codi_reverse_structure.inl:  In function ‘double SU2_TYPE::GetDerivative(const su2double&)’:
../../../Common/lib/../src/../include/././datatypes/codi_reverse_structure.inl:48:77:  error: invalid use of incomplete type  ‘codi::ActiveReal<codi::JacobiTape>::TapeType {aka struct  codi::JacobiTape}’
../../../externals/codi/include/tapes/jacobiTape.hpp:152:9: error:  forward declaration of  ‘codi::ActiveReal<codi::JacobiTape>::TapeType {aka struct  codi::JacobiTape}’
../../../Common/lib/../src/../include/././datatypes/codi_reverse_structure.inl:48:133:  error: invalid types ‘int[int]’ for array subscript
../../../Common/lib/../src/../include/././datatypes/codi_reverse_structure.inl:  In function ‘void SU2_TYPE::SetDerivative(su2double&, const  double&)’:
../../../Common/lib/../src/../include/././datatypes/codi_reverse_structure.inl:50:71:  error: ‘su2double’ has no member named ‘setGradient’
In file included from  ../../../externals/medi/include/medi/ampi/../../../generated/medi/../../include/medi/ampi/typePassive.hpp:33:0,
                 from ../../../externals/medi/include/medi/ampi/../../../generated/medi/ampiDefinitions.h:33,
                 from ../../../externals/medi/include/medi/ampi/async.hpp:33,
                 from ../../../externals/medi/include/medi/ampi/ampi.hpp:33,
                 from ../../../externals/medi/include/medi/medi.hpp:33,
                 from ../../../Common/lib/../src/../include/./mpi_structure.hpp:55,
                 from ../../../Common/lib/../src/../include/config_structure.hpp:41,
                 from ../../../Common/lib/../src/config_structure.cpp:38:
../../../externals/medi/include/medi/ampi/../../../generated/medi/../../include/medi/ampi/../adToolPassive.hpp: At global scope:
../../../externals/medi/include/medi/ampi/../../../generated/medi/../../include/medi/ampi/../adToolPassive.hpp:45:29:  error: expected initializer before ‘:’ token
../../../Common/lib/../src/config_structure.cpp:7475:1: error: expected ‘}’ at end of input
In file included from ../../../externals/codi/include/codi.hpp:31:0,
                 from ../../../Common/lib/../src/../include/././datatypes/codi_reverse_structure.hpp:39,
                 from ../../../Common/lib/../src/../include/././datatype_structure.hpp:51,
                 from ../../../Common/lib/../src/../include/./mpi_structure.hpp:46,
                 from ../../../Common/lib/../src/../include/config_structure.hpp:41,
                 from ../../../Common/lib/../src/config_structure.cpp:38:
../../../externals/codi/include/activeReal.hpp: In instantiation of  ‘codi::JacobiTape codi::ActiveReal<codi::JacobiTape>::globalTape’:
../../../externals/codi/include/activeReal.hpp:330:52:   instantiated  from ‘bool codi::ActiveReal<Tape>::isActive() const [with Tape =  codi::JacobiTape]’
../../../Common/lib/../src/../include/././ad_structure.inl:97:25:   instantiated from here
../../../externals/codi/include/activeReal.hpp:642:8: error:  ‘codi::ActiveReal<codi::JacobiTape>::globalTape’ has incomplete  type
In file included from ../../../externals/codi/include/codi.hpp:31:0,
                 from ../../../Common/lib/../src/../include/././datatypes/codi_reverse_structure.hpp:39,
                 from ../../../Common/lib/../src/../include/././datatype_structure.hpp:51,
                 from ../../../Common/lib/../src/../include/./mpi_structure.hpp:46,
                 from ../../../Common/lib/../src/../include/config_structure.hpp:41,
                 from ../../../Common/lib/../src/config_structure.cpp:38:
../../../externals/codi/include/activeReal.hpp: In member function ‘bool  codi::ActiveReal<Tape>::isActive() const [with Tape =  codi::JacobiTape]’:
../../../Common/lib/../src/../include/././ad_structure.inl:97:25:   instantiated from here
../../../externals/codi/include/activeReal.hpp:330:52: error: ‘const  class codi::ActiveReal<codi::JacobiTape>’ has no member named  ‘gradientData’
make[2]: *** [../src/libSU2_AD_a-config_structure.o] Error 1
make[2]: Leaving directory `/users/mep15tpp/SU2-6.0.0/SU2-master/SU2_AD/Common/lib'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/users/mep15tpp/SU2-6.0.0/SU2-master/SU2_AD'
make: *** [install-SU2_AD] Error 2
i'm really not sure where to go from here, any help would be greatly appreciated!
thanks
Tom
tomp1993 is offline   Reply With Quote

Old   March 9, 2018, 10:58
Default
  #3
Member
 
tom pratt
Join Date: Jan 2016
Posts: 55
Rep Power: 10
tomp1993 is on a distinguished road
more info:
the kernel is Scientific Linux 5.11 and the CPU's are lx24-amd64
if there is any other info that might help solve this one please let me know.
Many thanks
Tom
tomp1993 is offline   Reply With Quote

Old   March 17, 2018, 07:25
Default
  #4
Super Moderator
 
Tim Albring
Join Date: Sep 2015
Posts: 195
Rep Power: 11
talbring is on a distinguished road
Hi Tom,

I just tested your combination of gcc v4.9 and openmpi v3.0 on our cluster and it compiles fine. Make sure that make really uses these versions. Remember that you may have to run preconfigure.py again after updating compilers.

Tim
__________________
Developer Director @ SU2 Foundation

Get involved:
talbring is offline   Reply With Quote

Reply

Tags
error, make-install, su2_ad


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
CFX11 + Fortran compiler ? Mohan CFX 20 March 30, 2011 19:56
OpenFOAM with IBM AIX matthias OpenFOAM Installation 20 March 25, 2008 03:36
Compiling OpenFOAM13 on AMD64 with OpenSUSE 101 silent_missile OpenFOAM Installation 5 August 10, 2007 08:31
a way to make lots of money quick and easy no lies Dob Main CFD Forum 0 October 10, 2006 17:45
FOAM installation error gcc amp g hanks OpenFOAM Installation 9 January 26, 2006 15:14


All times are GMT -4. The time now is 13:11.