[molpro-user] compiling c++ part of code with IBM compiler

amit sharma amit0206.s at gmail.com
Thu Feb 7 22:15:18 GMT 2013


Hi,
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 subdirs.mk.
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.
Here are the errors
$(CXX) -c $(CXXFLAGS) -O3 ItfTensor.cpp

where CXXFLAGS is =

-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

"ItfTensor.cpp", line 2274.17: 1540-0274 (S) The name lookup for
"CanonicalizeIndexPair2" did not find a declaration.
"ItfTensor.cpp", line 2274.17: 1540-1292 (I) Static declarations are not
considered for a function call if the function is not qualified.
"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".
"ItfTensor.cpp", line 2279.17: 1540-0274 (S) The name lookup for
"CanonicalizeIndexPairGen" did not find a declaration.
"ItfTensor.cpp", line 2279.17: 1540-1292 (I) Static declarations are not
considered for a function call if the function is not qualified.
"ItfTensor.cpp", line 2274.17: 1540-0274 (S) The name lookup for
"CanonicalizeIndexPair2" did not find a declaration.
"ItfTensor.cpp", line 2274.17: 1540-1292 (I) Static declarations are not
considered for a function call if the function is not qualified.
"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".
"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".
"ItfTensor.cpp", line 2279.17: 1540-0274 (S) The name lookup for
"CanonicalizeIndexPairGen" did not find a declaration.
"ItfTensor.cpp", line 2279.17: 1540-1292 (I) Static declarations are not
considered for a function call if the function is not qualified.
"ItfTensor.cpp", line 2274.17: 1540-0274 (S) The name lookup for
"CanonicalizeIndexPair2" did not find a declaration.
"ItfTensor.cpp", line 2274.17: 1540-1292 (I) Static declarations are not
considered for a function call if the function is not qualified.
"ItfTensor.cpp", line 2248.6: 1540-0700 (I) The previous message was
produced while processing
"FIndexCanonicalizer::Canonicalize<FBlockRange>(FBlockRange &, FSlotOrder
&, const FBlockRange &) const".
"ItfTensor.cpp", line 2279.17: 1540-0274 (S) The name lookup for
"CanonicalizeIndexPairGen" did not find a declaration.
"ItfTensor.cpp", line 2279.17: 1540-1292 (I) Static declarations are not
considered for a function call if the function is not qualified.
make[2]: *** [ItfTensor.o] Error 1


>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
"ItfAlgoSet.cpp", line 683.27: 1540-1187 (S) "GenerateAlgo" must not have
default arguments.

Thx
Amit
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.molpro.net/pipermail/molpro-user/attachments/20130207/aa4b90fc/attachment.html>


More information about the Molpro-user mailing list