Hi,<div>I am trying to compile Molpro 2012 with IBM compiler on BG/P. There were issues with the fortran part of the code which I was able to resolve. I had to declare separate flags for .F and .F90 and make changes in <a href="http://subdirs.mk">subdirs.mk</a>. The fortran part has been compiled. I am getting errors when compiling the c++ part of the package, mostly in src/cic subdirectory. Similar errors have been reported on IBM forums at some point of time and seems to have been resolved. Maybe I am missing a flag that someone can point me to or I might be using wrong -D flag.</div>
<div>Here are the errors</div><div><div>$(CXX) -c $(CXXFLAGS) -O3 ItfTensor.cpp</div><div><br></div><div>where CXXFLAGS is = </div><div><br></div><div>-qarch=450d -qtune=450 -DMOLPRO -D_I8_ -DBLAS_INT=8 -DLAPACK_INT=8 -DMOLPRO_FORCE_VECTOR -DMOLPRO_HPDIR -DMOLPRO_NEXTSCALAR -DMOLPRO_NO_RECURRENCE -DMOLPRO_NOVECTOR -DMOLPRO_SCALAR -DMOLPRO_SHORTLOOP -D_MOLCAS_MPP_ -I. -I.. -I../Molcas/Include -I../boost -qidirfirst</div>
<div><br></div><div>"ItfTensor.cpp", line 2274.17: 1540-0274 (S) The name lookup for "CanonicalizeIndexPair2" did not find a declaration.</div><div>"ItfTensor.cpp", line 2274.17: 1540-1292 (I) Static declarations are not considered for a function call if the function is not qualified.</div>
<div>"ItfTensor.cpp", line 2248.6: 1540-0700 (I) The previous message was produced while processing "FIndexCanonicalizer::Canonicalize<TArrayFix<signed char,6,unsigned int> >(TArrayFix<signed char,6,unsigned int> &, FSlotOrder &, const TArrayFix<signed char,6,unsigned int> &) const".</div>
<div>"ItfTensor.cpp", line 2279.17: 1540-0274 (S) The name lookup for "CanonicalizeIndexPairGen" did not find a declaration.</div><div>"ItfTensor.cpp", line 2279.17: 1540-1292 (I) Static declarations are not considered for a function call if the function is not qualified.</div>
<div>"ItfTensor.cpp", line 2274.17: 1540-0274 (S) The name lookup for "CanonicalizeIndexPair2" did not find a declaration.</div><div>"ItfTensor.cpp", line 2274.17: 1540-1292 (I) Static declarations are not considered for a function call if the function is not qualified.</div>
<div>"ItfTensor.cpp", line 2248.6: 1540-0700 (I) The previous message was produced while processing "FIndexCanonicalizer::Canonicalize<TArrayFix<unsigned long long,6,unsigned int> >(TArrayFix<unsigned long long,6,unsigned int> &, FSlotOrder &, const TArrayFix<unsigned long long,6,unsigned int> &) const".</div>
<div>"ItfTensor.cpp", line 574.41: 1540-0700 (I) The previous message was produced while processing "FTensorShapeCut::MakeBlockEntries(FBlockEntry *&, FBlockCount &, FMemoryStack &, const FBlockRange &, const FSlotAccessModes &, uint) const".</div>
<div>"ItfTensor.cpp", line 2279.17: 1540-0274 (S) The name lookup for "CanonicalizeIndexPairGen" did not find a declaration.</div><div>"ItfTensor.cpp", line 2279.17: 1540-1292 (I) Static declarations are not considered for a function call if the function is not qualified.</div>
<div>"ItfTensor.cpp", line 2274.17: 1540-0274 (S) The name lookup for "CanonicalizeIndexPair2" did not find a declaration.</div><div>"ItfTensor.cpp", line 2274.17: 1540-1292 (I) Static declarations are not considered for a function call if the function is not qualified.</div>
<div>"ItfTensor.cpp", line 2248.6: 1540-0700 (I) The previous message was produced while processing "FIndexCanonicalizer::Canonicalize<FBlockRange>(FBlockRange &, FSlotOrder &, const FBlockRange &) const".</div>
<div>"ItfTensor.cpp", line 2279.17: 1540-0274 (S) The name lookup for "CanonicalizeIndexPairGen" did not find a declaration.</div><div>"ItfTensor.cpp", line 2279.17: 1540-1292 (I) Static declarations are not considered for a function call if the function is not qualified.</div>
<div>make[2]: *** [ItfTensor.o] Error 1</div></div><div><br></div><div><br></div><div><div>>mpixlcxx -qarch=450d -qtune=450 -DMOLPRO -D_I8_ -DBLAS_INT=8 -DLAPACK_INT=8 -DMOLPRO_FORCE_VECTOR -DMOLPRO_HPDIR -DMOLPRO_NEXTSCALAR -DMOLPRO_NO_RECURRENCE -DMOLPRO_NOVECTOR -DMOLPRO_SCALAR -DMOLPRO_SHORTLOOP -D_MOLCAS_MPP_ -I. -I.. -I../Molcas/Include -I../boost -qidirfirst -c ItfAlgoSet.cpp</div>
<div>"ItfAlgoSet.cpp", line 683.27: 1540-1187 (S) "GenerateAlgo" must not have default arguments.</div></div><div><br></div><div>Thx</div><div>Amit</div><div><br></div><div><br></div><div><br></div>