Opened 3 months ago

Closed 3 months ago

#69201 closed defect (invalid)

installing openmpi on Mac OS 14

Reported by: steinrf Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.9.0
Keywords: Cc: mascguy (Christopher Nielsen)
Port: openmpi

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

I downloaded mac ports
The command

sudo port install openmpi
Error: Port openmpi not found

The port routine exists in /opt/local/bin

whereis port
port: /opt/local/bin/port

What do I need to do to make it find openmpi?

Change History (6)

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

Cc: mascguy added
Keywords: install openmpi removed

Are you able to install any ports? Does sudo port selfupdate complete successfully?

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

Description: modified (diff)

comment:3 Changed 3 months ago by steinrf

sudo port -v selfupdate
--->  Updating MacPorts base sources using rsync
rsync: failed to connect to rsync.macports.org: Operation timed out (60)
rsync error: error in socket IO (code 10) at /AppleInternal/Library/BuildRoots/0032d1ee-80fd-11ee-8227-6aecfccc70fe/Library/Caches/com.apple.xbs/Sources/rsync/rsync/clientserver.c(109) [receiver=2.6.9]
Command failed: /usr/bin/rsync -rtzvl --delete-after --include=/base.tar --include=/base.tar.rmd160 --exclude=* rsync://rsync.macports.org/macports/release/tarballs/ /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs
Exit code: 10
Error: Error synchronizing MacPorts sources: command execution failed
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
Error: /opt/local/bin/port: port selfupdate failed: Error synchronizing MacPorts sources: command execution failed
Last edited 3 months ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

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

Remember to use WikiFormatting.

Ok, so you couldn't sync because you couldn't reach our rsync server. Has it ever worked? Are you on a corporate network where they restrict what ports you can use, or do you have network monitoring, antivirus, or firewall software installed that might be blocking ports? If you can unblock the rsync port, perhaps with the assistance of your network administrator if you have one, do that.

If you can't unblock rsync traffic, then you'll need to configure MacPorts to sync using a method that is not rsync, for example git or a daily tarball. See "Alternatives for syncing the ports tree without rsync" in wiki:howto.

comment:5 Changed 3 months ago by steinrf

Problem was using my vpn. With that off does rsync and is working now.

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

Resolution: invalid
Status: newclosed

Great, I'm glad you got it working.

There are other rsync servers besides the primary one that you could try; maybe one of the others works with your vpn. See wiki:Mirrors.

Note: See TracTickets for help on using tickets.