[MacPorts] #51367: GCC6 does not include OpenACC NVIDIA offload compilers
#51367: GCC6 does not include OpenACC NVIDIA offload compilers ----------------------------+-------------------------------- Reporter: thomasdeakin@… | Owner: macports-tickets@… Type: request | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Keywords: | Port: gcc6 ----------------------------+-------------------------------- GCC 6.1 now supports OpenACC 2.0a targeting NVIDIA GPUs. This requires a separate configure and build step before building the main compiler. It would be great if GCC 6.1 from MacPorts came with this set up. -- Ticket URL: <https://trac.macports.org/ticket/51367> MacPorts <https://www.macports.org/> Ports system for OS X
#51367: GCC6 does not include OpenACC NVIDIA offload compilers -----------------------------+------------------- Reporter: thomasdeakin@… | Owner: mww@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: gcc6 | -----------------------------+------------------- Changes (by mf2k@…): * owner: macports-tickets@… => mww@… * version: 2.3.4 => * type: request => enhancement Comment: In the future, please Cc the port maintainers ({{{port info --maintainers gcc6}}}), if any. Note that a "request" ticket type is only for requesting a new port. -- Ticket URL: <https://trac.macports.org/ticket/51367#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#51367: gcc6: add OpenACC NVIDIA offload compilers -----------------------------+------------------- Reporter: thomasdeakin@… | Owner: mww@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: gcc6 | -----------------------------+------------------- Changes (by ryandesign@…): * cc: ryandesign@… (added) Comment: Specifically, what would the separate configure and build steps need to do? -- Ticket URL: <https://trac.macports.org/ticket/51367#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#51367: gcc6: add OpenACC NVIDIA offload compilers -----------------------------+------------------- Reporter: thomasdeakin@… | Owner: mww@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: gcc6 | -----------------------------+------------------- Comment (by thomasdeakin@…): It's pretty laborious, and I managed to get it built for Linux using these instructions: http://scelementary.com/2015/04/25/openacc-in-gcc.html The instructions are for GCC 5.0 but they work fine for 6.1. In short, an external assembler for PTX is built, then GCC is configured, built and installed targeting PTX. Then GCC is built for the second time, configured as a host compiler specifying that it can offload. -- Ticket URL: <https://trac.macports.org/ticket/51367#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts