[Users] Meudon_Bin_BH compilation error

azebrowski at cct.lsu.edu azebrowski at cct.lsu.edu
Thu Jun 3 22:48:47 CDT 2010


Hello,

find -name bin_bh.h brings up nothing.

My options aren't very fancy, I just have some pointers to MPICH2  
modelled after some options I found in SimFactory:

MPI=CUSTOM
MPICH_DIR=/usr/lib64/mpich2/
MPI_INC_DIRS=/usr/include/mpich2-x86_64/
MPI_LIBS     = mpich mpichf90 mpichcxx

My full build log is at http://cct.lsu.edu/~azebrowski/build.log, but  
I took out the two parts for LORENE (looks OK) and where it fails below:

Here is my build log for LORENE:
make[2]: Entering directory  
`/home/ashley/Einstein/Cactus/configs/sample/build/LORENE'
if [ ! -d ./ ] ; then mkdir -p ./ ; fi
cd ./ ; make CCTK_TARGET=make.checked  
TOP=/home/ashley/Einstein/Cactus/configs/sample  
CONFIG=/home/ashley/Einstein/Cactus/configs/sample/config-data  
SRCDIR=/home/ashley/Einstein/Cactus/arrangements/ExternalLibraries/LORENE/src  
THORN=LORENE USESTHORNS="BLAS GSL LAPACK" -f  
/home/ashley/Einstein/Cactus/lib/make/make.subdir
make[3]: Entering directory  
`/home/ashley/Einstein/Cactus/configs/sample/build/LORENE'
make[3]: `make.checked' is up to date.
make[3]: Leaving directory  
`/home/ashley/Einstein/Cactus/configs/sample/build/LORENE'
cd cctk_Bindings; make CCTK_TARGET=make.checked  
TOP=/home/ashley/Einstein/Cactus/configs/sample  
CONFIG=/home/ashley/Einstein/Cactus/configs/sample/config-data  
SRCDIR=/home/ashley/Einstein/Cactus/configs/sample/bindings/build/LORENE  
THORN=LORENE USESTHORNS="BLAS GSL LAPACK" -f  
/home/ashley/Einstein/Cactus/lib/make/make.subdir
make[3]: Entering directory  
`/home/ashley/Einstein/Cactus/configs/sample/build/LORENE/cctk_Bindings'
gcc -E -M   
/home/ashley/Einstein/Cactus/configs/sample/bindings/build/LORENE/cctk_ThornBindings.c -I"/home/ashley/Einstein/Cactus/configs/sample/scratch/gsl-1.12/include" -I"/usr/include/mpich2-x86_64/" -I"/usr/include/mpich2-x86_64/" -I"/home/ashley/Einstein/Cactus/arrangements/ExternalLibraries/LORENE/src" -I"/home/ashley/Einstein/Cactus/arrangements/ExternalLibraries/LORENE/src/include" -I"/home/ashley/Einstein/Cactus/configs/sample/config-data" -I"/home/ashley/Einstein/Cactus/configs/sample/bindings/include" -I"/home/ashley/Einstein/Cactus/src/include" -I"/home/ashley/Einstein/Cactus/arrangements" -I"/home/ashley/Einstein/Cactus/configs/sample/bindings/Configuration/Thorns" -I"/home/ashley/Einstein/Cactus/configs/sample/scratch/gsl-1.12/include" -I"/home/ashley/Einstein/Cactus/configs/sample/bindings/build/LORENE" -I"/home/ashley/Einstein/Cactus/configs/sample/bindings/build/LORENE/include" -DTHORN_IS_LORENE -DCCODE >  
cctk_ThornBindings.c.d
perl -pi -e "s,([^:]*),cctk_ThornBindings.c.o cctk_ThornBindings.c.d,  
if(m/: /);  
s:\s+\S*[/\\\](cctk_Functions\.h|CParameterStructNames\.h|cctk_Arguments\.h|definethisthorn\.h|FParameters.h|CParameters\.h)\b::g"  
cctk_ThornBindings.c.d
make[3]: Leaving directory  
`/home/ashley/Einstein/Cactus/configs/sample/build/LORENE/cctk_Bindings'
make[3]: Entering directory  
`/home/ashley/Einstein/Cactus/configs/sample/build/LORENE/cctk_Bindings'
Preprocessing  
/home/ashley/Einstein/Cactus/configs/sample/bindings/build/LORENE/cctk_ThornBindings.c
{ if test no = 'yes'; then echo '#line 1  
"'/home/ashley/Einstein/Cactus/configs/sample/bindings/build/LORENE/cctk_ThornBindings.c'"'; fi; cat /home/ashley/Einstein/Cactus/configs/sample/bindings/build/LORENE/cctk_ThornBindings.c; } | perl -s /home/ashley/Einstein/Cactus/lib/sbin/c_file_processor.pl -line_directives=no -source_file_name=/home/ashley/Einstein/Cactus/configs/sample/bindings/build/LORENE/cctk_ThornBindings.c /home/ashley/Einstein/Cactus/configs/sample/config-data >  
cctk_ThornBindings.c
Compiling  
/home/ashley/Einstein/Cactus/configs/sample/bindings/build/LORENE/cctk_ThornBindings.c
current_wd=`pwd` ; cd  
/home/ashley/Einstein/Cactus/configs/sample/scratch ; gcc  -pipe  
-std=gnu99 -O3 -c -o $current_wd/cctk_ThornBindings.c.o  
$current_wd/cctk_ThornBindings.c  
-I"/home/ashley/Einstein/Cactus/configs/sample/scratch/gsl-1.12/include"  
-I"/usr/include/mpich2-x86_64/" -I"/usr/include/mpich2-x86_64/"  
-I"/home/ashley/Einstein/Cactus/arrangements/ExternalLibraries/LORENE/src"  
-I"/home/ashley/Einstein/Cactus/arrangements/ExternalLibraries/LORENE/src/include" -I"/home/ashley/Einstein/Cactus/configs/sample/config-data" -I"/home/ashley/Einstein/Cactus/configs/sample/bindings/include" -I"/home/ashley/Einstein/Cactus/src/include" -I"/home/ashley/Einstein/Cactus/arrangements" -I"/home/ashley/Einstein/Cactus/configs/sample/bindings/Configuration/Thorns" -I"/home/ashley/Einstein/Cactus/configs/sample/scratch/gsl-1.12/include" -I"/home/ashley/Einstein/Cactus/configs/sample/bindings/build/LORENE" -I"/home/ashley/Einstein/Cactus/configs/sample/bindings/build/LORENE/include" -DTHORN_IS_LORENE  
-DCCODE
Postprocessing  
/home/ashley/Einstein/Cactus/configs/sample/bindings/build/LORENE/cctk_ThornBindings.c
________________________________________________________________________
echo "" > make.checked
make[3]: Leaving directory  
`/home/ashley/Einstein/Cactus/configs/sample/build/LORENE/cctk_Bindings'
if [ -r  
/home/ashley/Einstein/Cactus/configs/sample/lib/libthorn_LORENE.a ] ;  
then echo Updating  
/home/ashley/Einstein/Cactus/configs/sample/lib/libthorn_LORENE.a ;  
else echo Creating  
/home/ashley/Einstein/Cactus/configs/sample/lib/libthorn_LORENE.a ; fi
Creating /home/ashley/Einstein/Cactus/configs/sample/lib/libthorn_LORENE.a
if [ -r  
/home/ashley/Einstein/Cactus/configs/sample/lib/libthorn_LORENE.a ] ;  
then rm -f  
/home/ashley/Einstein/Cactus/configs/sample/lib/libthorn_LORENE.a ; fi
make -f /home/ashley/Einstein/Cactus/lib/make/make.thornlib  
/home/ashley/Einstein/Cactus/configs/sample/lib/libthorn_LORENE.a.objectlist
make[3]: Entering directory  
`/home/ashley/Einstein/Cactus/configs/sample/build/LORENE'
echo cctk_Bindings//cctk_ThornBindings.c.o >  
/home/ashley/Einstein/Cactus/configs/sample/lib/libthorn_LORENE.a.objectlist
make[3]: Leaving directory  
`/home/ashley/Einstein/Cactus/configs/sample/build/LORENE'
xargs -n 10000 ar rucs  
/home/ashley/Einstein/Cactus/configs/sample/lib/libthorn_LORENE.a <  
/home/ashley/Einstein/Cactus/configs/sample/lib/libthorn_LORENE.a.objectlist
rm -f  
/home/ashley/Einstein/Cactus/configs/sample/lib/libthorn_LORENE.a.objectlist
if test "xno" = "xyes" ; then ranlib -cs  
/home/ashley/Einstein/Cactus/configs/sample/lib/libthorn_LORENE.a ; fi
________________________________________________________________________
make[2]: Leaving directory  
`/home/ashley/Einstein/Cactus/configs/sample/build/LORENE'


Here is where it fails:
Checking status of thorn Meudon_Bin_BH
________________________________________________________________________
make[2]: Entering directory  
`/home/ashley/Einstein/Cactus/configs/sample/build/Meudon_Bin_BH'
if [ ! -d ./ ] ; then mkdir -p ./ ; fi
cd ./ ; make CCTK_TARGET=make.checked  
TOP=/home/ashley/Einstein/Cactus/configs/sample  
CONFIG=/home/ashley/Einstein/Cactus/configs/sample/config-data  
SRCDIR=/home/ashley/Einstein/Cactus/arrangements/EinsteinInitialData/Meudon_Bin_BH/src THORN=Meudon_Bin_BH USESTHORNS="LORENE" -f  
/home/ashley/Einstein/Cactus/lib/make/make.subdir
make[3]: Entering directory  
`/home/ashley/Einstein/Cactus/configs/sample/build/Meudon_Bin_BH'
c++ -E -M   
/home/ashley/Einstein/Cactus/arrangements/EinsteinInitialData/Meudon_Bin_BH/src/check_parameters.cc -I"/home/ashley/Einstein/Cactus/configs/sample/scratch/build-Lorene/Lorene/Export/C++/Include" -I"/home/ashley/Einstein/Cactus/configs/sample/scratch/build-Lorene/Lorene/C++/Include" -I"/usr/include/mpich2-x86_64/" -I"/usr/include/mpich2-x86_64/" -I"/home/ashley/Einstein/Cactus/arrangements/EinsteinInitialData/Meudon_Bin_BH/src" -I"/home/ashley/Einstein/Cactus/arrangements/EinsteinInitialData/Meudon_Bin_BH/src/include" -I"/home/ashley/Einstein/Cactus/configs/sample/config-data" -I"/home/ashley/Einstein/Cactus/configs/sample/bindings/include" -I"/home/ashley/Einstein/Cactus/src/include" -I"/home/ashley/Einstein/Cactus/arrangements" -I"/home/ashley/Einstein/Cactus/configs/sample/bindings/Configuration/Thorns" -I"/home/ashley/Einstein/Cactus/configs/sample/scratch/build-Lorene/Lorene/Export/C++/Include" -I"/home/ashley/Einstein/Cactus/configs/sample/scratch/build-Lorene/Lorene/C++/Include" -I"/home/ashley/Einstein/Cactus/arrangements/EinsteinInitialData/Meudon_Bin_BH/src" -I"/home/ashley/Einstein/Cactus/arrangements/EinsteinInitialData/Meudon_Bin_BH/src/include" -DTHORN_IS_Meudon_Bin_BH -DCCODE >  
check_parameters.cc.d
perl -pi -e "s,([^:]*),check_parameters.cc.o check_parameters.cc.d,  
if(m/: /);  
s:\s+\S*[/\\\](cctk_Functions\.h|CParameterStructNames\.h|cctk_Arguments\.h|definethisthorn\.h|FParameters.h|CParameters\.h)\b::g"  
check_parameters.cc.d
c++ -E -M   
/home/ashley/Einstein/Cactus/arrangements/EinsteinInitialData/Meudon_Bin_BH/src/Bin_BH.cc -I"/home/ashley/Einstein/Cactus/configs/sample/scratch/build-Lorene/Lorene/Export/C++/Include" -I"/home/ashley/Einstein/Cactus/configs/sample/scratch/build-Lorene/Lorene/C++/Include" -I"/usr/include/mpich2-x86_64/" -I"/usr/include/mpich2-x86_64/" -I"/home/ashley/Einstein/Cactus/arrangements/EinsteinInitialData/Meudon_Bin_BH/src" -I"/home/ashley/Einstein/Cactus/arrangements/EinsteinInitialData/Meudon_Bin_BH/src/include" -I"/home/ashley/Einstein/Cactus/configs/sample/config-data" -I"/home/ashley/Einstein/Cactus/configs/sample/bindings/include" -I"/home/ashley/Einstein/Cactus/src/include" -I"/home/ashley/Einstein/Cactus/arrangements" -I"/home/ashley/Einstein/Cactus/configs/sample/bindings/Configuration/Thorns" -I"/home/ashley/Einstein/Cactus/configs/sample/scratch/build-Lorene/Lorene/Export/C++/Include" -I"/home/ashley/Einstein/Cactus/configs/sample/scratch/build-Lorene/Lorene/C++/Include" -I"/home/ashley/Einstein/Cactus/arrangements/EinsteinInitialData/Meudon_Bin_BH/src" -I"/home/ashley/Einstein/Cactus/arrangements/EinsteinInitialData/Meudon_Bin_BH/src/include" -DTHORN_IS_Meudon_Bin_BH -DCCODE >  
Bin_BH.cc.d
/home/ashley/Einstein/Cactus/arrangements/EinsteinInitialData/Meudon_Bin_BH/src/Bin_BH.cc:10:20: error: bin_bh.h: No such file or  
directory
make[3]: Leaving directory  
`/home/ashley/Einstein/Cactus/configs/sample/build/Meudon_Bin_BH'
make[3]: Entering directory  
`/home/ashley/Einstein/Cactus/configs/sample/build/Meudon_Bin_BH'
Preprocessing  
/home/ashley/Einstein/Cactus/arrangements/EinsteinInitialData/Meudon_Bin_BH/src/Bin_BH.cc
{ if test no = 'yes'; then echo '#line 1  
"'/home/ashley/Einstein/Cactus/arrangements/EinsteinInitialData/Meudon_Bin_BH/src/Bin_BH.cc'"'; fi; cat /home/ashley/Einstein/Cactus/arrangements/EinsteinInitialData/Meudon_Bin_BH/src/Bin_BH.cc; } | perl -s /home/ashley/Einstein/Cactus/lib/sbin/c_file_processor.pl -line_directives=no -source_file_name=/home/ashley/Einstein/Cactus/arrangements/EinsteinInitialData/Meudon_Bin_BH/src/Bin_BH.cc /home/ashley/Einstein/Cactus/configs/sample/config-data >  
Bin_BH.cc
Compiling  
/home/ashley/Einstein/Cactus/arrangements/EinsteinInitialData/Meudon_Bin_BH/src/Bin_BH.cc
current_wd=`pwd` ; cd  
/home/ashley/Einstein/Cactus/configs/sample/scratch ; c++  -pipe -O3  
-c -o $current_wd/Bin_BH.cc.o $current_wd/Bin_BH.cc  
-I"/home/ashley/Einstein/Cactus/configs/sample/scratch/build-Lorene/Lorene/Export/C++/Include" -I"/home/ashley/Einstein/Cactus/configs/sample/scratch/build-Lorene/Lorene/C++/Include" -I"/usr/include/mpich2-x86_64/" -I"/usr/include/mpich2-x86_64/" -I"/home/ashley/Einstein/Cactus/arrangements/EinsteinInitialData/Meudon_Bin_BH/src" -I"/home/ashley/Einstein/Cactus/arrangements/EinsteinInitialData/Meudon_Bin_BH/src/include" -I"/home/ashley/Einstein/Cactus/configs/sample/config-data" -I"/home/ashley/Einstein/Cactus/configs/sample/bindings/include" -I"/home/ashley/Einstein/Cactus/src/include" -I"/home/ashley/Einstein/Cactus/arrangements" -I"/home/ashley/Einstein/Cactus/configs/sample/bindings/Configuration/Thorns" -I"/home/ashley/Einstein/Cactus/configs/sample/scratch/build-Lorene/Lorene/Export/C++/Include" -I"/home/ashley/Einstein/Cactus/configs/sample/scratch/build-Lorene/Lorene/C++/Include" -I"/home/ashley/Einstein/Cactus/arrangements/EinsteinInitialData/Meudon_Bin_BH/src" -I"/home/ashley/Einstein/Cactus/arrangements/EinsteinInitialData/Meudon_Bin_BH/src/include" -DTHORN_IS_Meudon_Bin_BH  
-DCCODE
/home/ashley/Einstein/Cactus/configs/sample/build/Meudon_Bin_BH/Bin_BH.cc:10:20: error: bin_bh.h: No such file or  
directory
/home/ashley/Einstein/Cactus/configs/sample/build/Meudon_Bin_BH/Bin_BH.cc: In  
function ?void ID_Bin_BH_initialise(cGH*)?:
/home/ashley/Einstein/Cactus/configs/sample/build/Meudon_Bin_BH/Bin_BH.cc:66:  
error: ?Bin_BH? was not declared in this scope
/home/ashley/Einstein/Cactus/configs/sample/build/Meudon_Bin_BH/Bin_BH.cc:66:  
error: expected ?;? before ?bin_bh?
/home/ashley/Einstein/Cactus/configs/sample/build/Meudon_Bin_BH/Bin_BH.cc:68:  
error: ?bin_bh? was not declared in this scope
make[3]: *** [Bin_BH.cc.o] Error 1
make[3]: Leaving directory  
`/home/ashley/Einstein/Cactus/configs/sample/build/Meudon_Bin_BH'
make[2]: *** [make.checked] Error 2
make[2]: Leaving directory  
`/home/ashley/Einstein/Cactus/configs/sample/build/Meudon_Bin_BH'
make[1]: ***  
[/home/ashley/Einstein/Cactus/configs/sample/lib/libthorn_Meudon_Bin_BH.a]  
Error 2
make[1]: Leaving directory `/home/ashley/Einstein/Cactus'
make: *** [sample] Error 2

Quoting Erik Schnetter <schnetter at cct.lsu.edu>:

> On Jun 3, 2010, at 17:25 , azebrowski at cct.lsu.edu wrote:
>
>> Hello,
>>
>> I just checked out a copy of the EinsteinToolkit repos, but get the
>> following error when compiling.  It looks like it's looking for
>> bin_bh.h, which I don't see anywhere in my Cactus tree.  Does anyone
>> have any idea how to fix this?
>>
>> Here's the error,
>>
>> Preprocessing
>> /home/ashley/Einstein/Cactus/arrangements/EinsteinInitialData/Meudon_Bin_BH/src/Bin_BH.cc
>> Compiling
>> /home/ashley/Einstein/Cactus/arrangements/EinsteinInitialData/Meudon_Bin_BH/src/Bin_BH.cc
>> /home/ashley/Einstein/Cactus/configs/sample/build/Meudon_Bin_BH/Bin_BH.cc:10:20: error: bin_bh.h: No such file   
>> or
>> directory
>> /home/ashley/Einstein/Cactus/configs/sample/build/Meudon_Bin_BH/Bin_BH.cc:   
>> In
>> function ?void ID_Bin_BH_initialise(cGH*)?:
>> /home/ashley/Einstein/Cactus/configs/sample/build/Meudon_Bin_BH/Bin_BH.cc:66:
>> error: ?Bin_BH? was not declared in this scope
>> /home/ashley/Einstein/Cactus/configs/sample/build/Meudon_Bin_BH/Bin_BH.cc:66:
>> error: expected ?;? before ?bin_bh?
>> /home/ashley/Einstein/Cactus/configs/sample/build/Meudon_Bin_BH/Bin_BH.cc:68:
>> error: ?bin_bh? was not declared in this scope
>
>
> The file bin_bh.h is provided by the thorn LORENE.  Can you send your
> configuration options?  Can you compile this thorn with SILENT=no and
> make the output available?
>
> -erik
>
> -- 
> Erik Schnetter <schnetter at cct.lsu.edu>   http://www.cct.lsu.edu/~eschnett/





More information about the Users mailing list