Opened 14 years ago

Closed 11 years ago

#25362 closed defect (wontfix)

mpich@1.2.7p1 fail to build in Mac OS X snow leopard

Reported by: josem.climate@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.9.1
Keywords: Cc: eborisch (Eric A. Borisch)
Port: mpich

Description

I am using Xcode 3.2.2 for Mac SDK 10.6

:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_mpich/work/mpich-1.2.7p1/bin/mpicc  -o overtake overtake.o test.o 
:info:build ld: duplicate symbol _MPIR_Setup_base_datatype in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_mpich/work/mpich-1.2.7p1/lib/libmpich.a(initdte.o) and /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_mpich/work/mpich-1.2.7p1/lib/libpmpich.a(initdte.o)
:info:build collect2: ld returned 1 exit status
:info:build make[4]: *** [overtake] Error 1
:info:build make[3]: [linktest1] Error 2 (ignored)
:info:build Could not link a C program with MPI libraries
:info:build make[3]: *** [linktest1] Error 1
:info:build make[2]: *** [linktest] Error 2
:info:build make[1]: *** [mpi-lib-test] Error 2
:info:build make: *** [mpi] Error 2

:info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_mpich/work/mpich-1.2.7p1" && /usr/bin/make -j2 " returned error 2
:error:build Target org.macports.build returned: shell command failed
:debug:build Backtrace: shell command failed
    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"

Attachments (2)

main.log.bz2 (16.2 KB) - added by ryandesign (Ryan Carsten Schmidt) 14 years ago.
mpich log
main.log (690.6 KB) - added by aeronova 13 years ago.
main.log

Download all attachments as: .zip

Change History (10)

comment:1 Changed 14 years ago by jmroot (Joshua Root)

Port: mpich added

Please remember to fill in the Port field.

comment:2 Changed 14 years ago by josem.climate@…

Cc: josem.climate@… added

Cc Me!

comment:3 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: josem.climate@… removed

I get the same error. I'm attaching a complete log.

But mpich is very old. You may want the newer mpich2.

Note you do not need to Cc yourself.

Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: main.log.bz2 added

mpich log

comment:4 Changed 14 years ago by josem.climate@…

I will try, but I thought that the protocols and api for mpich2 is different.

I will see

comment:5 in reply to:  4 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to josem.climate@…:

I will try, but I thought that the protocols and api for mpich2 is different.

That's certainly possible; I'm not familiar with the mpich software. What did you find out?

comment:6 Changed 14 years ago by jmroot (Joshua Root)

Fixed the arch detection to do something more correct in r71401, but the build still fails for other reasons.

Changed 13 years ago by aeronova

Attachment: main.log added

main.log

comment:7 Changed 13 years ago by matthew.g.russell@…

Same happens for me.

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

Cc: eborisch@… added
Resolution: wontfix
Status: newclosed

This version of the port was removed in r99931.

Note: See TracTickets for help on using tickets.