IC5Notice: We have upgraded developerWorks Community to the latest version of IBM Connections. For more information, read our upgrade FAQ.
Topic
  • 4 replies
  • Latest Post - ‏2010-07-18T19:45:29Z by rolandman
SystemAdmin
SystemAdmin
10114 Posts

Pinned topic problem with simulator

‏2009-06-02T15:15:33Z |
Hi,

I am getting a problem with the cell simulator.

I am running it on a fedora 9 machine. I've installed the 3.1 version of the SDK with the packages

root@plasma cell# ./cellsdk verify

repository=CellSDK-Devel-Fedora-x86_64
default CellDevelopmentLibraries alf-cross-devel-4.0.0-1.noarch
default CellDevelopmentLibraries alf-manpages-4.0-2.noarch
default CellDevelopmentLibraries blas-cross-devel-3.1-7.noarch
default CellDevelopmentLibraries blas-manpages-3.1-2.noarch
default CellDevelopmentLibraries dacs-cross-devel-4.0.0-2.noarch
default CellDevelopmentLibraries dacs-manpages-4.0-1.noarch
default CellDevelopmentLibraries lapack-cross-devel-3.1.1-6.noarch
default CellDevelopmentLibraries libfft-cross-devel-3.1.1-1.noarch
default CellDevelopmentLibraries libfft-manpages-3.1-1.noarch
default CellDevelopmentLibraries libmc-rand-cross-devel-3.1.0-1.noarch
default CellDevelopmentLibraries libmc-rand-manpages-3.1-3.noarch
default CellDevelopmentLibraries libspe2-manpages-3.1-1.noarch
default CellDevelopmentLibraries mass-cross-devel-5.0.0-3.noarch
default CellDevelopmentLibraries ppu-xlmass-lib-5.0.0-0.noarch
default CellDevelopmentLibraries simdmath-cross-devel-3.1-1.noarch
default CellDevelopmentLibraries simdmath-manpages-3.1-1.noarch
default CellDevelopmentLibraries spu-newlib-manpages-3.1-1.noarch
default CellDevelopmentLibraries spu-xlmass-lib-5.0.0-0.noarch
default CellProgrammingExamples alf-examples-source-4.0.0-1.noarch
default CellProgrammingExamples blas-examples-source-3.1-7.noarch
default CellProgrammingExamples cell-buildutils-3.1-1.noarch
default CellProgrammingExamples cell-demos-cross-3.1-1.noarch
default CellProgrammingExamples cell-demos-source-3.1-1.noarch
default CellProgrammingExamples cell-examples-cross-3.1-1.noarch
default CellProgrammingExamples cell-examples-source-3.1-1.noarch
default CellProgrammingExamples cell-libs-cross-3.1-1.noarch
default CellProgrammingExamples cell-libs-cross-devel-3.1-1.noarch
default CellProgrammingExamples cell-libs-source-3.1-1.noarch
default CellProgrammingExamples cell-tutorial-cross-3.1-1.noarch
default CellProgrammingExamples cell-tutorial-source-3.1-1.noarch
default CellProgrammingExamples dacs-examples-source-4.0.0-2.noarch
default CellProgrammingExamples lapack-examples-source-3.1.1-6.noarch
default CellProgrammingExamples libfft-examples-source-3.1.1-1.noarch
default CellProgrammingExamples libmc-examples-source-3.1.0-1.noarch
mandatory CellDevelopmentLibraries cell-documentation-3.1-1.noarch
mandatory CellRuntimeEnvironment cell-devel-license-3.1.0-0.0.noarch
optional CellDevelopmentLibraries pdt-cross-devel-3.1-16.noarch
optional CellDevelopmentLibraries pdt-devel-3.1-16.i686 not installed
optional CellDevelopmentLibraries pdt-devel-3.1-16.x86_64
optional CellDevelopmentLibraries trace-cross-devel-3.1-16.noarch
optional CellDevelopmentLibraries trace-devel-3.1-16.i686 not installed
optional CellDevelopmentLibraries trace-devel-3.1-16.x86_64
optional CellDevelopmentTools alf-ide-template-4.0.0-1.i386 not installed
optional CellDevelopmentTools cellide-3.1.0-6.i386
optional CellDevelopmentTools ibm-java2-i386-jre-5.0-8.0.i386
optional CellPerformanceTools fdprpro-5.4.0-19_20080909.i386 not installed
optional CellPerformanceTools pdt-3.1-16.i686 not installed
optional CellPerformanceTools pdt-3.1-16.x86_64
optional CellPerformanceTools pdtr-3.1-23.x86_64
optional CellPerformanceTools trace-3.1-16.i686 not installed
optional CellPerformanceTools trace-3.1-16.x86_64
optional CellProgrammingExamples cell-compliance-tests-cross-3.0-6.noarch not installed
optional CellProgrammingExamples cell-compliance-tests-source-3.0-6.noarch not installed

repository=CellSDK-Extras-Fedora-x86_64
mandatory CellDevelopmentLibraries cell-extras-documentation-3.1-1.noarch
mandatory CellRuntimeEnvironment cell-extras-Fedora-license-3.1.0-0.0.noarch
optional CellDevelopmentLibraries alf-hybrid-cross-devel-4.0.0-1.noarch not installed
optional CellDevelopmentLibraries alf-hybrid-devel-4.0.0-1.x86_64 not installed
optional CellDevelopmentLibraries alf-hybrid-trace-devel-4.0.0-1.x86_64 not installed
optional CellDevelopmentLibraries alfxds-cross-devel-4.0.0-1.noarch not installed
optional CellDevelopmentLibraries cell-spu-isolation-cross-devel-3.1.0-1.noarch
optional CellDevelopmentLibraries cell-spu-isolation-loader-cross-3.1.0-1.noarch
optional CellDevelopmentLibraries dacs-hybrid-cross-devel-4.0.0-6.noarch not installed
optional CellDevelopmentLibraries dacs-hybrid-devel-4.0.0-6.i686 not installed
optional CellDevelopmentLibraries dacs-hybrid-devel-4.0.0-6.x86_64 not installed
optional CellDevelopmentLibraries dacs-hybrid-trace-devel-4.0.0-6.i686 not installed
optional CellDevelopmentLibraries dacs-hybrid-trace-devel-4.0.0-6.x86_64 not installed
optional CellDevelopmentLibraries fdpr-launcher-1.0.0-1.noarch not installed
optional CellDevelopmentLibraries libfft3d-cross-devel-3.0-2.noarch not installed
optional CellDevelopmentLibraries spu-libcrypto-cross-devel-1.0.0-1.noarch
optional CellDevelopmentTools cell-spu-isolation-tool-source-3.1.0-1.noarch
optional CellDevelopmentTools dacs-hybrid-tools-4.0.0-5.x86_64 not installed
optional CellPerformanceTools alf-hybrid-trace-4.0.0-1.x86_64 not installed
optional CellPerformanceTools cell-perf-hybrid-tools-3.1.0-1.x86_64
optional CellPerformanceTools cell-spu-timing-3.1-2.i686
optional CellPerformanceTools dacs-hybrid-trace-4.0.0-6.i686 not installed
optional CellPerformanceTools dacs-hybrid-trace-4.0.0-6.x86_64 not installed
optional CellProgrammingExamples alf-hybrid-examples-source-4.0.0-1.noarch not installed
optional CellProgrammingExamples alfxds-examples-source-4.0.0-1.noarch not installed
optional CellProgrammingExamples cell-spu-isolation-emulated-samples-3.1.0-1.noarch
optional CellProgrammingExamples dacs-hybrid-examples-source-4.0.0-2.noarch not installed
optional CellProgrammingExamples libfft3d-examples-source-3.0-3.noarch not installed
optional CellProgrammingExamples spu-libcrypto-examples-1.0.0-1.noarch
optional CellRuntimeEnvironment alf-hybrid-4.0.0-1.x86_64 not installed
optional CellRuntimeEnvironment dacs-hybrid-4.0.0-6.i686 not installed
optional CellRuntimeEnvironment dacs-hybrid-4.0.0-6.x86_64 not installed
optional CellRuntimeEnvironment dacs-hybrid-daemon-4.0.0-6.i686 not installed
optional CellRuntimeEnvironment datamover-pcie-axon-1.0.0-1.i686 not installed
optional CellRuntimeEnvironment datamover-pcie-axon-1.0.0-1.x86_64 not installed

repository=CellSDK-Open-Fedora-x86_64
default CellDevelopmentLibraries libspe2-cross-devel-2.2.80-132.noarch
default CellDevelopmentLibraries netpbm-cross-devel-10.35.41-1.fc9.noarch
default CellDevelopmentTools ppu-binutils-2.18.50-21.i686
default CellDevelopmentTools ppu-gcc-4.1.1-166.i686
default CellDevelopmentTools ppu-gcc-c++-4.1.1-166.i686
default CellDevelopmentTools ppu-gdb-6.8.50-13.i686
default CellDevelopmentTools ppu-sysroot64-f9-2.noarch
default CellDevelopmentTools ppu-sysroot-f9-2.noarch
default CellDevelopmentTools spu-binutils-2.18.50-21.i686
default CellDevelopmentTools spu-gcc-4.1.1-166.i686
default CellDevelopmentTools spu-gcc-c++-4.1.1-166.i686
default CellDevelopmentTools spu-gdb-6.8.50-13.i686
default CellDevelopmentTools spu-newlib-1.16.0-17.i686
optional CellDevelopmentTools ppu-binutils-debuginfo-2.18.50-21.i686
optional CellDevelopmentTools ppu-gcc43-4.3.2-2.i686
optional CellDevelopmentTools ppu-gcc43-c++-4.3.2-2.i686
optional CellDevelopmentTools ppu-gcc43-debuginfo-4.3.2-2.i686
optional CellDevelopmentTools ppu-gcc43-fortran-4.3.2-2.i686 not installed
optional CellDevelopmentTools ppu-gcc-debuginfo-4.1.1-166.i686
optional CellDevelopmentTools ppu-gcc-fortran-4.1.1-166.i686 not installed
optional CellDevelopmentTools ppu-gcc-gnat-4.1.1-166.i686 not installed
optional CellDevelopmentTools ppu-gdb-debuginfo-6.8.50-13.i686
optional CellDevelopmentTools spu-binutils-debuginfo-2.18.50-21.i686
optional CellDevelopmentTools spu-gcc43-4.3.2-2.i686
optional CellDevelopmentTools spu-gcc43-c++-4.3.2-2.i686
optional CellDevelopmentTools spu-gcc43-debuginfo-4.3.2-2.i686
optional CellDevelopmentTools spu-gcc43-fortran-4.3.2-2.i686 not installed
optional CellDevelopmentTools spu-gcc-debuginfo-4.1.1-166.i686
optional CellDevelopmentTools spu-gcc-fortran-4.1.1-166.i686 not installed
optional CellDevelopmentTools spu-gdb-debuginfo-6.8.50-13.i686
optional CellDevelopmentTools spu-newlib-debuginfo-1.16.0-17.i686
optional CellDevelopmentTools sysroot_image-3.1-1.noarch
cellsdk INFO-2025: All default rpms are installed
root@plasma cell#

When I started the simulator and tried to run my program I've got the error message that could not found the libsimdmath.so.

However, It's there on the sysroot. Do I have to install it on the Linux Image of the simulator?? :S Any better method to do that?
root@plasma cell# locate libsimdmath.so
/opt/cell/sysroot/usr/lib/libsimdmath.so
/opt/cell/sysroot/usr/lib/libsimdmath.so.3
/opt/cell/sysroot/usr/lib/libsimdmath.so.3.1.1
/opt/cell/sysroot/usr/lib64/libsimdmath.so
/opt/cell/sysroot/usr/lib64/libsimdmath.so.3
/opt/cell/sysroot/usr/lib64/libsimdmath.so.3.1.1
root@plasma cell#

Am I doing something wrong? Have to set a special path? Any thing?

Regards,

Guilherme
Updated on 2010-07-18T19:45:29Z at 2010-07-18T19:45:29Z by rolandman
  • SystemAdmin
    SystemAdmin
    10114 Posts

    Re: problem with simulator

    ‏2009-06-02T18:06:08Z  
    I've figured out how to install the libsimdmath.so into the sysroot.

    The method that I choose was:

    i) Changed in the systemsim.tcl the parameters to put the sys_root image writable (rw)

    ii) start the simulator

    iii) copy the rpms using callthru

    iv) installing them

    v) exiting and returning the parameter on systemsim.tcl to newcow

    ;)

    Regards, Guilherme
  • mkistler
    mkistler
    551 Posts

    Re: problem with simulator

    ‏2009-06-03T00:46:14Z  
    I've figured out how to install the libsimdmath.so into the sysroot.

    The method that I choose was:

    i) Changed in the systemsim.tcl the parameters to put the sys_root image writable (rw)

    ii) start the simulator

    iii) copy the rpms using callthru

    iv) installing them

    v) exiting and returning the parameter on systemsim.tcl to newcow

    ;)

    Regards, Guilherme
    Guilherme,

    I'm glad this worked for you. For the benefit of anyone else that wants to try this, I would like to add that it is important to make sure all your filesystem changes have been written out to the sysroot disk before exiting the simulator. To do this, you should issue 'sync;sync' in the linux console just before exiting the simulator.

    Mike
  • SystemAdmin
    SystemAdmin
    10114 Posts

    Re: problem with simulator

    ‏2009-06-03T01:00:03Z  
    • mkistler
    • ‏2009-06-03T00:46:14Z
    Guilherme,

    I'm glad this worked for you. For the benefit of anyone else that wants to try this, I would like to add that it is important to make sure all your filesystem changes have been written out to the sysroot disk before exiting the simulator. To do this, you should issue 'sync;sync' in the linux console just before exiting the simulator.

    Mike
    Mike, you are right. I didn't say/write that, but I did the "sync;sync" double command.

    It's working fine now. ;)

    Regards,

    Guilherme
  • rolandman
    rolandman
    5 Posts

    Re: problem with simulator

    ‏2010-07-18T19:45:29Z  
    Mike, you are right. I didn't say/write that, but I did the "sync;sync" double command.

    It's working fine now. ;)

    Regards,

    Guilherme
    Hi, I have the same problem

    iii) copy the rpms using callthru

    Which rpms did you copy? only the simdmath or?

    Thank you