Bug 2106011 - fftw fails to build in Fedora 37 rawhide chroot on copr
Summary: fftw fails to build in Fedora 37 rawhide chroot on copr
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: fftw
Version: 36
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Conrad Meyer
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-07-11 14:16 UTC by Daan De Meyer
Modified: 2023-04-25 18:59 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2023-04-25 18:59:16 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Daan De Meyer 2022-07-11 14:16:08 UTC
Description of problem:

```
perl -w ../../tests/check.pl --verbose --random --maxsize=10000 -c=10  --mpi "mpirun -np 3 `pwd`/mpi-bench"
Executing "mpirun -np 3 /builddir/build/BUILD/fftw-3.3.10/openmpi-single/mpi/mpi-bench --verbose=1   --verify 'ok]10o11x12hx7o10x13e11' --verify 'ik]10o11x12hx7o10x13e11' --verify 'okd[13e11x6e00x11o11x10o00' --verify 'ikd[13e11x6e00x11o11x10o00' --verify 'obr5x7x2x5v3' --verify 'ibr5x7x2x5v3' --verify 'ofr5x7x2x5v3' --verify 'ifr5x7x2x5v3' --verify 'obc5x7x2x5v3' --verify 'ibc5x7x2x5v3' --verify 'ofc5x7x2x5v3' --verify 'ifc5x7x2x5v3' --verify 'ok]22bx11e01v19' --verify 'ik]22bx11e01v19' --verify 'ofr]44x9' --verify 'ifr]44x9' --verify 'obc]44x9' --verify 'ibc]44x9' --verify 'ofc]44x9' --verify 'ifc]44x9' --verify 'ok]9e01x12e00x8e10' --verify 'ik]9e01x12e00x8e10' --verify 'ofr]3x3x9x9' --verify 'ifr]3x3x9x9' --verify 'obc]3x3x9x9' --verify 'ibc]3x3x9x9' --verify 'ofc]3x3x9x9' --verify 'ifc]3x3x9x9' --verify 'ok]16bx18o01x5o01' --verify 'ik]16bx18o01x5o01' --verify 'obrd[4x13v12' --verify 'ibrd[4x13v12' --verify 'obcd[4x13v12' --verify 'ibcd[4x13v12' --verify 'ofcd[4x13v12' --verify 'ifcd[4x13v12' --verify 'ok[3e10x13e01x3bx13h' --verify 'ik[3e10x13e01x3bx13h' --verify 'ofr]6x10x16x8' --verify 'ifr]6x10x16x8' --verify 'obc]6x10x16x8' --verify 'ibc]6x10x16x8' --verify 'ofc]6x10x16x8' --verify 'ifc]6x10x16x8'"
--------------------------------------------------------------------------
There are not enough slots available in the system to satisfy the 3
slots that were requested by the application:

  /builddir/build/BUILD/fftw-3.3.10/openmpi-single/mpi/mpi-bench

Either request fewer slots for your application, or make more slots
available for use.

A "slot" is the Open MPI term for an allocatable unit where we can
launch a process.  The number of slots available are defined by the
environment in which Open MPI processes are run:

  1. Hostfile, via "slots=N" clauses (N defaults to number of
     processor cores if not provided)
  2. The --host command line parameter, via a ":N" suffix on the
     hostname (N defaults to 1 if not provided)
  3. Resource manager (e.g., SLURM, PBS/Torque, LSF, etc.)
  4. If none of a hostfile, the --host command line parameter, or an
     RM is present, Open MPI defaults to the number of processor cores

In all the above cases, if you want Open MPI to default to the number
of hardware threads instead of the number of processor cores, use the
--use-hwthread-cpus option.

Alternatively, you can use the --oversubscribe option to ignore the
number of available slots when deciding the number of processes to
launch.
```

Version-Release number of selected component (if applicable):

3.3.10-2

How reproducible:

Build fftw on copr (example failed build: https://copr.fedorainfracloud.org/coprs/daandemeyer/fno-omit-frame-pointer/build/4622126/)

Actual results:

https://copr.fedorainfracloud.org/coprs/daandemeyer/fno-omit-frame-pointer/build/4622126/

Expected results:

Build succeeds

Additional info:

Comment 1 Trent Piepho 2022-11-28 01:51:28 UTC
I've got a fix for this issue in https://src.fedoraproject.org/rpms/fftw/pull-request/8

It's due to lack of CPUs on the COPR build host combined with the OpenMPI default of not allowing more processes than CPUs by default.

Comment 2 Ben Cotton 2023-04-25 17:35:05 UTC
This message is a reminder that Fedora Linux 36 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 36 on 2023-05-16.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '36'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version. Note that the version field may be hidden.
Click the "Show advanced fields" button if you do not see it.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 36 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 3 Trent Piepho 2023-04-25 18:13:49 UTC
Bug is now fixed in F38.


Note You need to log in before you can comment on or make changes to this bug.