[Advcomparch] ερώτηση για το cslab_run_sniper.sh
nickolas dervenis
nickolas.derv at gmail.com
Sat May 7 16:02:27 EEST 2016
Καλησπέρα,
προσπαθώ να τρέξω το cslab_run_sniper.sh (πχ ./cslab_run_sniper.sh blackscholes) και βλέπω το εξης πρόβλημα:
[SNIPER] Start
[SNIPER] --------------------------------------------------------------------------------
[SNIPER] Sniper using Pin frontend
[SNIPER] Running pre-ROI region in CACHE_ONLY mode
[SNIPER] Running application ROI in DETAILED mode
[SNIPER] Running post-ROI region in FAST_FORWARD mode
[SNIPER] --------------------------------------------------------------------------------
./executables/blackscholes: error while loading shared libraries: libhooks.so.0: cannot open shared object file: No such file or directory
[SNIPER] End
[SNIPER] Elapsed time: 0.91 seconds
real 0m1.116s
user 0m0.583s
sys 0m0.309s
Να πω επίσης οτι είχα το πρόβλημα με το hooks.c, έκανα τις αλλαγες και οταν πάω να κάνω build βλέπω το παρακάτω:
[PARSEC] Packages to build: parsec.hooks
[PARSEC] [========== Building package parsec.hooks [1] ==========]
[PARSEC] [---------- Analyzing package parsec.hooks ----------]
[PARSEC] parsec.hooks depends on: libtool
[PARSEC] [---------- Analyzing package parsec.libtool ----------]
[PARSEC] Package parsec.libtool already exists, proceeding.
[PARSEC] [---------- Building package parsec.hooks ----------]
[PARSEC] Removing old build directory.
[PARSEC] Copying source code of package parsec.hooks.
[PARSEC] Running 'env /usr/bin/make':
/home/nick/parsec-3.0/pkgs/tools/libtool/inst/amd64-linux.gcc-serial/bin/libtool --mode=compile /usr/bin/gcc -O3 -g -funroll-loops -fprefetch-loop-arrays -static-libgcc -Wl,--hash-style=both,--as-needed -DPARSEC_VERSION=3.0-beta-20150206 -DENABLE_PARSEC_HOOKS -I/home/nick/parsec-3.0/pkgs/libs/hooks/inst/amd64-linux.gcc-serial/include -Wall -D_GNU_SOURCE -D_XOPEN_SOURCE=600 -c hooks.c
libtool: compile: /usr/bin/gcc -O3 -g -funroll-loops -fprefetch-loop-arrays -static-libgcc -Wl,--hash-style=both,--as-needed -DPARSEC_VERSION=3.0-beta-20150206 -DENABLE_PARSEC_HOOKS -I/home/nick/parsec-3.0/pkgs/libs/hooks/inst/amd64-linux.gcc-serial/include -Wall -D_GNU_SOURCE -D_XOPEN_SOURCE=600 -c hooks.c -fPIC -DPIC -o .libs/hooks.o
In file included from hooks.c:41:0:
sim_api.h:37:25: error: expected identifier or ‘(’ before ‘{’ token
#define SimMagic0(cmd) ({ \
^
sim_api.h:78:35: note: in expansion of macro ‘SimMagic0’
#define SimRoiEnd() SimMagic0(SIM_CMD_ROI_END)
^
hooks.c:202:2: note: in expansion of macro ‘SimRoiEnd’
SimRoiEnd();
^
make: *** [hooks.lo] Error 1
[PARSEC] Error: 'env /usr/bin/make' failed.
Τα οποία φαινομενικά αφορούν το sim_api.h (προφανώς δεν ειναι αυτό όμως).
Μοιάζουν αλληλένδετα.
Συγνώμη για το μεγάλο πόστ,
Καλη συνέχεια.
More information about the Advcomparch
mailing list