Discussion:
LD_LIBRARY_PATH & LIBRARY_PATH
(too old to reply)
Kalai Narayanan-SSI
2013-01-09 18:51:22 UTC
Permalink
Hi,
My command for building is:
../../scons/scons-2.2.0/build/scripts/scons build/ARM/gem5.opt SWIG=/share/projects10/IPproject/workspace/kalai.rajah/swig/swig-2.0.9/bin/swig CXX=/share/projects/IP/local_2/bin/g++ --no-colors LD_LIBRARY_PATH=/share/projects/IP/local_2/lib64/ LIBRARY_PATH=/share/projects/IP/local_2/lib64/

The compile goes fine.
But when I execute, I see the GLIBCXX_3.... Not found error.

When I do ldd on build/ARM/gem5.opt, I see that it uses /usr/lib64 for libstdc++.so.6

Why is scons picking up the libraries from /usr/lib64 and not from what is passed on the command line for LIBRARY_PATH/LD_LIBRARY_PATH?

Thanks,
Kalai
Ali Saidi
2013-01-09 22:28:36 UTC
Permalink
Hi Kalai,

I haven't seen that error before, but I'd guess it would
might have something to do with how gcc was configured. You might want
to turn on the verbose option (--verbose) and take a look at the command
lines being generated by the linker. Additionally, you probably need to
set LD_LIBRARY_PATH before running gem5 so the dynamic linker looks for
libraries in the correct location.

Ali

On 09.01.2013 13:51, Kalai
Post by Kalai Narayanan-SSI
Hi,
../../scons/scons-2.2.0/build/scripts/scons build/ARM/gem5.opt
SWIG=/share/projects10/IPproject/workspace/kalai.rajah/swig/swig-2.0.9/bin/swig
CXX=/share/projects/IP/local_2/bin/g++ --no-colors
LD_LIBRARY_PATH=/share/projects/IP/local_2/lib64/
LIBRARY_PATH=/share/projects/IP/local_2/lib64/
Post by Kalai Narayanan-SSI
The compile goes
fine.
Post by Kalai Narayanan-SSI
But when I execute, I see the GLIBCXX_3
. Not found error.
When I do ldd on build/ARM/gem5.opt, I see that it uses /usr/lib64 for libstdc++.so.6
Why is scons picking up the libraries from
/usr/lib64 and not from what is passed on the command line for
LIBRARY_PATH/LD_LIBRARY_PATH?
Post by Kalai Narayanan-SSI
Thanks,
Kalai
_______________________________________________
Post by Kalai Narayanan-SSI
gem5-users mailing
list
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users [1]




Links:
------
[1]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
Kalai Narayanan-SSI
2013-01-09 22:37:35 UTC
Permalink
Hi Ali,

If I set LD_LIBRARY_PATH AND LIBRARY_PATH env variables, then executing results in:

Traceback (most recent call last):
File "<string>", line 1, in ?
File "/share/projects10/IPproject/workspace/kalai.rajah/gem5/gem5-56610ab73040/src/python/importer.py", line 73, in load_module
exec code in mod.__dict__
File "/share/projects10/IPproject/workspace/kalai.rajah/gem5/gem5-56610ab73040/src/python/m5/__init__.py", line 35, in ?
import internal
File "/share/projects10/IPproject/workspace/kalai.rajah/gem5/gem5-56610ab73040/src/python/importer.py", line 73, in load_module
exec code in mod.__dict__
File "/share/projects10/IPproject/workspace/kalai.rajah/gem5/gem5-56610ab73040/src/python/m5/internal/__init__.py", line 31, in ?
import event
File "/share/projects10/IPproject/workspace/kalai.rajah/gem5/gem5-56610ab73040/src/python/importer.py", line 73, in load_module
exec code in mod.__dict__
File "/share/projects10/IPproject/workspace/kalai.rajah/gem5/gem5-56610ab73040/build/ARM/python/swig/event.py", line 107, in ?
class Event(m5.internal.serialize.Serializable):
AttributeError: 'module' object has no attribute 'internal'


But I see that ldd on the executable has the intended library being picked up:
ldd ./build/ARM/gem5.opt
linux-vdso.so.1 => (0x00007fffcce99000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00000030a4e00000)
libdl.so.2 => /lib64/libdl.so.2 (0x00000030a4600000)
libutil.so.1 => /lib64/libutil.so.1 (0x00000030b0400000)
libpython2.4.so.1.0 => /usr/lib64/libpython2.4.so.1.0 (0x00000030b6c00000)
libz.so.1 => /share/projects/IP/local_2/lib64/libz.so.1 (0x00002b8630324000)
librt.so.1 => /lib64/librt.so.1 (0x00000030a8a00000)
libstdc++.so.6 => /share/projects/IP/local_2/lib64/libstdc++.so.6 (0x00002b863053d000)
libm.so.6 => /lib64/libm.so.6 (0x00000030a4a00000)
libgcc_s.so.1 => /share/projects/IP/local_2/lib64/libgcc_s.so.1 (0x00002b8630842000)
libc.so.6 => /lib64/libc.so.6 (0x00000030a4200000)
/lib64/ld-linux-x86-64.so.2 (0x00000030a3a00000)

I’ll also run with the –verbose option to see the linker commands.

-Kalai


From: gem5-users-***@gem5.org [mailto:gem5-users-***@gem5.org] On Behalf Of Ali Saidi
Sent: Wednesday, January 09, 2013 2:29 PM
To: gem5 users mailing list
Subject: Re: [gem5-users] LD_LIBRARY_PATH & LIBRARY_PATH


Hi Kalai,



I haven't seen that error before, but I'd guess it would might have something to do with how gcc was configured. You might want to turn on the verbose option (--verbose) and take a look at the command lines being generated by the linker. Additionally, you probably need to set LD_LIBRARY_PATH before running gem5 so the dynamic linker looks for libraries in the correct location.

Ali



On 09.01.2013 13:51, Kalai Narayanan-SSI wrote:
Hi,
My command for building is:
../../scons/scons-2.2.0/build/scripts/scons build/ARM/gem5.opt SWIG=/share/projects10/IPproject/workspace/kalai.rajah/swig/swig-2.0.9/bin/swig CXX=/share/projects/IP/local_2/bin/g++ --no-colors LD_LIBRARY_PATH=/share/projects/IP/local_2/lib64/ LIBRARY_PATH=/share/projects/IP/local_2/lib64/

The compile goes fine.
But when I execute, I see the GLIBCXX_3
. Not found error.

When I do ldd on build/ARM/gem5.opt, I see that it uses /usr/lib64 for libstdc++.so.6

Why is scons picking up the libraries from /usr/lib64 and not from what is passed on the command line for LIBRARY_PATH/LD_LIBRARY_PATH?

Thanks,
Kalai





_______________________________________________

gem5-users mailing list

gem5-***@gem5.org<mailto:gem5-***@gem5.org>

http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
Ali Saidi
2013-01-09 22:43:28 UTC
Permalink
Hi Kalai,

This I have seen before and is caused by python not
being compatible with the libc that is in the LD_LIBRARY_PATH.

Ali
Post by Kalai Narayanan-SSI
Hi Ali,
If I
set LD_LIBRARY_PATH AND LIBRARY_PATH env variables, then executing
Post by Kalai Narayanan-SSI
File
"<string>", line 1, in ?
Post by Kalai Narayanan-SSI
File
"/share/projects10/IPproject/workspace/kalai.rajah/gem5/gem5-56610ab73040/src/python/importer.py",
line 73, in load_module
Post by Kalai Narayanan-SSI
exec code in mod.__dict__
File
"/share/projects10/IPproject/workspace/kalai.rajah/gem5/gem5-56610ab73040/src/python/m5/__init__.py",
line 35, in ?
Post by Kalai Narayanan-SSI
import internal
File
"/share/projects10/IPproject/workspace/kalai.rajah/gem5/gem5-56610ab73040/src/python/importer.py",
line 73, in load_module
Post by Kalai Narayanan-SSI
exec code in mod.__dict__
File
"/share/projects10/IPproject/workspace/kalai.rajah/gem5/gem5-56610ab73040/src/python/m5/internal/__init__.py",
line 31, in ?
Post by Kalai Narayanan-SSI
import event
File
"/share/projects10/IPproject/workspace/kalai.rajah/gem5/gem5-56610ab73040/src/python/importer.py",
line 73, in load_module
Post by Kalai Narayanan-SSI
exec code in mod.__dict__
File
"/share/projects10/IPproject/workspace/kalai.rajah/gem5/gem5-56610ab73040/build/ARM/python/swig/event.py",
line 107, in ?
Post by Kalai Narayanan-SSI
AttributeError: 'module' object has no attribute 'internal'
Andreas Hansson
2013-01-09 22:47:30 UTC
Permalink
Hi Kalai,

Just a thought...while you are busy making all the tools and libraries like each other, if you just want to get going, an Ubuntu 12 virtual machine only needs a single apt-get install command and you're good to go. The latter will not be as performant, but at least you have something that works in the interim.

Andreas

From: Ali Saidi <***@umich.edu<mailto:***@umich.edu>>
Reply-To: "***@umich.edu<mailto:***@umich.edu>" <***@umich.edu<mailto:***@umich.edu>>, gem5 users mailing list <gem5-***@gem5.org<mailto:gem5-***@gem5.org>>
Date: Wednesday, 9 January 2013 22:43
To: "gem5-***@gem5.org<mailto:gem5-***@gem5.org>" <gem5-***@gem5.org<mailto:gem5-***@gem5.org>>
Subject: Re: [gem5-users] LD_LIBRARY_PATH & LIBRARY_PATH


Hi Kalai,



This I have seen before and is caused by python not being compatible with the libc that is in the LD_LIBRARY_PATH.



Ali



On 09.01.2013 17:37, Kalai Narayanan-SSI wrote:
Hi Ali,

If I set LD_LIBRARY_PATH AND LIBRARY_PATH env variables, then executing results in:

Traceback (most recent call last):
File "<string>", line 1, in ?
File "/share/projects10/IPproject/workspace/kalai.rajah/gem5/gem5-56610ab73040/src/python/importer.py", line 73, in load_module
exec code in mod.__dict__
File "/share/projects10/IPproject/workspace/kalai.rajah/gem5/gem5-56610ab73040/src/python/m5/__init__.py", line 35, in ?
import internal
File "/share/projects10/IPproject/workspace/kalai.rajah/gem5/gem5-56610ab73040/src/python/importer.py", line 73, in load_module
exec code in mod.__dict__
File "/share/projects10/IPproject/workspace/kalai.rajah/gem5/gem5-56610ab73040/src/python/m5/internal/__init__.py", line 31, in ?
import event
File "/share/projects10/IPproject/workspace/kalai.rajah/gem5/gem5-56610ab73040/src/python/importer.py", line 73, in load_module
exec code in mod.__dict__
File "/share/projects10/IPproject/workspace/kalai.rajah/gem5/gem5-56610ab73040/build/ARM/python/swig/event.py", line 107, in ?
class Event(m5.internal.serialize.Serializable):
AttributeError: 'module' object has no attribute 'internal'



-- IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
Kalai Narayanan-SSI
2013-01-09 23:07:45 UTC
Permalink
Will pointing python to my local install of python (as discussed in http://gem5.org/Using_a_non-default_Python_installation) help?

Andreas,
Can you let me know the apt-get install command that I had to use on Ubuntu 12 machines? I can give a try.

-Kalai


-----Original Message-----
From: gem5-users-***@gem5.org [mailto:gem5-users-***@gem5.org] On Behalf Of Andreas Hansson
Sent: Wednesday, January 09, 2013 2:48 PM
To: ***@umich.edu; gem5 users mailing list
Subject: Re: [gem5-users] LD_LIBRARY_PATH & LIBRARY_PATH

Hi Kalai,

Just a thought...while you are busy making all the tools and libraries like each other, if you just want to get going, an Ubuntu 12 virtual machine only needs a single apt-get install command and you're good to go. The latter will not be as performant, but at least you have something that works in the interim.

Andreas

From: Ali Saidi <***@umich.edu<mailto:***@umich.edu>>
Reply-To: "***@umich.edu<mailto:***@umich.edu>" <***@umich.edu<mailto:***@umich.edu>>, gem5 users mailing list <gem5-***@gem5.org<mailto:gem5-***@gem5.org>>
Date: Wednesday, 9 January 2013 22:43
To: "gem5-***@gem5.org<mailto:gem5-***@gem5.org>" <gem5-***@gem5.org<mailto:gem5-***@gem5.org>>
Subject: Re: [gem5-users] LD_LIBRARY_PATH & LIBRARY_PATH


Hi Kalai,



This I have seen before and is caused by python not being compatible with the libc that is in the LD_LIBRARY_PATH.



Ali



On 09.01.2013 17:37, Kalai Narayanan-SSI wrote:
Hi Ali,

If I set LD_LIBRARY_PATH AND LIBRARY_PATH env variables, then executing results in:

Traceback (most recent call last):
File "<string>", line 1, in ?
File "/share/projects10/IPproject/workspace/kalai.rajah/gem5/gem5-56610ab73040/src/python/importer.py", line 73, in load_module
exec code in mod.__dict__
File "/share/projects10/IPproject/workspace/kalai.rajah/gem5/gem5-56610ab73040/src/python/m5/__init__.py", line 35, in ?
import internal
File "/share/projects10/IPproject/workspace/kalai.rajah/gem5/gem5-56610ab73040/src/python/importer.py", line 73, in load_module
exec code in mod.__dict__
File "/share/projects10/IPproject/workspace/kalai.rajah/gem5/gem5-56610ab73040/src/python/m5/internal/__init__.py", line 31, in ?
import event
File "/share/projects10/IPproject/workspace/kalai.rajah/gem5/gem5-56610ab73040/src/python/importer.py", line 73, in load_module
exec code in mod.__dict__
File "/share/projects10/IPproject/workspace/kalai.rajah/gem5/gem5-56610ab73040/build/ARM/python/swig/event.py", line 107, in ?
class Event(m5.internal.serialize.Serializable):
AttributeError: 'module' object has no attribute 'internal'



-- IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
Andreas Hansson
2013-01-09 23:17:24 UTC
Permalink
Hi Kalai,

Check out the slides from
http://gem5.org/dist/tutorials/hipeac2012/gem5_hipeac.pdf that mentions
the apt-get command line. This corresponds to what is mentioned on
http://www.m5sim.org/Dependencies

Good luck

Andreas
Post by Kalai Narayanan-SSI
Will pointing python to my local install of python (as discussed in
http://gem5.org/Using_a_non-default_Python_installation) help?
Andreas,
Can you let me know the apt-get install command that I had to use on
Ubuntu 12 machines? I can give a try.
-Kalai
-----Original Message-----
Behalf Of Andreas Hansson
Sent: Wednesday, January 09, 2013 2:48 PM
Subject: Re: [gem5-users] LD_LIBRARY_PATH & LIBRARY_PATH
Hi Kalai,
Just a thought...while you are busy making all the tools and libraries
like each other, if you just want to get going, an Ubuntu 12 virtual
machine only needs a single apt-get install command and you're good to
go. The latter will not be as performant, but at least you have something
that works in the interim.
Andreas
Date: Wednesday, 9 January 2013 22:43
Subject: Re: [gem5-users] LD_LIBRARY_PATH & LIBRARY_PATH
Hi Kalai,
This I have seen before and is caused by python not being compatible with
the libc that is in the LD_LIBRARY_PATH.
Ali
Hi Ali,
File "<string>", line 1, in ?
File
"/share/projects10/IPproject/workspace/kalai.rajah/gem5/gem5-56610ab73040/
src/python/importer.py", line 73, in load_module
exec code in mod.__dict__
File
"/share/projects10/IPproject/workspace/kalai.rajah/gem5/gem5-56610ab73040/
src/python/m5/__init__.py", line 35, in ?
import internal
File
"/share/projects10/IPproject/workspace/kalai.rajah/gem5/gem5-56610ab73040/
src/python/importer.py", line 73, in load_module
exec code in mod.__dict__
File
"/share/projects10/IPproject/workspace/kalai.rajah/gem5/gem5-56610ab73040/
src/python/m5/internal/__init__.py", line 31, in ?
import event
File
"/share/projects10/IPproject/workspace/kalai.rajah/gem5/gem5-56610ab73040/
src/python/importer.py", line 73, in load_module
exec code in mod.__dict__
File
"/share/projects10/IPproject/workspace/kalai.rajah/gem5/gem5-56610ab73040/
build/ARM/python/swig/event.py", line 107, in ?
AttributeError: 'module' object has no attribute 'internal'
-- IMPORTANT NOTICE: The contents of this email and any attachments are
confidential and may also be privileged. If you are not the intended
recipient, please notify the sender immediately and do not disclose the
contents to any other person, use it for any purpose, or store or copy
the information in any medium. Thank you.
_______________________________________________
gem5-users mailing list
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________
gem5-users mailing list
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
-- IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
Kalai Narayanan-SSI
2013-01-10 02:21:17 UTC
Permalink
Here is what I'm stuck at:

Path:
echo $PATH
/share/projects/IP/local_2/bin/:/share/apps/sge62u2_1/bin/lx24-amd64:/usr/bin:/bin

Env:
env | grep LIBRARY_PATH
LD_LIBRARY_PATH=/share/projects/IP/local_2/lib64/
LIBRARY_PATH=/share/projects/IP/local_2/lib64/

Command:
../../scons/scons-2.2.0/build/scripts/scons build/ARM/gem5.opt SWIG=/share/projects10/IPproject/workspace/kalai.rajah/swig/swig-2.0.9/bin/swig --verbose --no-colors PYTHONPATH=/share/projects/IP/local_2/lib64/ ; ./build/ARM/gem5.opt -h

Verbose log:
g++ -o build/ARM/gem5.opt -O3 build/ARM/sim/main.o build/ARM/arch/arm/decoder.o build/ARM/arch/arm/faults.o build/ARM/arch/arm/insts/macromem.o build/ARM/arch/arm/insts/mem.o build/ARM/arch/arm/insts/misc.o build/ARM/arch/arm/insts/pred_inst.o build/ARM/arch/arm/insts/static_inst.o .... build/ARM/python/m5/internal/param_L1Cache_Controller.py.o build/ARM/python/m5/internal/param_SimpleNetwork.py.o build/ARM/base/date.o -Lbuild/gzstream -Lbuild/libelf -L/usr/lib64 -L/usr/lib64/python2.4/config -lpthread -ldl -lutil -lm -lpython2.4 -lz -lrt -lelf -lgzstream

- why is /usr/lib64 still getting picked up for the python libs?

Ldd on exec:
ldd ./build/ARM/gem5.opt
linux-vdso.so.1 => (0x00007fffec95d000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00000030a4e00000)
libdl.so.2 => /lib64/libdl.so.2 (0x00000030a4600000)
libutil.so.1 => /lib64/libutil.so.1 (0x00000030b0400000)
libpython2.4.so.1.0 => /usr/lib64/libpython2.4.so.1.0 (0x00000030b6c00000)
libz.so.1 => /share/projects/IP/local_2/lib64/libz.so.1 (0x00002b8190a27000)
librt.so.1 => /lib64/librt.so.1 (0x00000030a8a00000)
libstdc++.so.6 => /share/projects/IP/local_2/lib64/libstdc++.so.6 (0x00002b8190c40000)
libm.so.6 => /lib64/libm.so.6 (0x00000030a4a00000)
libgcc_s.so.1 => /share/projects/IP/local_2/lib64/libgcc_s.so.1 (0x00002b8190f45000)
libc.so.6 => /lib64/libc.so.6 (0x00000030a4200000)
/lib64/ld-linux-x86-64.so.2 (0x00000030a3a00000)

I had tried changing the compile command to include "LD_LIBRARY_PATH=/share/projects/IP/local_2/lib64/ LIBRARY_PATH=/share/projects/IP/local_2/lib64/ PYTHONPATH=/share/projects/IP/local_2/lib64/python2.7", but still I'm seeing the same issue.

-Kalai

-----Original Message-----
From: gem5-users-***@gem5.org [mailto:gem5-users-***@gem5.org] On Behalf Of Andreas Hansson
Sent: Wednesday, January 09, 2013 3:17 PM
To: gem5 users mailing list
Subject: Re: [gem5-users] LD_LIBRARY_PATH & LIBRARY_PATH

Hi Kalai,

Check out the slides from
http://gem5.org/dist/tutorials/hipeac2012/gem5_hipeac.pdf that mentions the apt-get command line. This corresponds to what is mentioned on http://www.m5sim.org/Dependencies

Good luck

Andreas
Post by Kalai Narayanan-SSI
Will pointing python to my local install of python (as discussed in
http://gem5.org/Using_a_non-default_Python_installation) help?
Andreas,
Can you let me know the apt-get install command that I had to use on
Ubuntu 12 machines? I can give a try.
-Kalai
-----Original Message-----
On Behalf Of Andreas Hansson
Sent: Wednesday, January 09, 2013 2:48 PM
Subject: Re: [gem5-users] LD_LIBRARY_PATH & LIBRARY_PATH
Hi Kalai,
Just a thought...while you are busy making all the tools and libraries
like each other, if you just want to get going, an Ubuntu 12 virtual
machine only needs a single apt-get install command and you're good to
go. The latter will not be as performant, but at least you have
something that works in the interim.
Andreas
Date: Wednesday, 9 January 2013 22:43
Subject: Re: [gem5-users] LD_LIBRARY_PATH & LIBRARY_PATH
Hi Kalai,
This I have seen before and is caused by python not being compatible
with the libc that is in the LD_LIBRARY_PATH.
Ali
Hi Ali,
File "<string>", line 1, in ?
File
"/share/projects10/IPproject/workspace/kalai.rajah/gem5/gem5-56610ab730
40/ src/python/importer.py", line 73, in load_module
exec code in mod.__dict__
File
"/share/projects10/IPproject/workspace/kalai.rajah/gem5/gem5-56610ab730
40/ src/python/m5/__init__.py", line 35, in ?
import internal
File
"/share/projects10/IPproject/workspace/kalai.rajah/gem5/gem5-56610ab730
40/ src/python/importer.py", line 73, in load_module
exec code in mod.__dict__
File
"/share/projects10/IPproject/workspace/kalai.rajah/gem5/gem5-56610ab730
40/ src/python/m5/internal/__init__.py", line 31, in ?
import event
File
"/share/projects10/IPproject/workspace/kalai.rajah/gem5/gem5-56610ab730
40/ src/python/importer.py", line 73, in load_module
exec code in mod.__dict__
File
"/share/projects10/IPproject/workspace/kalai.rajah/gem5/gem5-56610ab730
40/ build/ARM/python/swig/event.py", line 107, in ?
AttributeError: 'module' object has no attribute 'internal'
-- IMPORTANT NOTICE: The contents of this email and any attachments are
confidential and may also be privileged. If you are not the intended
recipient, please notify the sender immediately and do not disclose the
contents to any other person, use it for any purpose, or store or copy
the information in any medium. Thank you.
_______________________________________________
gem5-users mailing list
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________
gem5-users mailing list
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
-- IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
Ali Saidi
2013-01-10 15:53:23 UTC
Permalink
Hi Kalai,

Please take a look at lines 775 through 807 in the
SConstruct file. The python interpreter that is being run is asked for
what libraries are required to run it and those are used (so it's based
on the build of python). You could play around with this if you believe
those libraries aren't actually needed for python.

Ali

On 09.01.2013
Post by Kalai Narayanan-SSI
echo $PATH
/share/projects/IP/local_2/bin/:/share/apps/sge62u2_1/bin/lx24-amd64:/usr/bin:/bin
Post by Kalai Narayanan-SSI
env | grep LIBRARY_PATH
LD_LIBRARY_PATH=/share/projects/IP/local_2/lib64/
LIBRARY_PATH=/share/projects/IP/local_2/lib64/
../../scons/scons-2.2.0/build/scripts/scons build/ARM/gem5.opt
SWIG=/share/projects10/IPproject/workspace/kalai.rajah/swig/swig-2.0.9/bin/swig
--verbose --no-colors PYTHONPATH=/share/projects/IP/local_2/lib64/ ;
./build/ARM/gem5.opt -h
Post by Kalai Narayanan-SSI
g++ -o build/ARM/gem5.opt
-O3 build/ARM/sim/main.o build/ARM/arch/arm/decoder.o
build/ARM/arch/arm/faults.o build/ARM/arch/arm/insts/macromem.o
build/ARM/arch/arm/insts/mem.o build/ARM/arch/arm/insts/misc.o
build/ARM/arch/arm/insts/pred_inst.o
build/ARM/arch/arm/insts/static_inst.o ....
build/ARM/python/m5/internal/param_L1Cache_Controller.py.o
build/ARM/python/m5/internal/param_SimpleNetwork.py.o
build/ARM/base/date.o -Lbuild/gzstream -Lbuild/libelf -L/usr/lib64
-L/usr/lib64/python2.4/config -lpthread -ldl -lutil -lm -lpython2.4 -lz
-lrt -lelf -lgzstream
Post by Kalai Narayanan-SSI
- why is /usr/lib64 still getting picked up
for the python libs?
Post by Kalai Narayanan-SSI
ldd ./build/ARM/gem5.opt
linux-vdso.so.1 => (0x00007fffec95d000)
Post by Kalai Narayanan-SSI
libpthread.so.0 =>
/lib64/libpthread.so.0 (0x00000030a4e00000)
Post by Kalai Narayanan-SSI
libdl.so.2 =>
/lib64/libdl.so.2 (0x00000030a4600000)
Post by Kalai Narayanan-SSI
libutil.so.1 =>
/lib64/libutil.so.1 (0x00000030b0400000)
Post by Kalai Narayanan-SSI
libpython2.4.so.1.0 =>
/usr/lib64/libpython2.4.so.1.0 (0x00000030b6c00000)
Post by Kalai Narayanan-SSI
libz.so.1 =>
/share/projects/IP/local_2/lib64/libz.so.1 (0x00002b8190a27000)
librt.so.1 => /lib64/librt.so.1 (0x00000030a8a00000)
Post by Kalai Narayanan-SSI
libstdc++.so.6 =>
/share/projects/IP/local_2/lib64/libstdc++.so.6 (0x00002b8190c40000)
libm.so.6 => /lib64/libm.so.6 (0x00000030a4a00000)
Post by Kalai Narayanan-SSI
libgcc_s.so.1 =>
/share/projects/IP/local_2/lib64/libgcc_s.so.1 (0x00002b8190f45000)
libc.so.6 => /lib64/libc.so.6 (0x00000030a4200000)
/lib64/ld-linux-x86-64.so.2 (0x00000030a3a00000)
Post by Kalai Narayanan-SSI
I had tried
changing the compile command to include
"LD_LIBRARY_PATH=/share/projects/IP/local_2/lib64/
LIBRARY_PATH=/share/projects/IP/local_2/lib64/
PYTHONPATH=/share/projects/IP/local_2/lib64/python2.7", but still I'm
seeing the same issue.
Post by Kalai Narayanan-SSI
-Kalai
-----Original Message-----
From: gem5-users-***@gem5.org [mailto:gem5-users-***@gem5.org]
On Behalf Of Andreas Hansson
Post by Kalai Narayanan-SSI
Sent: Wednesday, January 09, 2013 3:17
PM
Post by Kalai Narayanan-SSI
To: gem5 users mailing list
Subject: Re: [gem5-users]
LD_LIBRARY_PATH & LIBRARY_PATH
Post by Kalai Narayanan-SSI
Hi Kalai,
Check out the slides
from
Post by Kalai Narayanan-SSI
http://gem5.org/dist/tutorials/hipeac2012/gem5_hipeac.pdf [3]
that mentions the apt-get command line. This corresponds to what is
mentioned on http://www.m5sim.org/Dependencies [4]
Post by Kalai Narayanan-SSI
Good luck
Andreas
Post by Kalai Narayanan-SSI
On 09/01/2013 23:07, "Kalai Narayanan-SSI"
Post by Kalai Narayanan-SSI
Will pointing python to my
local install of python (as discussed in
http://gem5.org/Using_a_non-default_Python_installation [1]) help?
Andreas, Can you let me know the apt-get install command that I had to
use on Ubuntu 12 machines? I can give a try. -Kalai -----Original
Message----- From: gem5-users-***@gem5.org
[mailto:gem5-users-***@gem5.org] On Behalf Of Andreas Hansson Sent:
Wednesday, January 09, 2013 2:48 PM To: ***@umich.edu; gem5 users
mailing list Subject: Re: [gem5-users] LD_LIBRARY_PATH & LIBRARY_PATH Hi
Kalai, Just a thought...while you are busy making all the tools and
libraries like each other, if you just want to get going, an Ubuntu 12
virtual machine only needs a single apt-get install command and you're
good to go. The latter will not be as performant, but at least you have
something that works in the interim. Andreas From: Ali Saidi
<***@umich.edu<mailto:***@umich.edu>> Reply-To:
"***@umich.edu<mailto:***@umich.edu>"
<***@umich.edu<mailto:***@umich.edu>>, gem5 users mailing list
<gem5-***@gem5.org<mailto:gem5-***@gem5.org>> Date: Wednesday, 9
January 2013 22:43 To: "gem5-***@gem5.org<mailto:gem5-***@gem5.org>"
<gem5-***@gem5.org<mailto:gem5-***@gem5.org>> Subject: Re:
[gem5-users] LD_LIBRARY_PATH & LIBRARY_PATH Hi Kalai, This I have seen
before and is caused by python not being compatible with the libc that
is in the LD_LIBRARY_PATH. Ali On 09.01.2013 17:37, Kalai Narayanan-SSI
wrote: Hi Ali, If I set LD_LIBRARY_PATH AND LIBRARY_PATH env variables,
then executing results in: Traceback (most recent call last): File
"<string>", line 1, in ? File
"/share/projects10/IPproject/workspace/kalai.rajah/gem5/gem5-56610ab730
40/ src/python/importer.py", line 73, in load_module exec code in
mod.__dict__ File
"/share/projects10/IPproject/workspace/kalai.rajah/gem5/gem5-56610ab730
40/ src/python/m5/__init__.py", line 35, in ? import internal File
"/share/projects10/IPproject/workspace/kalai.rajah/gem5/gem5-56610ab730
40/ src/python/importer.py", line 73, in load_module exec code in
mod.__dict__ File
"/share/projects10/IPproject/workspace/kalai.rajah/gem5/gem5-56610ab730
40/ src/python/m5/internal/__init__.py", line 31, in ? import event File
"/share/projects10/IPproject/workspace/kalai.rajah/gem5/gem5-56610ab730
40/ src/python/importer.py", line 73, in load_module exec code in
mod.__dict__ File
"/share/projects10/IPproject/workspace/kalai.rajah/gem5/gem5-56610ab730
40/ build/ARM/python/swig/event.py", line 107, in ? class
Event(m5.internal.serialize.Serializable): AttributeError: 'module'
object has no attribute 'internal' -- IMPORTANT NOTICE: The contents of
this email and any attachments are confidential and may also be
privileged. If you are not the intended recipient, please notify the
sender immediately and do not disclose the contents to any other person,
use it for any purpose, or store or copy the information in any medium.
Thank you. _______________________________________________ gem5-users
mailing list gem5-***@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users [2]
_______________________________________________ gem5-users mailing list
gem5-***@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
[2]
Post by Kalai Narayanan-SSI
-- IMPORTANT NOTICE: The contents of this email and any
attachments are confidential and may also be privileged. If you are not
the intended recipient, please notify the sender immediately and do not
disclose the contents to any other person, use it for any purpose, or
store or copy the information in any medium. Thank you.
_______________________________________________
Post by Kalai Narayanan-SSI
gem5-users mailing
list
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users [2]
_______________________________________________
Post by Kalai Narayanan-SSI
gem5-users mailing
list
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users [2]




Links:
------
[1]
http://gem5.org/Using_a_non-default_Python_installation
[2]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
[3]
http://gem5.org/dist/tutorials/hipeac2012/gem5_hipeac.pdf
[4]
http://www.m5sim.org/Dependencies
Kalai Narayanan-SSI
2013-01-15 18:22:41 UTC
Permalink
I had rebuilt the required tools from scratch and got gem5 to build. I see that the linker is looking into the proper path to get the libraries. But still I see the runtime error.

I was seeing a mail thread (prob. an year ago) which states that there were some issues with particular combinations of gcc & python. Can someone let me know what is a good version of gcc/python that is working.

I’m using gcc 4.7.2 and python 2.7.3

Error message:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/share/projects10/IPproject/workspace/kalai.rajah/gem5/gem5-5532a1642108/src/python/importer.py", line 73, in load_module
exec code in mod.__dict__
File "/share/projects10/IPproject/workspace/kalai.rajah/gem5/gem5-5532a1642108/src/python/m5/__init__.py", line 35, in <module>
import internal
File "/share/projects10/IPproject/workspace/kalai.rajah/gem5/gem5-5532a1642108/src/python/importer.py", line 73, in load_module
exec code in mod.__dict__
File "/share/projects10/IPproject/workspace/kalai.rajah/gem5/gem5-5532a1642108/src/python/m5/internal/__init__.py", line 31, in <module>
import event
File "/share/projects10/IPproject/workspace/kalai.rajah/gem5/gem5-5532a1642108/src/python/importer.py", line 73, in load_module
exec code in mod.__dict__
File "/share/projects10/IPproject/workspace/kalai.rajah/gem5/gem5-5532a1642108/build/ARM/python/swig/event.py", line 107, in <module>
class Event(m5.internal.serialize.Serializable):
AttributeError: 'module' object has no attribute 'internal'

-Kalai


From: gem5-users-***@gem5.org [mailto:gem5-users-***@gem5.org] On Behalf Of Ali Saidi
Sent: Thursday, January 10, 2013 7:53 AM
To: gem5 users mailing list
Subject: Re: [gem5-users] LD_LIBRARY_PATH & LIBRARY_PATH


Hi Kalai,

Please take a look at lines 775 through 807 in the SConstruct file. The python interpreter that is being run is asked for what libraries are required to run it and those are used (so it's based on the build of python). You could play around with this if you believe those libraries aren't actually needed for python.



Ali



On 09.01.2013 21:21, Kalai Narayanan-SSI wrote:

Here is what I'm stuck at:



Path:

echo $PATH

/share/projects/IP/local_2/bin/:/share/apps/sge62u2_1/bin/lx24-amd64:/usr/bin:/bin



Env:

env | grep LIBRARY_PATH

LD_LIBRARY_PATH=/share/projects/IP/local_2/lib64/

LIBRARY_PATH=/share/projects/IP/local_2/lib64/



Command:

../../scons/scons-2.2.0/build/scripts/scons build/ARM/gem5.opt SWIG=/share/projects10/IPproject/workspace/kalai.rajah/swig/swig-2.0.9/bin/swig --verbose --no-colors PYTHONPATH=/share/projects/IP/local_2/lib64/ ; ./build/ARM/gem5.opt -h



Verbose log:

g++ -o build/ARM/gem5.opt -O3 build/ARM/sim/main.o build/ARM/arch/arm/decoder.o build/ARM/arch/arm/faults.o build/ARM/arch/arm/insts/macromem.o build/ARM/arch/arm/insts/mem.o build/ARM/arch/arm/insts/misc.o build/ARM/arch/arm/insts/pred_inst.o build/ARM/arch/arm/insts/static_inst.o .... build/ARM/python/m5/internal/param_L1Cache_Controller.py.o build/ARM/python/m5/internal/param_SimpleNetwork.py.o build/ARM/base/date.o -Lbuild/gzstream -Lbuild/libelf -L/usr/lib64 -L/usr/lib64/python2.4/config -lpthread -ldl -lutil -lm -lpython2.4 -lz -lrt -lelf -lgzstream



- why is /usr/lib64 still getting picked up for the python libs?



Ldd on exec:

ldd ./build/ARM/gem5.opt

linux-vdso.so.1 => (0x00007fffec95d000)

libpthread.so.0 => /lib64/libpthread.so.0 (0x00000030a4e00000)

libdl.so.2 => /lib64/libdl.so.2 (0x00000030a4600000)

libutil.so.1 => /lib64/libutil.so.1 (0x00000030b0400000)

libpython2.4.so.1.0 => /usr/lib64/libpython2.4.so.1.0 (0x00000030b6c00000)

libz.so.1 => /share/projects/IP/local_2/lib64/libz.so.1 (0x00002b8190a27000)

librt.so.1 => /lib64/librt.so.1 (0x00000030a8a00000)

libstdc++.so.6 => /share/projects/IP/local_2/lib64/libstdc++.so.6 (0x00002b8190c40000)

libm.so.6 => /lib64/libm.so.6 (0x00000030a4a00000)

libgcc_s.so.1 => /share/projects/IP/local_2/lib64/libgcc_s.so.1 (0x00002b8190f45000)

libc.so.6 => /lib64/libc.so.6 (0x00000030a4200000)

/lib64/ld-linux-x86-64.so.2 (0x00000030a3a00000)



I had tried changing the compile command to include "LD_LIBRARY_PATH=/share/projects/IP/local_2/lib64/ LIBRARY_PATH=/share/projects/IP/local_2/lib64/ PYTHONPATH=/share/projects/IP/local_2/lib64/python2.7", but still I'm seeing the same issue.



-Kalai



-----Original Message-----

From: gem5-users-***@gem5.org<mailto:gem5-users-***@gem5.org> [mailto:gem5-users-***@gem5.org<mailto:gem5-users-***@gem5.org>] On Behalf Of Andreas Hansson

Sent: Wednesday, January 09, 2013 3:17 PM

To: gem5 users mailing list

Subject: Re: [gem5-users] LD_LIBRARY_PATH & LIBRARY_PATH



Hi Kalai,



Check out the slides from

http://gem5.org/dist/tutorials/hipeac2012/gem5_hipeac.pdf that mentions the apt-get command line. This corresponds to what is mentioned on http://www.m5sim.org/Dependencies



Good luck



Andreas



On 09/01/2013 23:07, "Kalai Narayanan-SSI" <***@ssi.samsung.com<mailto:***@ssi.samsung.com>>

wrote:
Will pointing python to my local install of python (as discussed in http://gem5.org/Using_a_non-default_Python_installation) help? Andreas, Can you let me know the apt-get install command that I had to use on Ubuntu 12 machines? I can give a try. -Kalai -----Original Message----- From: gem5-users-***@gem5.org<mailto:gem5-users-***@gem5.org> [mailto:gem5-users-***@gem5.org<mailto:gem5-users-***@gem5.org>] On Behalf Of Andreas Hansson Sent: Wednesday, January 09, 2013 2:48 PM To: ***@umich.edu<mailto:***@umich.edu>; gem5 users mailing list Subject: Re: [gem5-users] LD_LIBRARY_PATH & LIBRARY_PATH Hi Kalai, Just a thought...while you are busy making all the tools and libraries like each other, if you just want to get going, an Ubuntu 12 virtual machine only needs a single apt-get install command and you're good to go. The latter will not be as performant, but at least you have something that works in the interim. Andreas From: Ali Saidi <***@umich.edu<mailto:***@umich.edu><mailto:***@umich.edu<mailto:***@umich.edu>>> Reply-To: "***@umich.edu<mailto:***@umich.edu><mailto:***@umich.edu<mailto:***@umich.edu>>" <***@umich.edu<mailto:***@umich.edu><mailto:***@umich.edu<mailto:***@umich.edu>>>, gem5 users mailing list <gem5-***@gem5.org<mailto:gem5-***@gem5.org><mailto:gem5-***@gem5.org<mailto:gem5-***@gem5.org>>> Date: Wednesday, 9 January 2013 22:43 To: "gem5-***@gem5.org<mailto:gem5-***@gem5.org><mailto:gem5-***@gem5.org<mailto:gem5-***@gem5.org>>" <gem5-***@gem5.org<mailto:gem5-***@gem5.org><mailto:gem5-***@gem5.org<mailto:gem5-***@gem5.org>>> Subject: Re: [gem5-users] LD_LIBRARY_PATH & LIBRARY_PATH Hi Kalai, This I have seen before and is caused by python not being compatible with the libc that is in the LD_LIBRARY_PATH. Ali On 09.01.2013 17:37, Kalai Narayanan-SSI wrote: Hi Ali, If I set LD_LIBRARY_PATH AND LIBRARY_PATH env variables, then executing results in: Traceback (most recent call last): File "<string>", line 1, in ? File "/share/projects10/IPproject/workspace/kalai.rajah/gem5/gem5-56610ab730 40/ src/python/importer.py", line 73, in load_module exec code in mod.__dict__ File "/share/projects10/IPproject/workspace/kalai.rajah/gem5/gem5-56610ab730 40/ src/python/m5/__init__.py", line 35, in ? import internal File "/share/projects10/IPproject/workspace/kalai.rajah/gem5/gem5-56610ab730 40/ src/python/importer.py", line 73, in load_module exec code in mod.__dict__ File "/share/projects10/IPproject/workspace/kalai.rajah/gem5/gem5-56610ab730 40/ src/python/m5/internal/__init__.py", line 31, in ? import event File "/share/projects10/IPproject/workspace/kalai.rajah/gem5/gem5-56610ab730 40/ src/python/importer.py", line 73, in load_module exec code in mod.__dict__ File "/share/projects10/IPproject/workspace/kalai.rajah/gem5/gem5-56610ab730 40/ build/ARM/python/swig/event.py", line 107, in ? class Event(m5.internal.serialize.Serializable): AttributeError: 'module' object has no attribute 'internal' -- IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you. _______________________________________________ gem5-users mailing list gem5-***@gem5.org<mailto:gem5-***@gem5.org> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users _______________________________________________ gem5-users mailing list gem5-***@gem5.org<mailto:gem5-***@gem5.org> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users



-- IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.



_______________________________________________

gem5-users mailing list

gem5-***@gem5.org<mailto:gem5-***@gem5.org>

http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

_______________________________________________

gem5-users mailing list

gem5-***@gem5.org<mailto:gem5-***@gem5.org>

http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
Ali Saidi
2013-01-18 04:09:28 UTC
Permalink
Hi Kalai,

We currently use gcc 4.7.1 and python 2.7.3. The issues on the mailing list about incompatible versions is generally older versions of gcc and a set of incompatibilities between swig and gcc. I think you're still running into an issue that the python version used to run scons is not the same version as being used to run gem5 after it's compiled.

Thanks,
Ali
Post by Kalai Narayanan-SSI
I had rebuilt the required tools from scratch and got gem5 to build. I see that the linker is looking into the proper path to get the libraries. But still I see the runtime error.
I was seeing a mail thread (prob. an year ago) which states that there were some issues with particular combinations of gcc & python. Can someone let me know what is a good version of gcc/python that is working.
I’m using gcc 4.7.2 and python 2.7.3
File "<string>", line 1, in <module>
File "/share/projects10/IPproject/workspace/kalai.rajah/gem5/gem5-5532a1642108/src/python/importer.py", line 73, in load_module
exec code in mod.__dict__
File "/share/projects10/IPproject/workspace/kalai.rajah/gem5/gem5-5532a1642108/src/python/m5/__init__.py", line 35, in <module>
import internal
File "/share/projects10/IPproject/workspace/kalai.rajah/gem5/gem5-5532a1642108/src/python/importer.py", line 73, in load_module
exec code in mod.__dict__
File "/share/projects10/IPproject/workspace/kalai.rajah/gem5/gem5-5532a1642108/src/python/m5/internal/__init__.py", line 31, in <module>
import event
File "/share/projects10/IPproject/workspace/kalai.rajah/gem5/gem5-5532a1642108/src/python/importer.py", line 73, in load_module
exec code in mod.__dict__
File "/share/projects10/IPproject/workspace/kalai.rajah/gem5/gem5-5532a1642108/build/ARM/python/swig/event.py", line 107, in <module>
AttributeError: 'module' object has no attribute 'internal'
-Kalai
Sent: Thursday, January 10, 2013 7:53 AM
To: gem5 users mailing list
Subject: Re: [gem5-users] LD_LIBRARY_PATH & LIBRARY_PATH
Hi Kalai,
Please take a look at lines 775 through 807 in the SConstruct file. The python interpreter that is being run is asked for what libraries are required to run it and those are used (so it's based on the build of python). You could play around with this if you believe those libraries aren't actually needed for python.
Ali
echo $PATH
/share/projects/IP/local_2/bin/:/share/apps/sge62u2_1/bin/lx24-amd64:/usr/bin:/bin
env | grep LIBRARY_PATH
LD_LIBRARY_PATH=/share/projects/IP/local_2/lib64/
LIBRARY_PATH=/share/projects/IP/local_2/lib64/
../../scons/scons-2.2.0/build/scripts/scons build/ARM/gem5.opt SWIG=/share/projects10/IPproject/workspace/kalai.rajah/swig/swig-2.0.9/bin/swig --verbose --no-colors PYTHONPATH=/share/projects/IP/local_2/lib64/ ; ./build/ARM/gem5.opt -h
g++ -o build/ARM/gem5.opt -O3 build/ARM/sim/main.o build/ARM/arch/arm/decoder.o build/ARM/arch/arm/faults.o build/ARM/arch/arm/insts/macromem.o build/ARM/arch/arm/insts/mem.o build/ARM/arch/arm/insts/misc.o build/ARM/arch/arm/insts/pred_inst.o build/ARM/arch/arm/insts/static_inst.o .... build/ARM/python/m5/internal/param_L1Cache_Controller.py.o build/ARM/python/m5/internal/param_SimpleNetwork.py.o build/ARM/base/date.o -Lbuild/gzstream -Lbuild/libelf -L/usr/lib64 -L/usr/lib64/python2.4/config -lpthread -ldl -lutil -lm -lpython2.4 -lz -lrt -lelf -lgzstream
- why is /usr/lib64 still getting picked up for the python libs?
ldd ./build/ARM/gem5.opt
linux-vdso.so.1 => (0x00007fffec95d000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00000030a4e00000)
libdl.so.2 => /lib64/libdl.so.2 (0x00000030a4600000)
libutil.so.1 => /lib64/libutil.so.1 (0x00000030b0400000)
libpython2.4.so.1.0 => /usr/lib64/libpython2.4.so.1.0 (0x00000030b6c00000)
libz.so.1 => /share/projects/IP/local_2/lib64/libz.so.1 (0x00002b8190a27000)
librt.so.1 => /lib64/librt.so.1 (0x00000030a8a00000)
libstdc++.so.6 => /share/projects/IP/local_2/lib64/libstdc++.so.6 (0x00002b8190c40000)
libm.so.6 => /lib64/libm.so.6 (0x00000030a4a00000)
libgcc_s.so.1 => /share/projects/IP/local_2/lib64/libgcc_s.so.1 (0x00002b8190f45000)
libc.so.6 => /lib64/libc.so.6 (0x00000030a4200000)
/lib64/ld-linux-x86-64.so.2 (0x00000030a3a00000)
I had tried changing the compile command to include "LD_LIBRARY_PATH=/share/projects/IP/local_2/lib64/ LIBRARY_PATH=/share/projects/IP/local_2/lib64/ PYTHONPATH=/share/projects/IP/local_2/lib64/python2.7", but still I'm seeing the same issue.
-Kalai
-----Original Message-----
Sent: Wednesday, January 09, 2013 3:17 PM
To: gem5 users mailing list
Subject: Re: [gem5-users] LD_LIBRARY_PATH & LIBRARY_PATH
Hi Kalai,
Check out the slides from
http://gem5.org/dist/tutorials/hipeac2012/gem5_hipeac.pdf that mentions the apt-get command line. This corresponds to what is mentioned on http://www.m5sim.org/Dependencies
Good luck
Andreas
-- IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
_______________________________________________
gem5-users mailing list
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________
gem5-users mailing list
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________
gem5-users mailing list
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
Continue reading on narkive:
Loading...