[parsec-users] Runtime error of bodytrack

Lo Wei-heng turtleevil_1 at hotmail.com
Mon Apr 18 05:50:09 EDT 2011


Hello, 
 
I am having issues in building bodytrack benchmark as 32 bit installations on a
32 bit sun solaris simics virtual machine
 
I've downloaded GSSGCC 4.2.1 provided by SUN website to compile bodytrack on simics and get the following warning
 
 /work/SUNGCC/gcc/bin/g++ -DHAVE_CONFIG_H -I. -I/disk/parsec-2.1/bin/../pkgs/apps/bodytrack/src/FlexImageLib -I.. -funroll-loops -fprefetch-loop-arrays -fpermissive -fno-exceptions -static-libgcc -Wl,--hash-style=both,--as-needed -I/usr/sfw/include -I/usr/local/include -I/usr/local/gcc4/include -DPARSEC_VERSION=2.1 -fexceptions -Wall -Wno-unknown-pragmas -MT FlexImage.lo -MD -MP -MF .deps/FlexImage.Tpo -c /disk/parsec-2.1/bin/../pkgs/apps/bodytrack/src/FlexImageLib/FlexImage.cpp -o FlexImage.o >/dev/null 2>&1
if /bin/bash ../libtool --tag=CXX --mode=compile /work/SUNGCC/gcc/bin/g++ -DHAVE_CONFIG_H -I. -I/disk/parsec-2.1/bin/../pkgs/apps/bodytrack/src/FlexImageLib -I..     -funroll-loops -fprefetch-loop-arrays -fpermissive -fno-exceptions -static-libgcc -Wl,--hash-style=both,--as-needed -I/usr/sfw/include -I/usr/local/include -I/usr/local/gcc4/include -DPARSEC_VERSION=2.1 -fexceptions -Wall -Wno-unknown-pragmas -MT FlexIO.lo -MD -MP -MF ".deps/FlexIO.Tpo" -c -o FlexIO.lo /disk/parsec-2.1/bin/../pkgs/apps/bodytrack/src/FlexImageLib/FlexIO.cpp; \
then mv -f ".deps/FlexIO.Tpo" ".deps/FlexIO.Plo"; else rm -f ".deps/FlexIO.Tpo"; exit 1; fi
 /work/SUNGCC/gcc/bin/g++ -DHAVE_CONFIG_H -I. -I/disk/parsec-2.1/bin/../pkgs/apps/bodytrack/src/FlexImageLib -I.. -funroll-loops -fprefetch-loop-arrays -fpermissive -fno-exceptions -static-libgcc -Wl,--hash-style=both,--as-needed -I/usr/sfw/include -I/usr/local/include -I/usr/local/gcc4/include -DPARSEC_VERSION=2.1 -fexceptions -Wall -Wno-unknown-pragmas -MT FlexIO.lo -MD -MP -MF .deps/FlexIO.Tpo -c /disk/parsec-2.1/bin/../pkgs/apps/bodytrack/src/FlexImageLib/FlexIO.cpp  -fPIC -DPIC -o .libs/FlexIO.o
g++: --hash-style=both: linker input file unused because linking not done
g++: --as-needed: linker input file unused because linking not done
 /work/SUNGCC/gcc/bin/g++ -DHAVE_CONFIG_H -I. -I/disk/parsec-2.1/bin/../pkgs/apps/bodytrack/src/FlexImageLib -I.. -funroll-loops -fprefetch-loop-arrays -fpermissive -fno-exceptions -static-libgcc -Wl,--hash-style=both,--as-needed -I/usr/sfw/include -I/usr/local/include -I/usr/local/gcc4/include -DPARSEC_VERSION=2.1 -fexceptions -Wall -Wno-unknown-pragmas -MT FlexIO.lo -MD -MP -MF .deps/FlexIO.Tpo -c /disk/parsec-2.1/bin/../pkgs/apps/bodytrack/src/FlexImageLib/FlexIO.cpp -o FlexIO.o >/dev/null 2>&1
/bin/bash ../libtool --tag=CXX --mode=link /work/SUNGCC/gcc/bin/g++  -funroll-loops -fprefetch-loop-arrays -fpermissive -fno-exceptions -static-libgcc -Wl,--hash-style=both,--as-needed -I/usr/sfw/include -I/usr/local/include -I/usr/local/gcc4/include -DPARSEC_VERSION=2.1 -fexceptions -Wall -Wno-unknown-pragmas  -L/work/SUNGCC/gcc/lib64 -L/work/SUNGCC/gcc/lib -L/usr/lib -L/usr/local/lib -L/usr/local/gcc4/lib -L/usr/sfw/lib -o libflex.la   FlexImage.lo FlexIO.lo  -lpthread
/usr/local/bin/ar cru .libs/libflex.a .libs/FlexImage.o .libs/FlexIO.o
BFD: .libs/FlexImage.o: warning: sh_link not set for section `.eh_frame%_ZSt12setprecisioni[_ZSt12setprecisioni]'
BFD: .libs/FlexImage.o: warning: sh_link not set for section `.eh_frame%_ZSt4setwi[_ZSt4setwi]'
BFD: .libs/FlexImage.o: warning: sh_link not set for section `.eh_frame%_ZSt17__verify_groupingPKcjRKSs'
BFD: .libs/FlexImage.o: warning: sh_link not set for section `.eh_frame%_ZN14FlexImageStoreIhLi1EE4SizeEv[_ZN14FlexImageStoreIhLi1EE4SizeEv]'
BFD: .libs/FlexImage.o: warning: sh_link not set for section `.eh_frame%_ZN14FlexImageStoreIhLi3EE4SizeEv[_ZN14FlexImageStoreIhLi3EE4SizeEv]'
BFD: .libs/FlexImage.o: warning: sh_link not set for section `.eh_frame%_ZN14FlexImageStoreIhLi4EE4SizeEv[_ZN14FlexImageStoreIhLi4EE4SizeEv]'
BFD: .libs/FlexImage.o: warning: sh_link not set for section `.eh_frame%_ZN14FlexImageStoreIcLi1EE4SizeEv[_ZN14FlexImageStoreIcLi1EE4SizeEv]'
BFD: .libs/FlexImage.o: warning: sh_link not set for section `.eh_frame%_ZN14FlexImageStoreIcLi3EE4SizeEv[_ZN14FlexImageStoreIcLi3EE4SizeEv]'
BFD: .libs/FlexImage.o: warning: sh_link not set for section `.eh_frame%_ZN14FlexImageStoreIcLi4EE4SizeEv[_ZN14FlexImageStoreIcLi4EE4SizeEv]'
BFD: .libs/FlexImage.o: warning: sh_link not set for section `.eh_frame%_ZN14FlexImageStoreItLi1EE4SizeEv[_ZN14FlexImageStoreItLi1EE4SizeEv]'
BFD: .libs/FlexImage.o: warning: sh_link not set for section `.eh_frame%_ZN14FlexImageStoreItLi3EE4SizeEv[_ZN14FlexImageStoreItLi3EE4SizeEv]'
BFD: .libs/FlexImage.o: warning: sh_link not set for section `.eh_frame%_ZN14FlexImageStoreItLi4EE4SizeEv[_ZN14FlexImageStoreItLi4EE4SizeEv]'
.
.
.
 
After the execution file have been produced, I try to run bodytrack on simics and get a run time error :(
 
[PARSEC] Benchmarks to run:  bodytrack
[PARSEC] [========== Running benchmark bodytrack ==========]
[PARSEC] Deleting old run directory.
[PARSEC] Setting up run directory.
[PARSEC] Unpacking benchmark input 'test'.
sequenceB_1/
sequenceB_1/BodyShapeParameters.txt
sequenceB_1/CALIB/
sequenceB_1/CALIB/Camera1.cal
sequenceB_1/CALIB/Camera2.cal
sequenceB_1/CALIB/Camera3.cal
sequenceB_1/CALIB/Camera4.cal
sequenceB_1/CAM1/
sequenceB_1/CAM1/image0000.bmp
sequenceB_1/CAM2/
sequenceB_1/CAM2/image0000.bmp
sequenceB_1/CAM3/
sequenceB_1/CAM3/image0000.bmp
sequenceB_1/CAM4/
sequenceB_1/CAM4/image0000.bmp
sequenceB_1/FG1/
sequenceB_1/FG1/image0000.bmp
sequenceB_1/FG2/
sequenceB_1/FG2/image0000.bmp
sequenceB_1/FG3/
sequenceB_1/FG3/image0000.bmp
sequenceB_1/FG4/
sequenceB_1/FG4/image0000.bmp
sequenceB_1/InitialPose.txt
sequenceB_1/PoseParameters.txt
[PARSEC] Running 'time /disk/parsec-2.1/bin/../pkgs/apps/bodytrack/inst/sparc-solaris.gcc/bin/bodytrack sequenceB_1 4 1 5 1 0 1':
[PARSEC] [---------- Beginning of output ----------]
PARSEC Benchmark Suite Version 2.1
Threading with Posix Threads
Number of threads : 1
Using dataset : sequenceB_1/
5 particles with 1 annealing layers
Processing frame 0
terminate called after throwing an instance of 'std::bad_cast'
  what():  std::bad_cast
./parsecmgmt: line 936:  4960 Abort                   (core dumped) /disk/parsec-2.1/bin/../pkgs/apps/bodytrack/inst/sparc-solaris.gcc/bin/bodytrack sequenceB_1 4 1 5 1 0 1
real    0m10.078s
user    0m9.238s
[PARSEC] [----------    End of output    ----------]
[PARSEC] Done.
sys 0m0.397s
 
Does anyone know how to compile parsec successfully on sun solaris machine?
Which version of gcc should I download? 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cs.princeton.edu/pipermail/parsec-users/attachments/20110418/052d9e11/attachment.htm>


More information about the parsec-users mailing list