[parsec-users] question about GEMS and PARSEC

Christian A Bienia cbienia at CS.Princeton.EDU
Sat Aug 29 15:58:46 EDT 2009


It seems that you don't have the required libstdc++ library installed on the virtual machine. You either need to (1) either install the correct library on the virtual machine or (2) copy the libstdc++ library of the system that you used to build the programs to the virtual machine or (3) link libstdc++ statically.

Libstdc++ comes with gcc and must match the gcc version you used to build the programs. The PARSEC precompiled binaries that are offered on the web site link libstdc++ statically and should run out-of-the-box.


----- Original Message -----
From: hamid at cs.wisc.edu
To: parsec-users at lists.cs.princeton.edu
Sent: Saturday, August 29, 2009 7:33:59 AM GMT -05:00 US/Canada Eastern
Subject: [parsec-users] question about GEMS and PARSEC


I want to run one(swaptions) using wisconsin multifacet GEMS environment.
I have compiled PARSEC applications on two different systems with "SunOS
pinot.cs.wisc.edu 5.8 Generic_117350-33 sun4u sparc" and "SunOS
chianti.cs.wisc.edu 5.11 snv_59 sun4v sparc SUNW,Sun-Fire-T200". I have
run both version on GEMS. When I run the GEMS and execute the application,
the following error is shown.

#"./swaptions -ns [number of swaptions] -sm [number of simulations] -nt
[number of threads]
@command_lines = [
    "mount /host\n",
    "cp " + hostpath + "/swaptions ./swaptions \n",
    "cp " + hostpath + "/libstdc++.so.6 ./libstdc++.so.6 \n",
    "LD_LIBRARY_PATH=/host/s/gcc-4.2.1/sun4x_58/lib \n",
    "./swaptions -ns 500 -sm 50 -nt 100 \n"
[../../../microbenchmarks/transactional/swaptions/swaptions.simics:58] c
bash-2.05# mount /host
mount: hostfs: Invalid argument
bash-2.05# cp
swaptions/inst/sparc-Solaris.gcc-serial/bin//swaptions ./swaptions
bash-2.05# cp
swaptions/inst/sparc-Solaris.gcc-serial/bin//libstdc++.so.6 ./libstdc++.so.6
bash-2.05# LD_LIBRARY_PATH=/host/s/gcc-4.2.1/sun4x_58/lib
bash-2.05# ./swaptions -ns 500 -sm 50 -nt 100
ld.so.1: ./swaptions: fatal: libstdc++.so.6: open failed: No such file or

Would you please help me to remove the following problem? How can I fix it?

thank you,

parsec-users mailing list
parsec-users at lists.cs.princeton.edu

More information about the parsec-users mailing list