Hi Yarong. Unfortunately, the error output does not say much. I suggest you start the simulation by attaching gdb to the simics process (after you compile the simulator with -g flag) and take a look at the backtrace output after the simulation crashes. Most probably, this has to do with the configuration parameters or loading the flexpoint.
Hope this helps. -- Cansu On Jul 27, 2013, at 4:51 AM, Yarong Guo <[email protected]<mailto:[email protected]>> wrote: Hello, I am having a little issue running flexus after flex points have been created. I successfully created flex points for a solaris sytem I installed using Simics. However, when I run the simulation using the run_job script, it seems to crash when initializing sys-uarch. Image memory limited to 1 GB Opening debug output file: debug.out Opening debug output file: stats.out Opening debug output file: trace.out Successfully parsed debug configurations from debug.cfg Initializing Flexus::ConfigurationManager...done Initializing Flexus::ComponentManager...done Entered init_local Flexus (C) 2006-2010 The SimFlex Project Eric Chung, Michael Ferdman, Brian Gold, Nikos Hardavellas, Jangwook Kim, Ippokratis Pandis, Minglong Shao, Jared Smolens, Stephen Somogyi, Evangelos Vlachos, Thomas Wenisch, Roland Wunderlich Anastassia Ailamaki, Babak Falsafi and James C. Hoe. Flexus Simics simulator - Built as UP.OoO v1.0 1 <startup.cpp:121> {0}- Initializing Flexus. 2 <ComponentManager.cpp:79> {0}- Instantiating system with a width factor of: 1 3 <WhiteBoxImpl.cpp:416> {0}- Creating WhiteBox 4 <WhiteBoxImpl.cpp:99> {0}- symtable loaded 5 <uFetch.hpp:82> {0}- ufetch port InstructionFetchSeen is not wired 6 <uFetch.hpp:82> {0}- ufetch port ClockTickSeen is not wired 7 <v9Decoder.hpp:66> {0}- decoder port DispatchedInstructionOut is not wired 8 <uArch.hpp:121> {0}- uarch port StoreForwardingHitSeen is not wired 9 <Cache.hpp:92> {0}- L1d port FrontSideOut_I is not wired 10 <Cache.hpp:92> {0}- L1d port BackSideOut_Prefetch is not wired 11 <wiring.cpp:101> {0}- initializing Parameters... Warning: The 'flexus-UP.OoO-v9-iface-gcc' module unexpectedly defined the 'Flexus' class Warning: The 'flexus-UP.OoO-v9-iface-gcc' module unexpectedly defined the 'SimicsInterface' class WARNING: There is no parameter named "-uarch:early_sgp" WARNING: There is no parameter named "-uarch:track_parallel" 12 <configuration.hpp:189> {0}- Bad Lexical Cast attempting to set dynamic parameter. WARNING: Unable to set parameter CacheLevel to eL1 13 <configuration.hpp:189> {0}- Bad Lexical Cast attempting to set dynamic parameter. WARNING: Unable to set parameter CacheLevel to eL2 14 <flexus.cpp:385> {0}- Set region interval to : 50000 [cpu0 info] Note that on this cpu, instruction-fetch-trace is implemented using instruction-cache-access-trace with a suitable cache line size. 15 <flexus.cpp:532> {0}- Loading Flexus state from subdirectory flexus_state_in 16 <ComponentManager.cpp:94> {0}- Initalizing components... 17 <ComponentManager.cpp:98> {0}- Initalizing sys-white-box 18 <ComponentManager.cpp:98> {0}- Initalizing sys-fag 19 <mai_api.cpp:279> {0}- Searching 1 cpus. 20 <mai_api.cpp:283> {0}- Processor 0: cpu0 - CPU 0 21 <mai_api.cpp:305> {0}- Found CPU: '' - 0 22 <mai_api.cpp:325> {0}- Found 1 Flexus CPUs and 0 Client CPUs and 0 Besim CPUs in 0 VMs 23 <mai_api.cpp:428> {0}- Automatic organization of equal-size VMs 24 <mai_api.cpp:435> {0}- Square topology of VMs: 1x1 25 <mai_api.cpp:439> {0}- Square VM: 1x1 26 <mai_api.cpp:467> {0}- VMS per row = 1, CPVM = 1, GridOfVM = 1*1, NumRows = 1 27 <mai_api.cpp:527> {0}- theProcMap[0] = (0, 0) (abs_index = 0) 28 <mai_api.cpp:541> {0}- Finished creating Processor Mapper. 29 <FetchAddressGenerateImpl.cpp:88> {0}- sys-fag Thread[0.0] connected to cpu0 Initial PC: v:000010704 30 <ComponentManager.cpp:98> {0}- Initalizing sys-ufetch 31 <ComponentManager.cpp:98> {0}- Initalizing sys-combiner 32 <ComponentManager.cpp:98> {0}- Initalizing sys-decoder 33 <ComponentManager.cpp:98> {0}- Initalizing sys-uarch Segmentation fault (SIGSEGV) in main thread Crash stack trace: #0 0x00000038f2e721d5 <unknown> ./go.sh: line 4: 23436 Segmentation fault /m/sda10/yarong/FLEXUS/simics-3.0.31/scripts/start-simics -no-copyright -x start.simics -no-win -ma -batch-mode -q Cannot open stats database ../stats_db.out.gz Does everybody know where the bug might be? Thank you!!! Yarong
