Sitos Lin <sitos.lin <at> gmail.com> writes: > > Dear all: > Thanks for all responses to help me to run SpecOMP on M5. Does > somebody have another linux dump file instead of the one provided in > M5 site? The linux dump in M5 site have no utility. Does somebody can > provide a linux dump file with gcc/gdb? Maybe I can build the > benchmark in the simulator or using gdb to know why I always get > segmentation fault when I run the binaries. > regards, > sitos >
Hello, I got SpecOMP to run on M5 ALPHA_FS, so I can provide some pointers. First, I compiled a cross compiler with crosstool-0.43. The toolchain version that I use is gcc-4.2.4-glibc-2.3.6-tls (you need gcc-4.2 for OpenMP support). It seems to work right away without any tweaking. To get fortran compiler, just add it to the list of languages in demo-alpha.sh file. You don't need to compile SpecOMP statically, just make sure you include the -fopenmp flag. Finally, copy the library files from gcc-4.2.4-glibc-2.3.6/alpha-unknown-linux-gnu/alpha-unknown-linux-gnu/lib to the /lib directory on the disk image. I hope that helps. Giang _______________________________________________ m5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/m5-users
