Closed chenlin0 closed 1 year ago
I try to compile the spral/examples/C/ssids.c. I get this: gcc -o ssids ssids.c -fopenmp -O3 -lspral -lmetis -lmkl_rt -lhwloc -lgfortran -lm -lstdc++ ./ssids Current memory used: 416 bytes Maximum memory used: 416 bytes ***Memory allocation failed for OMETIS: cptr. Requested size: 18446744039349813296 bytes
Error return from ssids_factor. Error flag = -1 Error in sequence of calls.
Could you please try again without -lmkl_rt? Intel provide their own OpenMP runtime library that is not compatible with GCC's OpenMP runtime library.
-lmkl_rt
I try to compile the spral/examples/C/ssids.c. I get this: gcc -o ssids ssids.c -fopenmp -O3 -lspral -lmetis -lmkl_rt -lhwloc -lgfortran -lm -lstdc++ ./ssids Current memory used: 416 bytes Maximum memory used: 416 bytes ***Memory allocation failed for OMETIS: cptr. Requested size: 18446744039349813296 bytes
Error return from ssids_factor. Error flag = -1 Error in sequence of calls.