[Trilinos-Users] Cannot compile ML

Martin Vymazal martin.vymazal at vki.ac.be
Mon Mar 7 04:46:39 MST 2011


Hello,

  I downloaded trilinos-10.6.2 and used my old script to configure the  
build. Unfortunately, the build fails with the following error message:

  78%] Building CXX object  
packages/ml/src/CMakeFiles/ml.dir/Coarsen/ml_agg_min_energy.cpp.o
/data/repository/trilinos/trilinos-10.6.2-Source/packages/ml/src/Coarsen/ml_agg_min_energy.cpp: In function ?ML_Operator* ML_Operator_ImplicitAbs(ML_Operator*,  
int)?:
/data/repository/trilinos/trilinos-10.6.2-Source/packages/ml/src/Coarsen/ml_agg_min_energy.cpp:1051:55: warning: deprecated conversion from string constant to  
?char*?
/data/repository/trilinos/trilinos-10.6.2-Source/packages/ml/src/Coarsen/ml_agg_min_energy.cpp: In function ?void ML_Satisfy_Constraints(ML_Operator*, ML_Operator*, double*, double*, int*, int, int, int,  
int)?:
/data/repository/trilinos/trilinos-10.6.2-Source/packages/ml/src/Coarsen/ml_agg_min_energy.cpp:1783:170: error: ?dgemm_? was not declared in this  
scope
/data/repository/trilinos/trilinos-10.6.2-Source/packages/ml/src/Coarsen/ml_agg_min_energy.cpp: In function ?int ML_AGG_Gen_Prolongator_MandelMinEnergy(ML*, int, int,  
void*)?:
/data/repository/trilinos/trilinos-10.6.2-Source/packages/ml/src/Coarsen/ml_agg_min_energy.cpp:2092:144: error: ?dgemm_? was not declared in this  
scope
/data/repository/trilinos/trilinos-10.6.2-Source/packages/ml/src/Coarsen/ml_agg_min_energy.cpp:2098:145: error: ?dgesvd_? was not declared in this  
scope
make[2]: ***  
[packages/ml/src/CMakeFiles/ml.dir/Coarsen/ml_agg_min_energy.cpp.o]  
Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [packages/ml/src/CMakeFiles/ml.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....

If I understand it correctly, ml_agg_min_energy.cpp doesn't see the  
declaration of dgemm_, which is a lapack function. I have liblapack.so  
in /usr/lib and CMakeCache.txt in the main build directory of Trilinos  
contains the following line:

TPL_LAPACK_LIBRARIES:FILEPATH=/usr/lib/liblapack.so

I don't think I have any lapack headers installed. (I don't know if  
they are needed or not). Does anyone have an idea what am I doing  
wrong? The script I use to configure cmake is attached. I'd be  
grateful for any suggestions.

Best regards,

  Martin Vymazal



----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: configure_trilinos.sh
Type: application/x-sh
Size: 1490 bytes
Desc: not available
Url : https://software.sandia.gov/pipermail/trilinos-users/attachments/20110307/2707ee07/attachment.sh 


More information about the Trilinos-Users mailing list