[Users] CarpetMask compilation errors

jhar131 at cct.lsu.edu jhar131 at cct.lsu.edu
Wed Jun 15 15:58:50 CDT 2011


Hello,

I'm having problems with CarpetMask when I attempt to build a  
simulation. Included are my error messages. Does anyone have any  
suggestions?


Preprocessing  
/home/joshua/Cactus/arrangements/Carpet/CarpetMask/src/mask_surface.cc
Compiling  
/home/joshua/Cactus/arrangements/Carpet/CarpetMask/src/mask_surface.cc
/home/joshua/Cactus/arrangements/Carpet/CarpetMask/src/mask_surface.cc: In  
function ?void CarpetMask::CarpetSurfaceSetup(cGH*)?:
/home/joshua/Cactus/arrangements/Carpet/CarpetMask/src/mask_surface.cc:111:19:  
error: call of overloaded ?isnan(double&)? is ambiguous
/home/joshua/Cactus/arrangements/Carpet/CarpetMask/src/mask_surface.cc:111:19:  
note: candidates are:
/usr/include/bits/mathcalls.h:235:1: note: int isnan(double)
/usr/lib/gcc/x86_64-redhat-linux/4.6.0/../../../../include/c++/4.6.0/cmath:558:3: note: bool std::isnan(long  
double)
/usr/lib/gcc/x86_64-redhat-linux/4.6.0/../../../../include/c++/4.6.0/cmath:554:3: note: bool  
std::isnan(double)
/usr/lib/gcc/x86_64-redhat-linux/4.6.0/../../../../include/c++/4.6.0/cmath:550:3: note: bool  
std::isnan(float)
/home/joshua/Cactus/arrangements/Carpet/CarpetMask/src/mask_surface.cc:128:19:  
error: call of overloaded ?isnan(double&)? is ambiguous
/home/joshua/Cactus/arrangements/Carpet/CarpetMask/src/mask_surface.cc:128:19:  
note: candidates are:
/usr/include/bits/mathcalls.h:235:1: note: int isnan(double)
/usr/lib/gcc/x86_64-redhat-linux/4.6.0/../../../../include/c++/4.6.0/cmath:558:3: note: bool std::isnan(long  
double)
/usr/lib/gcc/x86_64-redhat-linux/4.6.0/../../../../include/c++/4.6.0/cmath:554:3: note: bool  
std::isnan(double)
/usr/lib/gcc/x86_64-redhat-linux/4.6.0/../../../../include/c++/4.6.0/cmath:550:3: note: bool  
std::isnan(float)
make[3]: *** [mask_surface.cc.o] Error 1
make[2]: *** [make.checked] Error 2
make[1]: ***  
[/home/joshua/Cactus/configs/ConfigName/lib/libthorn_CarpetMask.a]  
Error 2
make[1]: *** Waiting for unfinished jobs....



Sincerely,

Joshua Harris



More information about the Users mailing list