[Users] Difficulties with ADMMass,CarpetIO,CarpetRegrid2

Scott Hawley scott.hawley at belmont.edu
Wed Jun 15 20:46:38 CDT 2011


Frank et all,

   I appreciate all your advice.

I set up a simple run with one BH using TexMEx, and the AH Finder agrees closely with my result (for a low-resolution run), but ADMMass puts out different values, as shown here:

INFO (TexMEx) ADM Mass: thisproc_admmass = 0.12501, total_admmass =    1.000074637580139 
INFO (ADMMass): detector 0: ADM mass  0.123574, surface (cube): xmin -30, xmax 30, ymin -30, ymax 30, zmin -30, zmax 30
INFO (ADMMass): detector 0: ADM mass with lapse  0.123574, surface (cube): xmin -30, xmax 30, ymin -30, ymax 30, zmin -30, zmax 30
INFO (ADMMass): detector 0: ADM mass  0.123574, volume (cube): xmin -30, xmax 30, ymin -30, ymax 30, zmin -30, zmax 30
INFO (AHFinderDirect): proc 0: searching for horizon 1/1
INFO (AHFinderDirect): AH 1/1: r=2 at (-0.000000,-0.000000,-0.000000)
INFO (AHFinderDirect): AH 1/1: area=50.26535847 m_irreducible=0.9999987667


The closest relevant number comes by multiplying the ADMMass values by 8 (=0.988592), but this still seems greater than the error should be.
I don't have more data right now, because none of the CarpetIO routines will compile on my Mac.  (e.g. CarpetIOASCII, bottom of this message)...

I tried using CarpetRegrid2, but it is not handing over the grid hierarchy to my thorn the way CarpetRegrid did, and I end up getting a giant unigrid run (using the parameters like those in CarpetRegrid2/par/staticbh.par).  I may need to coordinate with Erik on this.

-Scott



gmake texmex SILENT=no
...skipping....
Checking status of thorn CarpetIOASCII
________________________________________________________________________
if [ ! -d ./ ] ; then mkdir -p ./ ; fi
cd ./ ; make CCTK_TARGET=make.checked TOP=/Users/shawley/Cactus/configs/texmex CONFIG=/Users/shawley/Cactus/configs/texmex/config-data SRCDIR=/Users/shawley/Cactus/arrangements/Carpet/CarpetIOASCII/src THORN=CarpetIOASCII USESTHORNS="Carpet Carpet CarpetLib CarpetLib IOUtil IOUtil" -f /Users/shawley/Cactus/lib/make/make.subdir
Preprocessing /Users/shawley/Cactus/arrangements/Carpet/CarpetIOASCII/src/ioascii.cc
{ if test no = 'yes'; then echo '#line 1 "'/Users/shawley/Cactus/arrangements/Carpet/CarpetIOASCII/src/ioascii.cc'"'; fi; cat /Users/shawley/Cactus/arrangements/Carpet/CarpetIOASCII/src/ioascii.cc; } | perl -s /Users/shawley/Cactus/lib/sbin/c_file_processor.pl -line_directives=no -source_file_name=/Users/shawley/Cactus/arrangements/Carpet/CarpetIOASCII/src/ioascii.cc /Users/shawley/Cactus/configs/texmex/config-data > ioascii.cc
Compiling /Users/shawley/Cactus/arrangements/Carpet/CarpetIOASCII/src/ioascii.cc
current_wd=`pwd` ; cd /Users/shawley/Cactus/configs/texmex/scratch ; /sw/bin/mpic++   -m64 -fopenmp -O2 -c -o $current_wd/ioascii.cc.o $current_wd/ioascii.cc -I"/sw/include" -I"/sw/include" -I"/sw/include/openmpi/" -I"/sw/include" -I"/sw/include" -I"/sw/include/openmpi/" -I"/Users/shawley/Cactus/arrangements/Carpet/CarpetIOASCII/src" -I"/Users/shawley/Cactus/arrangements/Carpet/CarpetIOASCII/src/include" -I"/Users/shawley/Cactus/configs/texmex/config-data" -I"/Users/shawley/Cactus/configs/texmex/bindings/include" -I"/Users/shawley/Cactus/src/include" -I"/Users/shawley/Cactus/arrangements" -I"/Users/shawley/Cactus/configs/texmex/bindings/Configuration/Thorns" -I"/Users/shawley/Cactus/arrangements/Carpet/CarpetIOASCII/src" -I"/Users/shawley/Cactus/arrangements/Carpet/CarpetIOASCII/src/include" -DTHORN_IS_CarpetIOASCII -DCCODE
/Users/shawley/Cactus/configs/texmex/build/CarpetIOASCII/ioascii.cc: In static member function ‘static void CarpetIOASCII::IOASCII<outdim>::CheckSteerableParameters(const cGH*)’:
/Users/shawley/Cactus/configs/texmex/build/CarpetIOASCII/ioascii.cc:195: error: cannot convert ‘ioRequest**’ to ‘double’ for argument ‘7’ to ‘void IOUtil_ParseVarsForOutput(const cGH*, const char*, const char*, int, const char*, int, double, ioRequest**)’
/Users/shawley/Cactus/arrangements/CactusBase/IOUtil/src/ioutil_Utils.h: In static member function ‘static int CarpetIOASCII::IOASCII<outdim>::OutputVarAs(const cGH*, const char*, const char*)’:
/Users/shawley/Cactus/arrangements/CactusBase/IOUtil/src/ioutil_Utils.h:91: error: too few arguments to function ‘ioRequest* IOUtil_DefaultIORequest(const cGH*, int, int, double)’
/Users/shawley/Cactus/configs/texmex/build/CarpetIOASCII/ioascii.cc:391: error: at this point in file
/Users/shawley/Cactus/arrangements/CactusBase/IOUtil/src/ioutil_Utils.h: In static member function ‘static int CarpetIOASCII::IOASCII<outdim>::OutputVarAs(const cGH*, const char*, const char*) [with int outdim = 0]’:
/Users/shawley/Cactus/configs/texmex/build/CarpetIOASCII/ioascii.cc:1381:   instantiated from here
/Users/shawley/Cactus/arrangements/CactusBase/IOUtil/src/ioutil_Utils.h:91: error: too few arguments to function ‘ioRequest* IOUtil_DefaultIORequest(const cGH*, int, int, double)’
/Users/shawley/Cactus/configs/texmex/build/CarpetIOASCII/ioascii.cc:391: error: at this point in file
/Users/shawley/Cactus/configs/texmex/build/CarpetIOASCII/ioascii.cc: In static member function ‘static void CarpetIOASCII::IOASCII<outdim>::CheckSteerableParameters(const cGH*) [with int outdim = 0]’:
/Users/shawley/Cactus/configs/texmex/build/CarpetIOASCII/ioascii.cc:1381:   instantiated from here
/Users/shawley/Cactus/configs/texmex/build/CarpetIOASCII/ioascii.cc:192: error: cannot convert ‘ioRequest**’ to ‘double’ for argument ‘7’ to ‘void IOUtil_ParseVarsForOutput(const cGH*, const char*, const char*, int, const char*, int, double, ioRequest**)’
/Users/shawley/Cactus/arrangements/CactusBase/IOUtil/src/ioutil_Utils.h: In static member function ‘static int CarpetIOASCII::IOASCII<outdim>::OutputVarAs(const cGH*, const char*, const char*) [with int outdim = 1]’:
/Users/shawley/Cactus/configs/texmex/build/CarpetIOASCII/ioascii.cc:1382:   instantiated from here
/Users/shawley/Cactus/arrangements/CactusBase/IOUtil/src/ioutil_Utils.h:91: error: too few arguments to function ‘ioRequest* IOUtil_DefaultIORequest(const cGH*, int, int, double)’
/Users/shawley/Cactus/configs/texmex/build/CarpetIOASCII/ioascii.cc:391: error: at this point in file
/Users/shawley/Cactus/configs/texmex/build/CarpetIOASCII/ioascii.cc: In static member function ‘static void CarpetIOASCII::IOASCII<outdim>::CheckSteerableParameters(const cGH*) [with int outdim = 1]’:
/Users/shawley/Cactus/configs/texmex/build/CarpetIOASCII/ioascii.cc:1382:   instantiated from here
/Users/shawley/Cactus/configs/texmex/build/CarpetIOASCII/ioascii.cc:192: error: cannot convert ‘ioRequest**’ to ‘double’ for argument ‘7’ to ‘void IOUtil_ParseVarsForOutput(const cGH*, const char*, const char*, int, const char*, int, double, ioRequest**)’
/Users/shawley/Cactus/arrangements/CactusBase/IOUtil/src/ioutil_Utils.h: In static member function ‘static int CarpetIOASCII::IOASCII<outdim>::OutputVarAs(const cGH*, const char*, const char*) [with int outdim = 2]’:
/Users/shawley/Cactus/configs/texmex/build/CarpetIOASCII/ioascii.cc:1383:   instantiated from here
/Users/shawley/Cactus/arrangements/CactusBase/IOUtil/src/ioutil_Utils.h:91: error: too few arguments to function ‘ioRequest* IOUtil_DefaultIORequest(const cGH*, int, int, double)’
/Users/shawley/Cactus/configs/texmex/build/CarpetIOASCII/ioascii.cc:391: error: at this point in file
/Users/shawley/Cactus/configs/texmex/build/CarpetIOASCII/ioascii.cc: In static member function ‘static void CarpetIOASCII::IOASCII<outdim>::CheckSteerableParameters(const cGH*) [with int outdim = 2]’:
/Users/shawley/Cactus/configs/texmex/build/CarpetIOASCII/ioascii.cc:1383:   instantiated from here
/Users/shawley/Cactus/configs/texmex/build/CarpetIOASCII/ioascii.cc:192: error: cannot convert ‘ioRequest**’ to ‘double’ for argument ‘7’ to ‘void IOUtil_ParseVarsForOutput(const cGH*, const char*, const char*, int, const char*, int, double, ioRequest**)’
/Users/shawley/Cactus/arrangements/CactusBase/IOUtil/src/ioutil_Utils.h: In static member function ‘static int CarpetIOASCII::IOASCII<outdim>::OutputVarAs(const cGH*, const char*, const char*) [with int outdim = 3]’:
/Users/shawley/Cactus/configs/texmex/build/CarpetIOASCII/ioascii.cc:1384:   instantiated from here
/Users/shawley/Cactus/arrangements/CactusBase/IOUtil/src/ioutil_Utils.h:91: error: too few arguments to function ‘ioRequest* IOUtil_DefaultIORequest(const cGH*, int, int, double)’
/Users/shawley/Cactus/configs/texmex/build/CarpetIOASCII/ioascii.cc:391: error: at this point in file
/Users/shawley/Cactus/configs/texmex/build/CarpetIOASCII/ioascii.cc: In static member function ‘static void CarpetIOASCII::IOASCII<outdim>::CheckSteerableParameters(const cGH*) [with int outdim = 3]’:
/Users/shawley/Cactus/configs/texmex/build/CarpetIOASCII/ioascii.cc:1384:   instantiated from here
/Users/shawley/Cactus/configs/texmex/build/CarpetIOASCII/ioascii.cc:192: error: cannot convert ‘ioRequest**’ to ‘double’ for argument ‘7’ to ‘void IOUtil_ParseVarsForOutput(const cGH*, const char*, const char*, int, const char*, int, double, ioRequest**)’
make[3]: *** [ioascii.cc.o] Error 1
make[2]: *** [make.checked] Error 2
make[1]: *** [/Users/shawley/Cactus/configs/texmex/lib/libthorn_CarpetIOASCII.a] Error 2
make: *** [texmex] Error 2

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 535 bytes
Desc: This is a digitally signed message part
Url : http://lists.einsteintoolkit.org/pipermail/users/attachments/20110615/30c0627f/attachment.bin 


More information about the Users mailing list