STRUMPACK icon indicating copy to clipboard operation
STRUMPACK copied to clipboard

Segmentation fault

Open AlexGKim opened this issue 2 years ago • 0 comments

I am running on perlmutter and get a segmentation error that seems to be inherent to the STRUMPACK libraries.

I am loading these modules:

module load e4s/22.05 strumpack/6.3.1-gcc-11.2.0-cuda cmake

My CMakeLists.txt file

cmake_minimum_required(VERSION 3.13)
project(myapp LANGUAGES CXX)
 
find_package(STRUMPACK REQUIRED)
 
add_executable(test test.cpp)
target_link_libraries(test PRIVATE STRUMPACK::strumpack)

The seg fault does not occur when I remove the `target_link_libraries' line

My code cpp code is

#include <iostream>
#include <cmath>
#include <vector>

using namespace std;

int main(int argc, char* argv[]) {

  cout << "---------" << endl;
  cout << "Structured bl " << endl;
  cout << "---------" << endl;
}

The output from gdb is

---------
Structured bl 
---------

Program received signal SIGSEGV, Segmentation fault.
__freeBlasMemPool (numa_mask=<optimized out>, tag=<optimized out>) at ./src/crayblas_util.c:353
353	./src/crayblas_util.c: No such file or directory.
Missing separate debuginfos, use: zypper install libibverbs-debuginfo-55mlnx37-1.55103.x86_64 libnl3-200-debuginfo-3.3.0-1.29.x86_64 librdmacm-debuginfo-55mlnx37-1.55103.x86_64 nvidia-computeG05-debuginfo-470.103.01-0.x86_64

AlexGKim avatar Jul 27 '22 22:07 AlexGKim