Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.
6653 Discussions

Incorrect solution when running cluster_sparse_solver example problem: cl_solver_sym_sp_0_based_c.c

segmentation_fault
New Contributor I
397 Views

Unfortunately I am getting the following error when running the provided example, cl_solver_sym_sp_0_based_c.c :

 


Factorization completed ...
Solving system...
Intel MKL ERROR: Parameter 6 was incorrect on entry to DLASWP.

The solution of the system is:
 x [0] =  0.000000
 x [1] =  0.000000
 x [2] =  0.000000
 x [3] =  0.000000
 x [4] =  0.000000
 x [5] = -nan
 x [6] =  0.000000
 x [7] =  nan

 

Here is my job submission script:

 

#!/bin/bash
source /opt/intel/inteloneapi/setvars.sh > /dev/null 2>&1

ulimit -a
ulimit -s unlimited
export OMP_NUM_THREADS=1;

mpirun -np 1 ./a.out

 

And job submission command:

 

qsub -l nodes=1:ppn=2 -d . build.sh

 

Ideally I want to run it on two processors, i.e mpirun -np 2. But that totally errors out with segmentation fault. So I switched to one processor and it gives the errors above.

0 Kudos
1 Solution
segmentation_fault
New Contributor I
349 Views
2 Replies
segmentation_fault
New Contributor I
350 Views

We can close or delete this question as it has been resolved in the other thread:

 

https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/undefined-reference-to-cluster-spars...

Gennady_F_Intel
Moderator
307 Views

This issue has been resolved and we will no longer respond to this thread. If you require additional assistance from Intel, please start a new thread. Any further interaction in this thread will be considered community only. 



Reply