Opened 3 years ago

Closed 3 years ago

#63091 closed defect (fixed)

mpi portgroup depends on nonexistent 'mpich-clang34' on Tiger

Reported by: jmroot (Joshua Root) Owned by: mascguy (Christopher Nielsen)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: eborisch (Eric A. Borisch)
Port:

Description

While it's fine not to support Tiger, this causes mirroring failures. A couple of examples:

% port lint petsc os.major=8
--->  Verifying Portfile for petsc
Error: Unknown dependency: mpich-clang34
--->  1 errors and 0 warnings found.
% port lint scalapack os.major=8
--->  Verifying Portfile for scalapack
Error: Unknown dependency: mpich-clang34
--->  1 errors and 0 warnings found.

https://build.macports.org/builders/jobs-mirror/builds/281451/steps/mirror/logs/stdio

Change History (13)

comment:1 Changed 3 years ago by kencu (Ken)

Last edited 3 years ago by kencu (Ken) (previous) (diff)

comment:2 Changed 3 years ago by mascguy (Christopher Nielsen)

Hmmmm. On line 308 of the portgroup, we're unconditionally disabling all older clang versions, including clang34.

I'll have to investigate...

comment:3 Changed 3 years ago by mascguy (Christopher Nielsen)

Of note, mpich-clang34 hasn't been supported since August of 2017:

https://github.com/macports/macports-ports/commit/3aa83fd52375f4af609eed7d9f6dedbcb25738b7

This doesn't directly relate to the issue, since the portgroup determines what's valid. Nonetheless, it's an interesting bit of historical trivia.

Still digging...

Last edited 3 years ago by mascguy (Christopher Nielsen) (previous) (diff)

comment:4 Changed 3 years ago by mascguy (Christopher Nielsen)

Josh, has this been happening for a long time (a year or more), or did it start within the past few months...?

comment:5 Changed 3 years ago by jmroot (Joshua Root)

No idea, I just noticed the mirror failures today.

comment:6 Changed 3 years ago by mascguy (Christopher Nielsen)

No worries.

I'm adding supplemental logging in various places, to see if I can track down why this is occurring. (Won't be committing any changes though, this is just for local diagnostic purposes.)

comment:7 Changed 3 years ago by mascguy (Christopher Nielsen)

Finally had a chance to fire up my old PowerBook G4, and boot into 10.4.

After updating MacPorts to 2.7.1, syncing, etc, this is what I'm seeing:

$ sw_vers
ProductName:    Mac OS X
ProductVersion: 10.4.11
BuildVersion:   8S165

$ port version
Version: 2.7.1

$ port info --fullname --depends petsc scalapack
fullname: petsc @3.15.0+accelerate+hwloc+mpich
depends_fetch: 
depends_extract: 
depends_patch: 
depends_build: sowing, python39, c2html, apple-gcc42
depends_lib: vecLibFort, mpich-default, hwloc
depends_run: 
depends_test: 
--
fullname: scalapack @2.1.0+accelerate+gfortran+mpich
depends_fetch: 
depends_extract: 
depends_patch: 
depends_build: cmake, gcc7, apple-gcc42
depends_lib: vecLibFort, libgcc, mpich-default
depends_run: 
depends_test: 

$ port lint --nitpick petsc scalapack 
--->  Verifying Portfile for petsc
--->  0 errors and 0 warnings found.
--->  Verifying Portfile for scalapack
--->  0 errors and 0 warnings found.

So I'm not sure where mpich-clang34 is coming from. Though overriding os.major via the command line isn't 100% reliable, so I'm not surprised that the results are different.

Josh, is there anything else I can test from 10.4, to help diagnose this...?

Last edited 3 years ago by mascguy (Christopher Nielsen) (previous) (diff)

comment:8 Changed 3 years ago by mascguy (Christopher Nielsen)

Another question is whether this is only occurring for an Intel-based setup.

My old 2007-era MacBookPro should be able to run 10.4 as well, though I'd need to install the OS.

comment:9 Changed 3 years ago by mascguy (Christopher Nielsen)

Josh, do you have any additional thoughts on this? (Not urgent, simply want to help you resolve this.)

comment:10 Changed 3 years ago by jmroot (Joshua Root)

No other clues yet except that I noticed there's also a dependency on the nonexistent mpich-clang70 on Leopard:

% port lint petsc os.major=9 
--->  Verifying Portfile for petsc
Error: Unknown dependency: mpich-clang70
--->  1 errors and 0 warnings found.

comment:11 Changed 3 years ago by jmroot (Joshua Root)

Looks like mpi.get_default_mpi_compiler might be what's making up nonexistent subports.

comment:12 Changed 3 years ago by mascguy (Christopher Nielsen)

Thanks Josh, I'll try to take a closer look at some point soon.

comment:13 Changed 3 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: assignedclosed

In d0ce9d72a935ad51004fa3183230e11409b08656/macports-ports (master):

mpi pg: don't depend on nonexistent ports

Closes: #63091

Note: See TracTickets for help on using tickets.