PARSEC blackscholes compilation error

446 views
Skip to first unread message

Abbas Banaiyan

unread,
Apr 8, 2015, 9:36:59 PM4/8/15
to snip...@googlegroups.com
Hi,

I installed Sniper 6.1. 
I got the following error during make of the benchmarks:
(System info : CentOS release 6.6 used Pin 71293, boost 1.54.0, sqlite-3.7.11, gcc 4.7.3, Python 2.7.3)


[PARSEC] [========== Building package blackscholes ==========]
[PARSEC] [---------- Analyzing package blackscholes ----------]
[PARSEC] blackscholes depends on: hooks
[PARSEC] [---------- Analyzing package hooks ----------]
[PARSEC] Package hooks already exists, proceeding.
[PARSEC] [---------- Building package blackscholes ----------]
[PARSEC] Removing old build directory.
[PARSEC] Copying source code of package blackscholes.
[PARSEC] Running 'env version=pthreads /usr/bin/make':
make[2]: Entering directory `/data/users/abanaiya/sniper/benchmarks/parsec/parsec-2.1/pkgs/apps/blackscholes/obj/amd64-linux.gcc-sniper'
rm -f blackscholes  blackscholes.m4.cpp
/usr/bin/m4 ./c.m4.pthreads blackscholes.c > blackscholes.m4.cpp
g++ -O3 -funroll-loops -fprefetch-loop-arrays -fpermissive -fno-exceptions -static-libgcc -Wl,--hash-style=both,--as-needed -DPARSEC_VERSION=2.1 -DENABLE_PARSEC_HOOKS -I/data/users/abanaiya/sniper/benchmarks/parsec/parsec-2.1/pkgs/libs/hooks/inst/amd64-linux.gcc-sniper/include -I/data/users/abanaiya/sniper/benchmarks/tools/hooks -I/data/users/abanaiya/sniper/include -pthread -DENABLE_THREADS -DN=960 -DNCO=4   blackscholes.m4.cpp -L/usr/lib64 -L/usr/lib -L/data/users/abanaiya/sniper/benchmarks/parsec/parsec-2.1/pkgs/libs/hooks/inst/amd64-linux.gcc-sniper/lib -uparmacs_roi_end -uparmacs_roi_start -L/data/users/abanaiya/sniper/benchmarks/tools/hooks -lhooks_base -lrt -pthread  -lhooks -o blackscholes
In file included from /usr/include/stdio.h:929:0,
                 from blackscholes.m4.cpp:68:
/usr/include/bits/stdio.h: In function '__ssize_t getline(char**, size_t*, FILE*)':
/usr/include/bits/stdio.h:118:52: error: '__getdelim' was not declared in this scope
make[2]: *** [blackscholes] Error 1
make[2]: Leaving directory `/data/users/abanaiya/sniper/benchmarks/parsec/parsec-2.1/pkgs/apps/blackscholes/obj/amd64-linux.gcc-sniper'
[PARSEC] Error: 'env version=pthreads /usr/bin/make' failed.
make[1]: *** [parsec-build] Error 1
make[1]: Leaving directory `/data/users/abanaiya/sniper/benchmarks/parsec'
make: *** [all] Error 2


Any helps would be appreciated.

Thanks,
Abbas

Behnaz Abbasnia

unread,
Aug 8, 2015, 7:17:46 AM8/8/15
to Sniper simulator
hi abbas

can you solve your problem?
i have the same problem in the during installation benchmarks
can you help me?
 thanks 

Abbas Banaiyan

unread,
Aug 9, 2015, 5:07:04 PM8/9/15
to snip...@googlegroups.com
Hi,

I didn't receive any answer from the forum. 
But I think it was due to inconsistency of the version of my installed boost and python. 
If I am not wrong, I reinstalled the boost library with a lower version. 

Best,
Abbas

--
--
--
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 a topic in the Google Groups "Sniper simulator" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/snipersim/kaOe6UZkNjo/unsubscribe.
To unsubscribe from this group and all its topics, 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