[petsc-dev] master breaking with gmake

Satish Balay balay at mcs.anl.gov
Tue Sep 17 13:52:57 CDT 2013


Also are you doing 'make cmake' and not 'make all'?

[because 'make all' should default to gmake build and not cmake - and internally both use 'make' for parallel builds]

Satish

On Tue, 17 Sep 2013, Satish Balay wrote:

> Mark also had this issue.
> 
> what do you have for
> 
> 'which gmake'
> 
> And why is gmake broken on Mac :(
> 
> Currently configure option is --with-make= --download-make etc..
> 
> Perhaps we need to add alias for 'make=gnumake' or something..
> 
> /usr/bin/make is a valid gmake  on Mac - so --with-make=make would work.
> 
> I changed the cofigure deault to look for 'gmake' first before 'make'
> [because gmake is more likely to be gnumake than make on some
> machines]
> 
> Satish
> 
> On Tue, 17 Sep 2013, Barry Smith wrote:
> 
> > 
> >   No --download-gmake ? or --download-gnumake?   This seems wrong.
> > 
> >    Barry
> > 
> > On Sep 17, 2013, at 1:43 PM, Barry Smith <bsmith at mcs.anl.gov> wrote:
> > 
> > > ~/Src/petsc  barry/fix-petscobjectsetstate $ gmake --version
> > > GNU Make 3.82
> > > Built for x86_64-apple-darwin10.8.0
> > > Copyright (C) 2010  Free Software Foundation, Inc.
> > > License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
> > > This is free software: you are free to change and redistribute it.
> > > There is NO WARRANTY, to the extent permitted by law.
> > > 
> > > [ 15%] Building C object CMakeFiles/petsc.dir/src/sys/classes/draw/utils/ftn-custom/zaxisf.c.o
> > > [ 15%] [ 15%] Building C object CMakeFiles/petsc.dir/src/sys/classes/draw/utils/ftn-custom/zzoomf.c.o
> > > Building C object CMakeFiles/petsc.dir/src/sys/classes/random/interface/ftn-auto/randomcf.c.o
> > > [ 15%] Building C object CMakeFiles/petsc.dir/src/sys/classes/random/interface/ftn-auto/randomf.c.o
> > > [ 15%] [ 15%] Building C object CMakeFiles/petsc.dir/src/sys/classes/random/interface/ftn-custom/zrandomf.c.o
> > > Building Fortran object CMakeFiles/petsc.dir/src/sys/fsrc/somefort.F.o
> > > [ 15%] Building C object CMakeFiles/petsc.dir/src/sys/time/ftn-auto/cputimef.c.o
> > > [ 15%] Building C object CMakeFiles/petsc.dir/src/sys/time/ftn-custom/zptimef.c.o
> > > [ 16%] [ 16%] Building C object CMakeFiles/petsc.dir/src/sys/threadcomm/impls/pthread/tcpthread.c.o
> > > Building C object CMakeFiles/petsc.dir/src/sys/threadcomm/impls/pthread/tclockfree.c.o
> > > [ 16%] [ 16%] Building C object CMakeFiles/petsc.dir/src/vec/is/utils/ftn-auto/isltogf.c.o
> > > Building C object CMakeFiles/petsc.dir/src/vec/is/utils/ftn-auto/vsectionisf.c.o
> > > [ 16%] Building C object CMakeFiles/petsc.dir/src/vec/is/is/impls/stride/ftn-auto/stridef.c.o
> > > gmake[3]: *** read jobs pipe: No such file or directory.  Stop.
> > > gmake[3]: *** Waiting for unfinished jobs....
> > > [ 16%] Building C object CMakeFiles/petsc.dir/src/vec/is/is/impls/block/ftn-auto/blockf.c.o
> > > gmake[2]: *** [CMakeFiles/petsc.dir/all] Broken pipe: 13
> > > gmake[1]: *** [all] Error 2
> > > gmake[1]: INTERNAL: Exiting with 1 jobserver tokens available; should be 7!
> > > make: *** [ccmake] Error 2
> > > 
> > > Compilation exited abnormally with code 2 at Tue Sep 17 13:41:43
> > > 
> > > 
> > 
> > 
> 
> 




More information about the petsc-dev mailing list