Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 09 May 2024 14:04:37 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 278869] net/mpich: Fatal error in internal_Init_thread
Message-ID:  <bug-278869-7788-9ws8e1dyXU@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-278869-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-278869-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278869

--- Comment #2 from Laurent <laurent.chardon@gmail.com> ---
This seems to work as intended for me:

1) Compiled with default options

  (I don't have a GPU)

  $ mpivars > /dev/null
  Abort(403826191): Fatal error in internal_Init_thread: Other MPI error, e=
rror
stack:
  internal_Init_thread(48399): MPI_Init_thread(argc=3D0x8202ea77c,
argv=3D0x8202ea770, required=3D0, provided=3D0x8202ea76c) failed
  MPII_Init_thread(189)......:
  MPII_init_gpu(31)..........:  gpu_init failed

  $  MPIR_CVAR_ENABLE_GPU=3D0 mpivars > /dev/null
  $

  I get an error if I try to initialize a GPU that I don't have.

2) Compiled with default options except that I removed L0

  $ mpivars > /dev/null
  $

So the binaries behave as expected. The question that remains is: should the
default package crash if no GPU is found, and I'm sure that we agree that t=
he
answer is no.

Then I would be inclined to undo the change brought by PR 256244 in
88e134883dd2 and remove L0 from the default options.

I'll submit this patch. Can confirm that mpich works for you as expected
without the L0 option.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-278869-7788-9ws8e1dyXU>