Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

post install tasks are broken #28

Open
KADichev opened this issue Oct 15, 2024 · 1 comment
Open

post install tasks are broken #28

KADichev opened this issue Oct 15, 2024 · 1 comment
Assignees

Comments

@KADichev
Copy link
Collaborator

KADichev commented Oct 15, 2024

The post-install tasks in post-install subdirectory have always failed for me in master branch, which is why I disabled them in branch https://github.com/Algebraic-Programming/LPF/tree/functional_tests_use_gtest

make install

Following output is printed during minutes of post install hangups

POST INSTALL CHECK
Compiling a BSPlib program with pthreads engine
Compiling a BSPlib program with C++ compiler and pthreads engine
Compiling an LPF program for any engine
Running an LPF program on any of the engines: pthread;mpimsg;mpirma;ibverbs;zero;hybrid
CMake Error at post-install/post-install-test.cmake:75 (message):
  lpfrun failed running a simple universal program with zero engine
Call Stack (most recent call first):
  post-install/cmake_install.cmake:46 (include)
  cmake_install.cmake:183 (include)


CMake Error at post-install/post-install-test.cmake:75 (message):
  lpfrun failed running a simple universal program with zero engine
Call Stack (most recent call first):
  post-install/cmake_install.cmake:46 (include)
  cmake_install.cmake:183 (include)


Compiling an LPF program with debug library
Running an LPF program with debug library on any of the engines: pthread;mpimsg;mpirma;ibverbs;zero;hybrid
Compiling a BSPlib C program with pthreads engine using -link_info and -compile_info output
Compiling a BSPlib C++ program with pthreads engine using -link_info and -compile_info output
Compiling a BSPlib program with mpimsg engine
Compiling a simple LPF program with mpimsg engine
cc1: fatal error: /home/kdichev/hicr9/extern/lpf/tests/functional/func_lpf_hook_subset.mpimsg.c: No such file or directory
compilation terminated.
CMake Error at post-install/post-install-test.cmake:281 (message):
  lpfcc failed to compile a simple MPI LPF program
Call Stack (most recent call first):
  post-install/cmake_install.cmake:46 (include)
  cmake_install.cmake:183 (include)


Compiling a BSPlib program with C++ compiler and mpimsg engine
Running a BSPlib program with pthreads engine
Testing generated CMake module files for engine pthread
Testing generated CMake module files for engine mpimsg
Testing generated CMake module files for engine mpirma

Testing generated CMake module files for engine ibverbs
Testing generated CMake module files for engine zero
CMake Error at post-install/post-install-test.cmake:408 (message):
  'Make test' failed while using the generated CMake module files.  See
  /home/kdichev/hicr9/extern/lpf/build/post-install/cmake-module-test-zero/cmake-module-test.log
Call Stack (most recent call first):
  post-install/cmake_install.cmake:46 (include)
  cmake_install.cmake:183 (include)


Testing generated CMake module files for engine hybrid
Testing compiler frontend compatibility with CMake
CMake Error at post-install/post-install-test.cmake:456 (message):
  Compiler frontends don't seem to work properly during build.  See
  /home/kdichev/hicr9/extern/lpf/build/post-install/cmake-compat-make.log
Call Stack (most recent call first):
  post-install/cmake_install.cmake:46 (include)
  cmake_install.cmake:183 (include)


CMake Error at post-install/post-install-test.cmake:466 (message):
  Compiler frontends don't seem to work properly for running tests.  See
  /home/kdichev/hicr9/extern/lpf/build/post-install/cmake-compat-test.log
Call Stack (most recent call first):
  post-install/cmake_install.cmake:46 (include)
  cmake_install.cmake:183 (include)


make: *** [Makefile:120: install] Error 1


It seems like most (if not all) post install tasks seg. fault:

: Test command: /home/kdichev/hicr9/extern/lpf/build/bin/lpfrun "-n" "2" "-engine" "zero" "/home/kdichev/hicr9/extern/lpf/build/post-install/cmake-module-test-zero/univ_test_FindLPF"
2: Working Directory: /home/kdichev/hicr9/extern/lpf/build/post-install/cmake-module-test-zero
2: Test timeout computed to be: 10000000
2: 
2: ===================================================================================
2: =   BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
2: =   PID 679570 RUNNING AT srv01
2: =   EXIT CODE: 139
2: =   CLEANING UP REMAINING PROCESSES
2: =   YOU CAN IGNORE THE BELOW CLEANUP MESSAGES
2: ===================================================================================
2: YOUR APPLICATION TERMINATED WITH THE EXIT STRING: Segmentation fault (signal 11)
2: This typically refers to a problem with your application.
2: Please see the FAQ page for debugging suggestions
2/2 Test #2: test_cmake_univ_zero .............***Failed    2.63 sec

0% tests passed, 2 tests failed out of 2

Total Test time (real) =   5.36 sec

The following tests FAILED:
	  1 - test_cmake_zero (Failed)
	  2 - test_cmake_univ_zero (Failed)
Errors while running CTest
Output from these tests are in: /home/kdichev/hicr9/extern/lpf/build/post-install/cmake-module-test-zero/Testing/Temporary/LastTest.log
Use "--rerun-failed --output-on-failure" to re-run the failed cases verbosely.
kdichev@srv01:~/hicr9/extern/lpf/build/post-install/cmake-module-test-zero$ /home/kdichev/hicr9/extern/lpf/build/bin/lpfrun -n 2 -engine zero /home/kdichev/hicr9/extern/lpf/build/post-install/cmake-module-test-zero/univ_test_FindLPF 

===================================================================================
=   BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
=   PID 679691 RUNNING AT srv01
=   EXIT CODE: 139
=   CLEANING UP REMAINING PROCESSES
=   YOU CAN IGNORE THE BELOW CLEANUP MESSAGES
===================================================================================
YOUR APPLICATION TERMINATED WITH THE EXIT STRING: Segmentation fault (signal 11)
This typically refers to a problem with your application.
Please see the FAQ page for debugging suggestions
@anyzelman
Copy link
Member

This part of the failures is resolved in #26:

Compiling a simple LPF program with mpimsg engine
cc1: fatal error: /home/kdichev/hicr9/extern/lpf/tests/functional/func_lpf_hook_subset.mpimsg.c: No such file or directory
compilation terminated.
CMake Error at post-install/post-install-test.cmake:281 (message):
  lpfcc failed to compile a simple MPI LPF program
Call Stack (most recent call first):
  post-install/cmake_install.cmake:46 (include)
  cmake_install.cmake:183 (include)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants