You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
~/Ramulator-pim/zsim-ramulator/benchmarks/rodinia
$ make
g++-9 -g -fopenmp -O2 bfs.cpp -o bfs
bfs.cpp: In function ‘void BFSGraph(int, char**)’:
bfs.cpp:67:8: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
67 | fscanf(fp,"%d",&no_of_nodes);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~
bfs.cpp:79:9: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
79 | fscanf(fp,"%d %d",&start,&edgeno);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
bfs.cpp:88:8: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
88 | fscanf(fp,"%d",&source);
| ~~~~~~^~~~~~~~~~~~~~~~~
bfs.cpp:95:8: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
95 | fscanf(fp,"%d",&edge_list_size);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
bfs.cpp:101:9: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
101 | fscanf(fp,"%d",&id);
| ~~~~~~^~~~~~~~~~~~~
bfs.cpp:102:9: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
102 | fscanf(fp,"%d",&cost);
| ~~~~~~^~~~~~~~~~~~~~~
bfs.cpp: In function ‘BFSGraph(int, char**) [clone ._omp_fn.3] [clone .hsa.0]’:
cc1plus: warning: could not emit HSAIL for the function [-Whsa]
In file included from bfs.cpp:7:
../../misc/hooks/zsim_hooks.h:8:67: note: support for HSA does not implement gimple statement gimple_asm
8 | #define COMPILER_BARRIER() { asmvolatile("" ::: "memory");}
| ^
bfs.cpp: In function ‘BFSGraph(int, char**) [clone ._omp_fn.2] [clone .hsa.0]’:
cc1plus: warning: could not emit HSAIL for the function [-Whsa]
cc1plus: note: support for HSA does not implement non-gridified OpenMP parallel constructs.
bfs.cpp: In function ‘BFSGraph(int, char**) [clone ._omp_fn.1] [clone .hsa.0]’:
cc1plus: warning: could not emit HSAIL for the function [-Whsa]
../../misc/hooks/zsim_hooks.h:8:67: note: support for HSA does not implement gimple statement gimple_asm
8 | #define COMPILER_BARRIER() { asmvolatile("" ::: "memory");}
| ^
bfs.cpp: In function ‘BFSGraph(int, char**) [clone ._omp_fn.0] [clone .hsa.0]’:
cc1plus: warning: could not emit HSAIL for the function [-Whsa]
cc1plus: note: support for HSA does not implement non-gridified OpenMP parallel constructs.
lto-wrapper: fatal error: could not find accel/nvptx-none/mkoffload in /usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/ (consider using ‘-B’)
compilation terminated.
/usr/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status
make: *** [Makefile:10: bfs] Error 1
When I execute the make command in the zsim_ramulator/benchmarks/rodinia/ directory, I encounter the above error. How can I resolve this issue? Thank you very much for your help.
The text was updated successfully, but these errors were encountered:
You're welcome. Unfortunately there is still a Unsolvable BUG called "Unknown sub-function for SYS_arch_prctl" when you run the benchmark "rodinia". This BUG comes from the incompatibility between Pin 2.X and the newer version of Linux. Someone reported this bug in the closed issue and said the bug can be fixed on Ubuntu 18.04. I tried but it failed. Therefore, I recommend to use docker: https://hub.docker.com/r/sidsahay/ramulator-pim, which is not offered officially but truly works well. Hope it helps.
~/Ramulator-pim/zsim-ramulator/benchmarks/rodinia
$ make
g++-9 -g -fopenmp -O2 bfs.cpp -o bfs
bfs.cpp: In function ‘void BFSGraph(int, char**)’:
bfs.cpp:67:8: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
67 | fscanf(fp,"%d",&no_of_nodes);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~
bfs.cpp:79:9: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
79 | fscanf(fp,"%d %d",&start,&edgeno);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
bfs.cpp:88:8: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
88 | fscanf(fp,"%d",&source);
| ~~~~~~^~~~~~~~~~~~~~~~~
bfs.cpp:95:8: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
95 | fscanf(fp,"%d",&edge_list_size);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
bfs.cpp:101:9: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
101 | fscanf(fp,"%d",&id);
| ~~~~~~^~~~~~~~~~~~~
bfs.cpp:102:9: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
102 | fscanf(fp,"%d",&cost);
| ~~~~~~^~~~~~~~~~~~~~~
bfs.cpp: In function ‘BFSGraph(int, char**) [clone ._omp_fn.3] [clone .hsa.0]’:
cc1plus: warning: could not emit HSAIL for the function [-Whsa]
In file included from bfs.cpp:7:
../../misc/hooks/zsim_hooks.h:8:67: note: support for HSA does not implement gimple statement gimple_asm
8 | #define COMPILER_BARRIER() { asm volatile("" ::: "memory");}
| ^
bfs.cpp: In function ‘BFSGraph(int, char**) [clone ._omp_fn.2] [clone .hsa.0]’:
cc1plus: warning: could not emit HSAIL for the function [-Whsa]
cc1plus: note: support for HSA does not implement non-gridified OpenMP parallel constructs.
bfs.cpp: In function ‘BFSGraph(int, char**) [clone ._omp_fn.1] [clone .hsa.0]’:
cc1plus: warning: could not emit HSAIL for the function [-Whsa]
../../misc/hooks/zsim_hooks.h:8:67: note: support for HSA does not implement gimple statement gimple_asm
8 | #define COMPILER_BARRIER() { asm volatile("" ::: "memory");}
| ^
bfs.cpp: In function ‘BFSGraph(int, char**) [clone ._omp_fn.0] [clone .hsa.0]’:
cc1plus: warning: could not emit HSAIL for the function [-Whsa]
cc1plus: note: support for HSA does not implement non-gridified OpenMP parallel constructs.
lto-wrapper: fatal error: could not find accel/nvptx-none/mkoffload in /usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/9/:/usr/lib/gcc/x86_64-linux-gnu/ (consider using ‘-B’)
compilation terminated.
/usr/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status
make: *** [Makefile:10: bfs] Error 1
When I execute the make command in the zsim_ramulator/benchmarks/rodinia/ directory, I encounter the above error. How can I resolve this issue? Thank you very much for your help.
The text was updated successfully, but these errors were encountered: