make run error: cc -mno-sse4 -mno-sse4.1 -mno-sse4.2 -mno-sse4a -mno-avx -I/home/ierumshanaya/sniper-5.3/include ia32 -c -o fft.o fft.c

110 views
Skip to first unread message

Ierum Shanaya

unread,
Jul 31, 2014, 5:01:33 AM7/31/14
to snip...@googlegroups.com
i have followed the instructions from the sniper getting started page.

Please note.. my ubuntu was a 64bit version and i did do export TARGET_ARCH=ia32.. and i believe this is causing the problem
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  • Get the Sniper source code from our Download page
  • Download the latest Pin kit from the Pin downloads page
    • Extract Pin into sniper/pin_kit
    • Or set PIN_HOME to the location of Pin if you use a different directory or shared Pin location
  • Set target architecture
    • export TARGET_ARCH=ia32 # default: intel64 (or update Makefile.config)
    • sudo apt-get install libc6-dev-i386 g++-4.4-multilib lib32z1-dev # install 32-bit libraries if running 64-bit OS (Ubuntu in this case) and the g++ multilib version depends on the g++ version that you are using
  • Compile Sniper. Some extra dependencies (a pre-compiled copy of the Python interpreter environment) will be downloaded automatically, so make sure you have a working internet connection when you make Sniper for the first time
    • make # or use 'make -j N' where N is the number of cores in your machine to use parallel make
  • Running an application
    • cd test/fft; make run



and have compiled sniper.

But when i run

ierumshanaya@ubuntu:~/sniper-5.3/test/fft$ make run
cc -mno-sse4 -mno-sse4.1 -mno-sse4.2 -mno-sse4a -mno-avx -I/home/ierumshanaya/sniper-5.3/include   ia32 -c -o fft.o fft.c
cc: error: ia32: No such file or directory
make: *** [fft.o] Error 1

i get the following error

Could someone please point out what might be this..


Wim Heirman

unread,
Jul 31, 2014, 7:26:05 AM7/31/14
to snip...@googlegroups.com
Hi,

We recently changed the environment variable used to specify the target architecture to be SNIPER_TARGET_ARCH, to avoid a problem in GNU make that was causing this problem. So please set SNIPER_TARGET_ARCH instead, and make sure TARGET_ARCH is not defined. I've updated the documentation accordingly.

Regards,
Wim



--
--
--
You received this message because you are subscribed to the Google
Groups "Sniper simulator" group.
To post to this group, send email to snip...@googlegroups.com
To unsubscribe from this group, send email to
snipersim+...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/snipersim?hl=en

---
You received this message because you are subscribed to the Google Groups "Sniper simulator" group.
To unsubscribe from this group and stop receiving emails from it, send an email to snipersim+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages