Thank you for your time. `-mno-avx512f -mno-gfni` do not help unfortunately.
I have rebuilt MUMPS with "-ggdb -O0" flags and using BLAS/LAPACK instead of Flexiblas: https://download.copr.fedorainfracloud.org/results/sagitter/ForTesting/fedora-43-x86_64/10140690-MUMPS/ The output of failed "./c_example" under GDB: $ gdb ./c_example GNU gdb (Fedora Linux) 17.1-3.fc43 ... Reading symbols from ./c_example... Reading symbols from /usr/lib/debug/usr/libexec/MUMPS-5.8.2/examples/c_example-5.8.2-0.1.2.gdb.fc43.x86_64.debug... (gdb) run Starting program: /usr/libexec/MUMPS-5.8.2/examples/c_example This GDB supports auto-downloading debuginfo from the following URLs: <ima:enforcing> <https://debuginfod.fedoraproject.org/> <ima:ignore> Enable debuginfod for this session? (y or [n]) y Debuginfod has been enabled. To make this setting permanent, add 'set debuginfod enabled on' to .gdbinit. Program received signal SIGSEGV, Segmentation fault. 0x00007ffff7ffb047 in ?? () (gdb) thread apply all bt full Thread 1 (process 43707 "c_example"): #0 0x00007ffff7ffb047 in ?? () No symbol table info available. #1 0x0000000000000001 in ?? () No symbol table info available. #2 0x00007fffffffdb4e in ?? () No symbol table info available. #3 0x0000000000000000 in ?? () No symbol table info available. (gdb) where #0 0x00007ffff7ffb047 in ?? () #1 0x0000000000000001 in ?? () #2 0x00007fffffffdb4e in ?? () #3 0x0000000000000000 in ?? () (gdb) list 35 int argc=1; 36 char * name = "c_example"; 37 char ** argv ; 38 #else 39 int main(int argc, char ** argv) 40 { 41 #endif 42 DMUMPS_STRUC_C id; 43 MUMPS_INT n = 2; 44 MUMPS_INT8 nnz = 2; (gdb) The source code `c_example.c` is attached. --- Antonio Trande Fedora Project, User:Sagitter Website: antoniotrande.blog mailto: [email protected] GPG key: 0x6ea362cc4c1aeac10b3a5c5402b0e70b4933065a GPG keys server: https://pgp.mit.edu/ lunedì 16 febbraio 2026 12:50, Dave Love <[email protected]> ha scritto: > "Richard W.M. Jones" <[email protected]> writes: > > > (assuming that the MUMPS compiler can add C compiler flags? It's been > > nearly 40 years since I used MUMPS.) > > It's not that MUMPS! It's a linear systems solver. > > Does gdb not help for some reason? > > > You might try to recompile the program using: > > > > -mno-avx512f -mno-gfni > > If it's using avx512 it would have to be from something dynamically > tuned, like BLAS, so build flags presumably wouldn't help. > > -- > _______________________________________________ > devel mailing list -- [email protected] > To unsubscribe send an email to [email protected] > Fedora Code of Conduct: > https://docs.fedoraproject.org/en-US/project/code-of-conduct/ > List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines > List Archives: > https://lists.fedoraproject.org/archives/list/[email protected] > Do not reply to spam, report it: > https://forge.fedoraproject.org/infra/tickets/issues/new >
/*
*
* This file is part of MUMPS 5.8.2, released
* on Mon Jan 12 15:17:08 UTC 2026
*
*/
/* Example program using the C interface to the
* double real arithmetic version of MUMPS, dmumps_c.
* We solve the system A x = RHS with
* A = diag(1 2) and RHS = [1 4]^T
* Solution is [1 2]^T */
#include <stdio.h>
#include <string.h>
#include "mpi.h"
#include "dmumps_c.h"
#define JOB_INIT -1
#define JOB_END -2
#define USE_COMM_WORLD -987654
#if defined(MAIN_COMP)
/*
* Some Fortran compilers (COMPAQ fort) define "main" in
* their runtime library while a Fortran program translates
* to MAIN_ or MAIN__ which is then called from "main".
* We defined argc/argv arbitrarily in that case.
*/
int MAIN__();
int MAIN_()
{
return MAIN__();
}
int MAIN__()
{
int argc=1;
char * name = "c_example";
char ** argv ;
#else
int main(int argc, char ** argv)
{
#endif
DMUMPS_STRUC_C id;
MUMPS_INT n = 2;
MUMPS_INT8 nnz = 2;
MUMPS_INT irn[] = {1,2};
MUMPS_INT jcn[] = {1,2};
double a[2];
double rhs[2];
/* When compiling with -DINTSIZE64, MUMPS_INT is 64-bit but MPI
ilp64 versions normally still require standard int for C */
/* MUMPS_INT myid, ierr; */
int myid, ierr;
int error = 0;
#if defined(MAIN_COMP)
argv = &name;
#endif
ierr = MPI_Init(&argc, &argv);
ierr = MPI_Comm_rank(MPI_COMM_WORLD, &myid);
/* Define A and rhs */
rhs[0]=1.0;rhs[1]=4.0;
a[0]=1.0;a[1]=2.0;
/* Initialize a MUMPS instance. Use MPI_COMM_WORLD */
id.comm_fortran=USE_COMM_WORLD;
id.par=1; id.sym=0;
id.job=JOB_INIT;
dmumps_c(&id);
/* Define the problem on the host */
if (myid == 0) {
id.n = n; id.nnz =nnz; id.irn=irn; id.jcn=jcn;
id.a = a; id.rhs = rhs;
}
#define ICNTL(I) icntl[(I)-1] /* macro s.t. indices match documentation */
/* No outputs */
id.ICNTL(1)=-1; id.ICNTL(2)=-1; id.ICNTL(3)=-1; id.ICNTL(4)=0;
/* Call the MUMPS package (analyse, factorization and solve). */
id.job=6;
dmumps_c(&id);
if (id.infog[0]<0) {
printf(" (PROC %d) ERROR RETURN: \tINFOG(1)= %d\n\t\t\t\tINFOG(2)= %d\n",
myid, id.infog[0], id.infog[1]);
error = 1;
}
/* Terminate instance. */
id.job=JOB_END;
dmumps_c(&id);
if (myid == 0) {
if (!error) {
printf("Solution is : (%8.2f %8.2f)\n", rhs[0],rhs[1]);
} else {
printf("An error has occured, please check error code returned by MUMPS.\n");
}
}
ierr = MPI_Finalize();
return 0;
}
publickey - [email protected] - 0x6EA362CC.asc
Description: application/pgp-keys
signature.asc
Description: OpenPGP digital signature
-- _______________________________________________ devel mailing list -- [email protected] To unsubscribe send an email to [email protected] Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/[email protected] Do not reply to spam, report it: https://forge.fedoraproject.org/infra/tickets/issues/new
