Opened 9 years ago

Closed 9 years ago

#49490 closed defect (worksforme)

openmpi-gcc48 @1.10.0: error: 'HWLOC_OBJ_OSDEV_COPROC' undeclared (first use in this function)

Reported by: shipman035@… Owned by: seanfarley (Sean Farley)
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc: shipman035@…
Port: openmpi-gcc48

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

Since almost 10 days I am fighting with the installation problem of openmpi into version of Yosemite 10.10.4

I tried several ways however finally all of of the ways gave following error:

Error: org.macports.build for port openmpi-gcc49 returned: command execution failed

When I looked at the .log file also saw following error:

/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_sc ience_openmpi/openmpi-gcc49/work/openmpi-1.10.0/opal/mca/hwloc/base/hwloc_base_util.c:1482:13: error: 'HWLOC_OBJ_OSDEV_COPROC' undeclared (first use in this function)

If someone can help to me I will be appreciated.

Thank you

Attachments (3)

log_file.pdf (63.4 KB) - added by shipman035@… 9 years ago.
attempts.pdf (48.6 KB) - added by shipman035@… 9 years ago.
main.log (286.7 KB) - added by shipman035@… 9 years ago.
log file is attached

Download all attachments as: .zip

Change History (13)

Changed 9 years ago by shipman035@…

Attachment: log_file.pdf added

Changed 9 years ago by shipman035@…

Attachment: attempts.pdf added

comment:1 Changed 9 years ago by mf2k (Frank Schima)

Priority: HighNormal

The Priority field is for use by Macports team members only.

comment:2 in reply to:  1 Changed 9 years ago by shipman035@…

Replying to mf2k@…:

The Priority field is for use by Macports team members only.

Sorry it is my first ticket. Next time I will be careful...

Thank you for warning.

comment:3 Changed 9 years ago by mf2k (Frank Schima)

Please directly attach the main.log file. No one wants to look at a PDF.

Changed 9 years ago by shipman035@…

Attachment: main.log added

log file is attached

comment:4 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Owner: changed from macports-tickets@… to sean@…
Port: openmpi-gcc48 added
Summary: Installation problem openmpi into Yosemite 10.10.4openmpi-gcc48 @1.10.0: error: 'HWLOC_OBJ_OSDEV_COPROC' undeclared (first use in this function)

You said the problem was with openmpi-gcc49, but the log you attached was for openmpi-gcc48. No matter; maybe both are failing the same way.

comment:5 in reply to:  4 Changed 9 years ago by shipman035@…

Replying to ryandesign@…:

You said the problem was with openmpi-gcc49, but the log you attached was for openmpi-gcc48. No matter; maybe both are failing the same way.

Actually, I tried to install gcc48 at the beginning but i was unable to do it. After that, I uninstalled gcc48 and tried to install gcc49, and succeed installation. However, as a result I could not install neither openmpi-gcc49 nor openmpi-gcc48, which gives same error!

comment:6 Changed 9 years ago by jsquyres (Jeff Squyres)

How is Open MPI compiled -- are you compiling against an internal or external copy of hwloc?

comment:7 in reply to:  6 Changed 9 years ago by shipman035@…

Replying to jsquyres@…:

How is Open MPI compiled -- are you compiling against an internal or external copy of hwloc?

Sorry, I did not understand what you meant? I just wanted to install openmpi via gcc48 or gcc49 and received that error? Could you tell me that what does "error: 'HWLOC_OBJ_OSDEV_COPROC' undeclared (first use in this function)" mean and How can I fix this problem? My main purpose is to install openfoam CFD tool into my mac in which mpirun compile is used for the parallel running.

comment:8 Changed 9 years ago by shipman035@…

Cc: shipman035@… added

Cc Me!

comment:9 in reply to:  6 Changed 9 years ago by dstrubbe (David Strubbe)

Replying to jsquyres@…:

How is Open MPI compiled -- are you compiling against an internal or external copy of hwloc?

hwloc is a separate port, so it is external.

comment:10 Changed 9 years ago by seanfarley (Sean Farley)

Resolution: worksforme
Status: newclosed

I can't reproduce this currently. If this is still an error, please reopen with new logs.

Note: See TracTickets for help on using tickets.