Hi all,
I get the following warning and errors. Any ideas?
Mihalis
(venv27) mike@mike-HP-ProBook-430-G5:~/gem5$ scons -j8 build/X86/gem5.opt
PROTOCOL=MSI
scons: Reading SConscript files ...
Warning: Your compiler doesn't support incremental linking and lto at the
same
time, so lto is being disabled. To force lto on anyway, use the
--force-lto option. That will disable partial linking.
Info: Using Python config: python3-config
Checking for C header file Python.h... (cached) yes
Checking for C library python3.6m... yes
Checking for C library pthread... yes
Checking for C library dl... yes
Checking for C library util... yes
Checking for C library m... yes
Checking for accept(0,0,0) in C++ library None... yes
Checking for zlibVersion() in C++ library z... yes
Checking for GOOGLE_PROTOBUF_VERIFY_VERSION in C++ library protobuf... yes
Checking for C header file valgrind/valgrind.h... (cached) yes
Checking for clock_nanosleep(0,0,NULL,NULL) in C library None... yes
Checking for timer_create(CLOCK_MONOTONIC, NULL, NULL) in C library None...
no
Checking for timer_create(CLOCK_MONOTONIC, NULL, NULL) in C library rt...
yes
Checking for C library tcmalloc... yes
Checking for char temp; backtrace_symbols_fd((void*)&temp, 0, 0) in C
library None... yes
Checking for C header file fenv.h... (cached) yes
Checking for C header file png.h... (cached) yes
Checking for C header file linux/kvm.h... (cached) yes
Checking for C header file linux/if_tun.h... (cached) yes
Checking size of struct kvm_xsave ... yes
Checking for member exclude_host in struct perf_event_attr...(cached) yes
Checking for hdf5-serial using pkg-config... yes
Checking for H5Fcreate("", 0, 0, 0) in C library hdf5... yes
Checking for H5::H5File("", 0) in C++ library hdf5_cpp... yes
Checking whether __i386__ is declared... no
Checking whether __x86_64__ is declared... yes
Building in /home/mike/gem5/build/X86
Using saved variables file /home/mike/gem5/build/variables/X86
AttributeError: Flag HelloExample already specified:
File "/home/mike/gem5/SConstruct", line 1244:
exports=['env', 'marshal_env'])
File
"/home/mike/gem5/venv27/lib/python2.7/site-packages/scons/SCons/Script/SConscript.py",
line 660:
return method(*args, **kw)
File
"/home/mike/gem5/venv27/lib/python2.7/site-packages/scons/SCons/Script/SConscript.py",
line 597:
return _SConscript(self.fs, *files, **subst_kw)
File
"/home/mike/gem5/venv27/lib/python2.7/site-packages/scons/SCons/Script/SConscript.py",
line 286:
exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals)
File "/home/mike/gem5/build/X86/SConscript", line 601:
SConscript(joinpath(root, 'SConscript'), variant_dir=build_dir)
File
"/home/mike/gem5/venv27/lib/python2.7/site-packages/scons/SCons/Script/SConscript.py",
line 660:
return method(*args, **kw)
File
"/home/mike/gem5/venv27/lib/python2.7/site-packages/scons/SCons/Script/SConscript.py",
line 597:
return _SConscript(self.fs, *files, **subst_kw)
File
"/home/mike/gem5/venv27/lib/python2.7/site-packages/scons/SCons/Script/SConscript.py",
line 286:
exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals)
File "/home/mike/gem5/build/X86/learning_gem5/part2/SConscript", line 41:
DebugFlag('HelloExample', "For Learning gem5 Part 2. Simple example
debug flag")
File "/home/mike/gem5/build/X86/SConscript", line 555:
raise AttributeError("Flag {} already specified".format(name))
(venv27) mike@mike-HP-ProBook-430-G5:~/gem5$
On Sat, 13 Feb 2021 at 20:17, Ahmed F Khawaja via gem5-users <
[email protected]> wrote:
> Greetings,
>
> I'm just starting out with Gem5 and I have a couple of questions in
> regards to SMT/Multicore (MC) simulations.
>
> 1. Does SMT or MC require running full system mode or is it possible in SE
> mode?
> 2. Do any of the builtin cores have SMT capabilities? I noticed the CPU
> base class has a multi_thread variable, but I'm curious if it is
> implemented/just setting it is sufficient.
> 3. Lastly, is there any example of setting up a multicore system? A sample
> configuration script to use as a guide? It's a bit overwhelming to try and
> setup without anything to go by and everything I found via Google seems to
> be very old or questions posted without answers.
>
> Thank you in advance,
> Ahmed
> _______________________________________________
> gem5-users mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
> %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
_______________________________________________
gem5-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s