tudasc/PIRA

Deploying PIRA using Docker and encounter ERROR while run the ./run.sh for GameOfLife

Masterwater-y opened this issue · 3 comments

I use the master branch , podman version 1.6.4, CentOS7
I exec commands below

podman build -t pira:master -f docker/Dockerfile .
podman run -it localhost/pira:master
cd pira/resources
. setup_paths.sh
cd ../test/integration/GameOfLife # Example test case
XDG_DATA_HOME=/tmp ./run.sh

While deploying PIRA using Docker and attempting to run the ./run.sh script for GameOfLife, I encountered the following errors:

----- Build GameOfLife / build call graph -----
SerialGoL.cpp: In member function ‘const int GameOfLife::getNumLiveNeighbors(int, int) const’:
SerialGoL.cpp:94:32: warning: comparison of integer expressions of different signedness: ‘const int’ and ‘std::vector::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
94 | if(neighbor >= 0 && neighbor < gridA.size()){
| ~~~~~~~~~^~~~~~~~~~~~~~
: CommandLine Error: Option 'help-list' registered more than once!
LLVM ERROR: inconsistency in registered CommandLine options
: CommandLine Error: Option 'help-list' registered more than once!
LLVM ERROR: inconsistency in registered CommandLine options
: CommandLine Error: Option 'help-list' registered more than once!
LLVM ERROR: inconsistency in registered CommandLine options
----- Running Pira -----

Using /tmp/pira for runtime files

[INFO in '/usr/src/pira/lib/Pira.py' in 'main' line 168]: Running PIRA in compiletime filtering with configuration
/usr/src/pira/test/integration/GameOfLife/gol_config.json
[WARNING in '/usr/src/pira/lib/Pira.py' in 'process_args_for_extrap' line 147]: At least 5 repetitions are recommended for Extra-P modelling.
[INFO in '/usr/src/pira/lib/Checker.py' in 'check_configfile_v2' line 84]: Creating Cubes-Directory /tmp/pira/gol_cubes
[INFO in '/usr/src/pira/lib/Pira.py' in 'main' line 190]: Running the local case
[INFO in '/usr/src/pira/lib/Pira.py' in 'execute_with_config' line 40]: Building vanilla version for baseline measurements
[INFO in '/usr/src/pira/lib/Pira.py' in 'execute_with_config' line 46]: Running baseline measurements
[INFO in '/usr/src/pira/lib/Pira.py' in 'execute_with_config' line 57]: Running instrumentation iteration 0
[ERROR in '/usr/src/pira/lib/Utility.py' in 'shell' line 346]: Utility::shell: Caught Exception Command 'pgis_pira --scorep-out --static /usr/src/pira/test/integration/GameOfLife/../../../extern/install/metacg/bin//gol_ct.mcg' returned non-zero exit status 1.
[ERROR in '/usr/src/pira/lib/Analyzer.py' in 'analyze_local' line 111]: Utility::shell: Running command pgis_pira --scorep-out --static /usr/src/pira/test/integration/GameOfLife/../../../extern/install/metacg/bin//gol_ct.mcg did not succeed
[ERROR in '/usr/src/pira/lib/Pira.py' in 'execute_with_config' line 111]: Pira::execute_with_config: Problem during preparation of run.
Message:
Problem in Analyzer
[ERROR in '/usr/src/pira/lib/Pira.py' in 'main' line 256]: Runner.run caught exception. Message: Problem in Analyzer
Error opening instrumentation file for iteration 0: [Errno 2] No such file or directory: '../../../extern/install/metacg/bin/out/instrumented-gol_ct_it-0.txt'
Error opening instrumentation file for iteration 1: [Errno 2] No such file or directory: '../../../extern/install/metacg/bin/out/instrumented-gol_ct_it-1.txt'
Error opening instrumentation file for iteration 2: [Errno 2] No such file or directory: '../../../extern/install/metacg/bin/out/instrumented-gol_ct_it-2.txt'

Thank you for the report. We'll look into it.

Similar to #7, please test whether the issue persists for you with the just-released PIRA v0.6.0 - thanks in advance!