Opened 2 months ago

Last modified 2 months ago

#73094 assigned defect

PETSc configure failure

Reported by: MEKH1 (Mohd Al Khasawneh) Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version:
Keywords: tahoe Cc:
Port: petsc

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Attempting to install PETSc with:

sudo port install petsc

fails during configure stage.

System details:

  • macOS version: 26.0 Tahoe
  • Architecture: arm64 (Apple Silicon M1 Pro)

Error excerpt:

Error: Failed to configure petsc: configure failure: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_petsc/petsc/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
Error: Processing of port petsc failed

Attachments (1)

petsc_build.log (173.4 KB) - added by MEKH1 (Mohd Al Khasawneh) 2 months ago.

Download all attachments as: .zip

Change History (5)

comment:1 Changed 2 months ago by jmroot (Joshua Root)

Description: modified (diff)
Owner: set to MarcusCalhoun-Lopez
Port: petsc added
Status: newassigned
Summary: Attempting to install PETSc:PETSc configure failure

Please add the main.log to the ticket as an attachment.

Changed 2 months ago by MEKH1 (Mohd Al Khasawneh)

Attachment: petsc_build.log added

comment:2 Changed 2 months ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: tahoe added

comment:3 Changed 2 months ago by ryandesign (Ryan Carsten Schmidt)

The log says:

*********************************************************************************************
                              OSError while running ./configure
---------------------------------------------------------------------------------------------
  Cannot run executables created with FC. If this machine uses a batch system
  to submit jobs you will need to configure using ./configure with the additional option
  --with-batch.
  Otherwise there is problem with the compilers. Can you compile and run code with your
  compiler '/opt/local/bin/mpif90-mpich-mp'?
*********************************************************************************************

comment:4 in reply to:  3 Changed 2 months ago by MEKH1 (Mohd Al Khasawneh)

Yes I know whats written inside,I tried to deal with this problem, but nothing worked out. Replying to ryandesign:

The log says:

*********************************************************************************************
                              OSError while running ./configure
---------------------------------------------------------------------------------------------
  Cannot run executables created with FC. If this machine uses a batch system
  to submit jobs you will need to configure using ./configure with the additional option
  --with-batch.
  Otherwise there is problem with the compilers. Can you compile and run code with your
  compiler '/opt/local/bin/mpif90-mpich-mp'?
*********************************************************************************************
Last edited 2 months ago by MEKH1 (Mohd Al Khasawneh) (previous) (diff)
Note: See TracTickets for help on using tickets.