[MacPorts] #28510: valgrind 3.6.1
#28510: valgrind 3.6.1 --------------------------------+------------------------------------------- Reporter: naromero@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: --------------------------------+------------------------------------------- The mpich2 variant is failing. I installed as follows sudo port install valgrind +mpich2 Looks like the construction of the libmpiwrap is failing. See attached log file. -- Ticket URL: <https://trac.macports.org/ticket/28510> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28510: valgrind 3.6.1 +mpich2 variant fails --------------------------------+------------------------------------------- Reporter: naromero@… | Owner: raimue@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: valgrind --------------------------------+------------------------------------------- Changes (by ryandesign@…): * cc: naromero@… (removed) * owner: macports-tickets@… => raimue@… * port: => valgrind Old description:
The mpich2 variant is failing. I installed as follows sudo port install valgrind +mpich2
Looks like the construction of the libmpiwrap is failing. See attached log file.
New description: The mpich2 variant is failing. I installed as follows {{{ sudo port install valgrind +mpich2 }}} Looks like the construction of the libmpiwrap is failing. See attached log file. -- -- Ticket URL: <https://trac.macports.org/ticket/28510#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28510: valgrind 3.6.1 +mpich2 variant fails --------------------------------+------------------------------------------- Reporter: naromero@… | Owner: raimue@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: valgrind --------------------------------+------------------------------------------- Changes (by raimue@…): * status: new => assigned -- Ticket URL: <https://trac.macports.org/ticket/28510#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28510: valgrind 3.6.1 +mpich2 variant fails --------------------------------+------------------------------------------- Reporter: naromero@… | Owner: raimue@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: valgrind --------------------------------+------------------------------------------- Comment(by raimue@…): Quoting the relevant part from the log: {{{ :info:build Making all in mpi :info:build /opt/local/bin/mpicc -I../include -g -O -fno-omit-frame- pointer -Wall -dynamic -arch x86_64 -MT libmpiwrap_amd64_darwin_so- libmpiwrap.o -MD -MP -MF .deps/libmpiwrap_amd64_darwin_so-libmpiwrap.Tpo -c -o libmpiwrap_amd64_darwin_so-libmpiwrap.o `test -f 'libmpiwrap.c' || echo './'`libmpiwrap.c :info:build cc1: error: unrecognized command line option "-arch" :info:build make[2]: *** [libmpiwrap_amd64_darwin_so-libmpiwrap.o] Error 1 }}} Apparently you are using mpich2 with the +gcc45 variant. The compilers in the gcc45 port do not support `-arch` flags as these are specific to gcc provided by Apple. Indeed, this is a combination I didn't test or even thought of. As a workaround, the build works if you use the default variant set for mpich2. But that means mpicc will use Apple provided compilers (i.e. `/usr/bin/gcc`). You can remove the +gcc45 variant with the following commands: {{{ sudo port -n upgrade --e mpich2 -gcc45 sudo port install valgrind +mpich2 }}} -- Ticket URL: <https://trac.macports.org/ticket/28510#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28510: valgrind 3.6.1 +mpich2 variant fails -------------------------+---------------------- Reporter: naromero@… | Owner: raimue@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: | Keywords: Port: valgrind | -------------------------+---------------------- Comment (by jmr@…): Is this still a problem with the current version? -- Ticket URL: <https://trac.macports.org/ticket/28510#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#28510: valgrind 3.6.1 +mpich2 variant fails -------------------------+---------------------- Reporter: naromero@… | Owner: raimue@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: worksforme | Keywords: Port: valgrind | -------------------------+---------------------- Changes (by sean@…): * status: assigned => closed * resolution: => worksforme -- Ticket URL: <https://trac.macports.org/ticket/28510#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts