<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi Satish,<div class=""><br class=""></div><div class="">I think you have a bug in you config system as "CPPFLAGS=-Qunused-arguments" propagate to fortran compiler even when I try to explicitly specify "FPPFLAGS=" to nothing :</div><div class=""><br class=""></div><div class=""><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class="">TEST checkFortranCompiler from config.setCompilers(/private/var/folders/5k/sqpp24tx3ylds4fgm13pfht00000gn/T/davydden/spack-stage/spack-stage-jNBTET/petsc-3.6.3/config/BuildSystem/config/setCompilers.py:919)</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class="">TESTING: checkFortranCompiler from config.setCompilers(/private/var/folders/5k/sqpp24tx3ylds4fgm13pfht00000gn/T/davydden/spack-stage/spack-stage-jNBTET/petsc-3.6.3/config/BuildSystem/config/setCompilers.py:919)</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class="">  Locate a functional Fortran compiler</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class="">Checking for program /Users/davydden/spack/opt/spack/darwin-x86_64/clang-7.0.2-apple/openmpi-1.10.2-37xieeupgsteaq6btru6wmhxfi44xqtn/bin/mpif90...found</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class="">                Defined make macro "FC" to "/Users/davydden/spack/opt/spack/darwin-x86_64/clang-7.0.2-apple/openmpi-1.10.2-37xieeupgsteaq6btru6wmhxfi44xqtn/bin/mpif90"</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class="">                Pushing language FC</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class="">Executing: /Users/davydden/spack/opt/spack/darwin-x86_64/clang-7.0.2-apple/openmpi-1.10.2-37xieeupgsteaq6btru6wmhxfi44xqtn/bin/mpif90 -c -o /var/folders/5k/sqpp24tx3ylds4fgm13pfht00000gn/T/petsc-zwyqnZ/config.setCompilers/conftest.o -I/var/folders/5k/sqpp24tx3ylds4fgm13pfht00000gn/T/petsc-zwyqnZ/config.setCompilers  <b class="">-Qunused-arguments</b> /var/folders/5k/sqpp24tx3ylds4fgm13pfht00000gn/T/petsc-zwyqnZ/config.setCompilers/conftest.F </div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class="">Possible ERROR while running compiler: exit code 256</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class="">stderr:</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class="">gfortran: error: unrecognized command line option '-Qunused-arguments’</div><div style="margin: 0px; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><br class=""></div><div class=""><div class="">Kind regards,</div><div class="">Denis </div></div><div class=""><br class="webkit-block-placeholder"></div></div><div><blockquote type="cite" class=""><div class="">On 18 Mar 2016, at 19:13, Satish Balay <<a href="mailto:balay@mcs.anl.gov" class="">balay@mcs.anl.gov</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">Or you can workarround by using additional PETSc configure option:<br class=""><br class="">CPPFLAGS=-Qunused-arguments<br class="">[or CFLAGS?]<br class=""><br class="">Satish<br class=""><br class=""><br class="">On Fri, 18 Mar 2016, Satish Balay wrote:<br class=""><br class=""><blockquote type="cite" class="">your mpicc is barfing stuff on stderr - thus confusing petsc configure.<br class=""><br class="">I don't see this issue with the old openmpi I have access to..<br class=""><br class="">What do you have for:<br class=""><br class="">/Users/davydden/spack/opt/spack/darwin-x86_64/clang-7.0.2-apple/openmpi-1.10.2-37xieeupgsteaq6btru6wmhxfi44xqtn/bin/mpicc -show<br class="">touch foo.c<br class="">/Users/davydden/spack/opt/spack/darwin-x86_64/clang-7.0.2-apple/openmpi-1.10.2-37xieeupgsteaq6btru6wmhxfi44xqtn/bin/mpicc -c foo.c -show<br class=""><br class="">I'm not sure what to suggest.. Perhaps you can use --download-mpich<br class="">[or --download-openmpi] - but then I see you are building all these<br class="">packages using spack - so perhaps you should check with 'spack' folk..<br class=""><br class="">Satish<br class=""><br class="">---------<br class=""><br class="">Executing: /Users/davydden/spack/opt/spack/darwin-x86_64/clang-7.0.2-apple/openmpi-1.10.2-37xieeupgsteaq6btru6wmhxfi44xqtn/bin/mpicc -c -o /var/folders/5k/sqpp24tx3ylds4fgm13pfht00000gn/T/petsc-8RPaEA/config.setCompilers/conftest.o -I/var/folders/5k/sqpp24tx3ylds4fgm13pfht00000gn/T/petsc-8RPaEA/config.setCompilers   /var/folders/5k/sqpp24tx3ylds4fgm13pfht00000gn/T/petsc-8RPaEA/config.setCompilers/conftest.c<br class="">Possible ERROR while running compiler:<br class="">stderr:<br class="">clang: warning: argument unused during compilation: '-L/Users/davydden/spack/opt/spack/darwin-x86_64/clang-7.0.2-apple/boost-1.60.0-eo7nn3v27nxa7lxqv5tttjzikshwt56i/lib'<br class="">clang: warning: argument unused during compilation: '-L/Users/davydden/spack/opt/spack/darwin-x86_64/clang-7.0.2-apple/bzip2-1.0.6-leelnsg3humpngfeofkrdpgtsofrm5ya/lib'<br class="">clang: warning: argument unused during compilation: '-L/Users/davydden/spack/opt/spack/darwin-x86_64/clang-7.0.2-apple/openmpi-1.10.2-37xieeupgsteaq6btru6wmhxfi44xqtn/lib'<br class="">clang: warning: argument unused during compilation: '-L/Users/davydden/spack/opt/spack/darwin-x86_64/clang-7.0.2-apple/hwloc-1.11.2-pxsmp4nhfdjc3jb7odj5lhppu7wqna5b/lib'<br class="">clang: warning: argument unused during compilation: '-L/Users/davydden/spack/opt/spack/darwin-x86_64/clang-7.0.2-apple/libpciaccess-0.13.4-erc6tr3ghndi5ed3gbj6wtvw6zl4vobf/lib'<br class="">clang: warning: argument unused during compilation: '-L/Users/davydden/spack/opt/spack/darwin-x86_64/clang-7.0.2-apple/zlib-1.2.8-cyvcqvrzlgurne424y55hxvfucvz2354/lib'<br class="">clang: warning: argument unused during compilation: '-L/Users/davydden/spack/opt/spack/darwin-x86_64/clang-7.0.2-apple/hdf5-1.8.16-diujq2w7ew4qviquh67b3lkcqsxtf77y/lib'<br class="">clang: warning: argument unused during compilation: '-L/Users/davydden/spack/opt/spack/darwin-x86_64/clang-7.0.2-apple/hypre-2.10.1-4kql32qmjpp7ict2qczkyyv6a4mbrgbl/lib'<br class="">clang: warning: argument unused during compilation: '-L/Users/davydden/spack/opt/spack/darwin-x86_64/clang-7.0.2-apple/openblas-0.2.16-qplsxnxlbaqnz2iltdo7fdhlayvuaxel/lib'<br class="">clang: warning: argument unused during compilation: '-L/Users/davydden/spack/opt/spack/darwin-x86_64/clang-7.0.2-apple/metis-5.1.0-i5y5b6r5ca4f77u5tketagpkn6joxasp/lib'<br class="">clang: warning: argument unused during compilation: '-L/Users/davydden/spack/opt/spack/darwin-x86_64/clang-7.0.2-apple/ncurses-6.0-sabhdwxbdbbapfo6wodglfmyo6u3c3hj/lib'<br class="">clang: warning: argument unused during compilation: '-L/Users/davydden/spack/opt/spack/darwin-x86_64/clang-7.0.2-apple/openssl-1.0.2g-answvmhu3lodpmgulgzryygkkimmsn34/lib'<br class="">clang: warning: argument unused during compilation: '-L/Users/davydden/spack/opt/spack/darwin-x86_64/clang-7.0.2-apple/parmetis-4.0.3-auubrjcwhqmqnpoqjwgwgz4bcjnxzunx/lib'<br class=""><br class="">On Fri, 18 Mar 2016, Denis Davydov wrote:<br class=""><br class=""><blockquote type="cite" class="">Dear all, <br class=""><br class="">Although I saw this issue on the mailing list, that was related to broken compilers, i don’t think it’s the case here as `mpicc -E` seems to be ok.<br class="">Log is attached.<br class=""><br class="">Kind regards,<br class="">Denis <br class=""><br class=""><br class=""></blockquote><br class=""></blockquote></div></div></blockquote></div><br class=""></body></html>