Re: [petsc-dev] Issue with dependency generation in GCC 9

2020-01-20 Thread Lisandro Dalcin
Indeed! First bug fix listed here: https://ccache.dev/releasenotes.html#_ccache_3_7_7 Thanks all and sorry for the noise! On Mon, 20 Jan 2020 at 21:33, Balay, Satish wrote: > And looks like the issue is fixed in ccache 3.7.7 > > Satish > > --- > > balay@sb /home/balay/petsc (master=) > $

Re: [petsc-dev] Issue with dependency generation in GCC 9

2020-01-20 Thread Balay, Satish via petsc-dev
Downgrading to ccache-3.4.3-2.fc30.x86_64.rpm [on F31] changes this behavior for me. Satish - wget https://kojipkgs.fedoraproject.org//packages/ccache/3.4.3/2.fc30/x86_64/ccache-3.4.3-2.fc30.x86_64.rpm rpm -Uvh --oldpackage ccache-3.4.3-2.fc30.x86_64.rpm -- $ head -n 3

Re: [petsc-dev] Issue with dependency generation in GCC 9

2020-01-20 Thread Lisandro Dalcin
Ups! Not a GCC issue, but still relevant to all us... The issue happens only if using ccache. I have the system ccache package installed, and ccache is used via symlinks. $ mpicc -show gcc -I/usr/include/mpich-x86_64 -L/usr/lib64/mpich/lib -Wl,-rpath -Wl,/usr/lib64/mpich/lib

Re: [petsc-dev] Issue with dependency generation in GCC 9

2020-01-20 Thread jed
Ah, you're right. I'm still suspicious about how this behavior appeared on your machine. Would be interesting to check a vanilla build or gcc-10 branch. I'm still learning toward it being unintentional.On Jan 20, 2020 07:57, Lisandro Dalcin wrote:On Mon, 20 Jan 2020 at 17:07, Jed Brown

Re: [petsc-dev] Issue with dependency generation in GCC 9

2020-01-20 Thread Matthew Knepley
On Mon, Jan 20, 2020 at 9:58 AM Lisandro Dalcin wrote: > On Mon, 20 Jan 2020 at 17:07, Jed Brown wrote: > >> From my man page (contradicting the behavior Lisandro observed): >> >>-MD -MD is equivalent to -M -MF file, except that -E is not implied. >> The driver >>determines file

Re: [petsc-dev] Issue with dependency generation in GCC 9

2020-01-20 Thread Lisandro Dalcin
On Mon, 20 Jan 2020 at 17:07, Jed Brown wrote: > From my man page (contradicting the behavior Lisandro observed): > >-MD -MD is equivalent to -M -MF file, except that -E is not implied. > The driver >determines file based on whether an -o option is given. If it is, > the driver uses

Re: [petsc-dev] ccache tips?

2020-01-20 Thread Patrick Sanan
Thanks a lot for all the tips! I'm trying things out now with an approach like Jed's, but attempting to use system MPI instead of a specific build of MPICH. > Am 17.01.2020 um 22:13 schrieb Jed Brown : > > "Balay, Satish" writes: > >> I guess you can just create links [from mpicc to ccache]

Re: [petsc-dev] Issue with dependency generation in GCC 9

2020-01-20 Thread Jed Brown
Matthew Knepley writes: > On Mon, Jan 20, 2020 at 7:06 AM Lisandro Dalcin wrote: > >> On Mon, 20 Jan 2020 at 14:14, Matthew Knepley wrote: >> >>> On Mon, Jan 20, 2020 at 3:06 AM Lisandro Dalcin >>> wrote: >>> I'm using GCC 9 from Fedora 31. A few things have changed regarding

Re: [petsc-dev] how do see artifacts?

2020-01-20 Thread Jed Brown
"Smith, Barry F." writes: >> On Jan 19, 2020, at 10:39 PM, Jed Brown wrote: >> >> "Smith, Barry F. via petsc-dev" writes: >> >>> I have no left hand side. >> >> Right hand side? I certainly see them. Are you using a funny browser? > > Apple's :-) Try Firefox?

Re: [petsc-dev] how do see artifacts?

2020-01-20 Thread Smith, Barry F. via petsc-dev
Do they link with iCloud? ☠️ > On Jan 20, 2020, at 5:07 AM, Matthew Knepley wrote: > > Try Firefox or Chrome? > >Matt > > On Sun, Jan 19, 2020 at 11:41 PM Smith, Barry F. via petsc-dev > wrote: > > > > On Jan 19, 2020, at 10:39 PM, Jed Brown wrote: > > > > "Smith, Barry F. via

Re: [petsc-dev] Issue with dependency generation in GCC 9

2020-01-20 Thread Matthew Knepley
On Mon, Jan 20, 2020 at 7:22 AM Matthew Knepley wrote: > On Mon, Jan 20, 2020 at 7:06 AM Lisandro Dalcin wrote: > >> On Mon, 20 Jan 2020 at 14:14, Matthew Knepley wrote: >> >>> On Mon, Jan 20, 2020 at 3:06 AM Lisandro Dalcin >>> wrote: >>> I'm using GCC 9 from Fedora 31. A few things

Re: [petsc-dev] Issue with dependency generation in GCC 9

2020-01-20 Thread Matthew Knepley
On Mon, Jan 20, 2020 at 7:06 AM Lisandro Dalcin wrote: > On Mon, 20 Jan 2020 at 14:14, Matthew Knepley wrote: > >> On Mon, Jan 20, 2020 at 3:06 AM Lisandro Dalcin >> wrote: >> >>> I'm using GCC 9 from Fedora 31. A few things have changed regarding >>> dependency generation, and things are now

Re: [petsc-dev] Issue with dependency generation in GCC 9

2020-01-20 Thread Lisandro Dalcin
On Mon, 20 Jan 2020 at 14:14, Matthew Knepley wrote: > On Mon, Jan 20, 2020 at 3:06 AM Lisandro Dalcin wrote: > >> I'm using GCC 9 from Fedora 31. A few things have changed regarding >> dependency generation, and things are now broken for PETSc. I do not have a >> clean solution to propose. >>

Re: [petsc-dev] Issue with dependency generation in GCC 9

2020-01-20 Thread Matthew Knepley
On Mon, Jan 20, 2020 at 3:06 AM Lisandro Dalcin wrote: > I'm using GCC 9 from Fedora 31. A few things have changed regarding > dependency generation, and things are now broken for PETSc. I do not have a > clean solution to propose. > > The problem is the way targets are emitted : > > $ head -n 3

Re: [petsc-dev] how do see artifacts?

2020-01-20 Thread Matthew Knepley
Try Firefox or Chrome? Matt On Sun, Jan 19, 2020 at 11:41 PM Smith, Barry F. via petsc-dev < petsc-dev@mcs.anl.gov> wrote: > > > > On Jan 19, 2020, at 10:39 PM, Jed Brown wrote: > > > > "Smith, Barry F. via petsc-dev" writes: > > > >> I have no left hand side. > > > > Right hand side? I

[petsc-dev] Issue with dependency generation in GCC 9

2020-01-20 Thread Lisandro Dalcin
I'm using GCC 9 from Fedora 31. A few things have changed regarding dependency generation, and things are now broken for PETSc. I do not have a clean solution to propose. The problem is the way targets are emitted : $ head -n 3 arch-linux2-c-debug/obj/sys/objects/init.d init.o: