Opened 4 years ago
Closed 4 years ago
#61125 closed defect (worksforme)
mpich-devel-default error: Could not determine a way to link a Fortran test program!
Reported by: | LemingVan | Owned by: | eborisch (Eric A. Borisch) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.6.3 |
Keywords: | Cc: | ||
Port: | mpich-devel-default |
Description (last modified by kencu (Ken))
Hi,
I can't install mpich-devel-default
(for MPI-OM) after I uninstalled it several times (because I need to use openmpi to compile MITgcm, in this way I have to uninstall mpich-devel-default to active openmpi again and again).
I have tried sudo port clean mpich-devel-default" & "sudo port uninstall --follow-dependents mpich-devel-default
, but the issue stills exists.
The Error information showed below:
% sudo port install mpich-devel-default ---> Computing dependencies for mpich-devel-default ---> Configuring mpich-devel-default Error: Failed to configure mpich-devel-default, consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_mpich/mpich-devel-default/work/mpich-3.4a2/config.log Error: Failed to configure mpich-devel-default: configure failure: command execution failed Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_mpich/mpich-devel-default/main.log for details. Error: Follow https://guide.macports.org/#project.tickets to report a bug. Error: Processing of port mpich-devel-default failed
Attachments (2)
Change History (15)
Changed 4 years ago by LemingVan
Attachment: | config.log added |
---|
Changed 4 years ago by LemingVan
comment:1 Changed 4 years ago by kencu (Ken)
Description: | modified (diff) |
---|---|
Keywords: | mpich-devel-default removed |
Owner: | set to eborisch |
Status: | new → assigned |
comment:2 Changed 4 years ago by kencu (Ken)
Summary: | mpich-devel-default Configure error - build failure → mpich-devel-default error: Could not determine a way to link a Fortran test program! |
---|
comment:3 Changed 4 years ago by kencu (Ken)
comment:4 Changed 4 years ago by LemingVan
Hi Ken,
I just re-install the gcc10, unfortunately, the issue still exists.
Could you tell me how to fix this issue? It's a bit difficult for me.
comment:5 Changed 4 years ago by kencu (Ken)
please show me the results of:
port -v installed | grep ld64
comment:6 Changed 4 years ago by kencu (Ken)
FYI, on my 10.15 system this is what I have:
port -v installed | grep ld64 ld64 @3_3+ld64_xcode (active) platform='darwin 19' archs='x86_64' date='2020-08-18T21:47:33-0700' ld64-xcode @2_3 (active) platform='darwin 19' archs='x86_64' date='2020-08-18T21:47:32-0700'
comment:7 Changed 4 years ago by kencu (Ken)
It did install for me, btw:
% port -v installed mpich-devel-default The following ports are currently installed: mpich-devel-default @3.4a2_0+gcc10 (active) platform='darwin 19' archs='x86_64' date='2020-09-04T22:46:53-0700'
comment:8 Changed 4 years ago by LemingVan
% port -v installed | grep ld64 ld64 @3_3 (active) platform='darwin 19' archs='x86_64' date='2020-09-05T09:49:19+0800' ld64-latest @450.3_0+llvm90 (active) platform='darwin 19' archs='x86_64' date='2020-09-05T09:49:15+0800'
comment:9 Changed 4 years ago by LemingVan
I try to install openmpi-devel-default, and I get the same issue too.
comment:10 Changed 4 years ago by kencu (Ken)
so the issue here is your version of ld64 is not making the mpich-devel-default
port happy. I'm not sure why not, but you will need to do this:
sudo port -f uninstall ld64 sudo port -v install ld64 +ld64_xcode
and then you should see:
% port -v installed ld64 The following ports are currently installed: ld64 @3_3+ld64_xcode (active) platform='darwin 19' archs='x86_64' date='2020-08-18T21:47:33-0700'
and once you see that, you should be in business again.
comment:11 Changed 4 years ago by LemingVan
Hi Ken,
You are right! The problem is solved, thank you very much.
comment:12 Changed 4 years ago by kencu (Ken)
ld64-xcode is the default for 10.15, so we'll close this as works for me.
comment:13 Changed 4 years ago by kencu (Ken)
Resolution: | → worksforme |
---|---|
Status: | assigned → closed |
I think it is this: