Re: [petsc-dev] Cleaning up source tree after "make alltests"

2017-07-27 Thread Satish Balay
On Thu, 27 Jul 2017, Lisandro Dalcin wrote: > On 27 July 2017 at 18:02, Satish Balay wrote: > > I'll add these to CLEANFILES in the corresponding makefiles. > > > > Maybe some of them should be cleared as a last step of the rule that > created them? Isn't that preferable? Pushed some fixes to m

Re: [petsc-dev] MatCreateRedundantMatrix() does not work for rectangular matrices

2017-07-27 Thread Jose E. Roman
Works perfectly. Thanks. > El 27 jul 2017, a las 21:41, Hong escribió: > > Jose, > Bug is fixed in branch hzhang/bugfix-RedundantMat/master > https://bitbucket.org/petsc/petsc/commits/7bbdc51d16de20c2a4daada3a4bf77c9346d6e84 > > Let me know if you have any comments. > > Hong > > On Mon, Jul 2

Re: [petsc-dev] MatCreateRedundantMatrix() does not work for rectangular matrices

2017-07-27 Thread Hong
Jose, Bug is fixed in branch hzhang/bugfix-RedundantMat/master https://bitbucket.org/petsc/petsc/commits/7bbdc51d16de20c2a4daada3a4bf77c9346d6e84 Let me know if you have any comments. Hong On Mon, Jul 24, 2017 at 9:02 AM, Hong wrote: > This example works well on maint-branch. > > There is a bu

Re: [petsc-dev] TSAdjoint implementation

2017-07-27 Thread Zhang, Hong
Sure. I already created a separate file 'tsfwdsen.c' for the forward sensitivity approach. Similarly, we can have a file `tsadjsen.c` for TSAdjoint. Hong (Mr.) > On Jul 27, 2017, at 2:31 AM, Lisandro Dalcin wrote: > > Would it be possible to create a new "tsadjoint.c" file and move there > the

Re: [petsc-dev] I think TS should have a TSSetMassMatrix()

2017-07-27 Thread Stefano Zampini
2017-07-24 19:28 GMT+03:00 Barry Smith : > > > > > > IMHO I think that it is not worth the complication. I value the > generality of the current API, that already is somewhat cumbersome to > maintain. > > Users providing the RHS function + mass matrix already know that they > should do M^-1 * rhsv

Re: [petsc-dev] Cleaning up source tree after "make alltests"

2017-07-27 Thread Dave May
On Thu, 27 Jul 2017 at 18:20, Dave May wrote: > On Thu, 27 Jul 2017 at 16:30, Lisandro Dalcin wrote: > >> $ ./configure && make all >> ... >> $ make alltests >> ... >> $ git status >> On branch dalcinl/ts-solve >> Your branch is up-to-date with 'origin/dalcinl/ts-solve'. >> Untracked files: >>

Re: [petsc-dev] Cleaning up source tree after "make alltests"

2017-07-27 Thread Dave May
On Thu, 27 Jul 2017 at 16:30, Lisandro Dalcin wrote: > $ ./configure && make all > ... > $ make alltests > ... > $ git status > On branch dalcinl/ts-solve > Your branch is up-to-date with 'origin/dalcinl/ts-solve'. > Untracked files: > (use "git add ..." to include in what will be committed) >

Re: [petsc-dev] Cleaning up source tree after "make alltests"

2017-07-27 Thread Lisandro Dalcin
On 27 July 2017 at 18:02, Satish Balay wrote: > I'll add these to CLEANFILES in the corresponding makefiles. > Maybe some of them should be cleared as a last step of the rule that created them? Isn't that preferable? -- Lisandro Dalcin Research Scientist Computer, Electrical and M

Re: [petsc-dev] GPU regression tests

2017-07-27 Thread Karl Rupp
Thanks, Satish, fixes are now in next. Best regards, Karli On 07/27/2017 09:52 AM, Satish Balay wrote: There are a bunch of nightlybuild regressions with the GPU stuff - perhaps you can take a look. http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2017/07/27/examples_next_arch-cuda-double

Re: [petsc-dev] Cleaning up source tree after "make alltests"

2017-07-27 Thread Lisandro Dalcin
On 27 July 2017 at 17:48, Satish Balay wrote: > > Sure if there is a new file that I want to add to the commit - its harder > to find there.. > Indeed, and you risk accidentally adding a garbage file to the history. -- Lisandro Dalcin Research Scientist Computer, Electrical and Ma

Re: [petsc-dev] Cleaning up source tree after "make alltests"

2017-07-27 Thread Satish Balay
I'll add these to CLEANFILES in the corresponding makefiles. Satish On Thu, 27 Jul 2017, Lisandro Dalcin wrote: > $ ./configure && make all > ... > $ make alltests > ... > $ git status > On branch dalcinl/ts-solve > Your branch is up-to-date with 'origin/dalcinl/ts-solve'. > Untracked files: >

Re: [petsc-dev] GPU regression tests

2017-07-27 Thread Satish Balay
There are a bunch of nightlybuild regressions with the GPU stuff - perhaps you can take a look. http://ftp.mcs.anl.gov/pub/petsc/nightlylogs/archive/2017/07/27/examples_next_arch-cuda-double_es.log Satish On Thu, 27 Jul 2017, Karl Rupp wrote: > Hi Jose, > > > We have detected another problem.

Re: [petsc-dev] Cleaning up source tree after "make alltests"

2017-07-27 Thread Satish Balay
The files should be cleanedup - however wrt 'git gui' - this doesn't cause a problem for me. When you select the first changed file to commit - the mouse (usually) skips these new files - and jumps to the next changed file. Sure if there is a new file that I want to add to the commit - its harder

Re: [petsc-dev] Cleaning up source tree after "make alltests"

2017-07-27 Thread Lisandro Dalcin
$ ./configure && make all ... $ make alltests ... $ git status On branch dalcinl/ts-solve Your branch is up-to-date with 'origin/dalcinl/ts-solve'. Untracked files: (use "git add ..." to include in what will be committed) base_module.mod src/dm/examples/tests/temp src/dm/examples/tutorials/dmda-

Re: [petsc-dev] Cleaning up source tree after "make alltests"

2017-07-27 Thread Matthew Knepley
On Thu, Jul 27, 2017 at 3:29 AM, Lisandro Dalcin wrote: > Right now, after running "make alltests", a lot of untracked files pop > up in "git status". This is quite annoying, and it makes harder to use > other tools like "git gui" for commit. > > Could the guilty parties please update the makefil

Re: [petsc-dev] GPU regression tests

2017-07-27 Thread Karl Rupp
Hi Jose, We have detected another problem. Could you take care of it? MatDuplicate() does not work for MATSEQAIJCUSPARSE (probably also for MATMPIAIJCUSPARSE). The attached example creates a matrix and duplicates it. There are two cases: 1) With a diagonal matrix it fails on GPU because MatDup

Re: [petsc-dev] GPU regression tests

2017-07-27 Thread Jose E. Roman
Karl, We have detected another problem. Could you take care of it? MatDuplicate() does not work for MATSEQAIJCUSPARSE (probably also for MATMPIAIJCUSPARSE). The attached example creates a matrix and duplicates it. There are two cases: 1) With a diagonal matrix it fails on GPU because MatDuplicat

[petsc-dev] TSAdjoint implementation

2017-07-27 Thread Lisandro Dalcin
Would it be possible to create a new "tsadjoint.c" file and move there the implementations of all the routines in "ts.c" related to TSAdjoint? -- Lisandro Dalcin Research Scientist Computer, Electrical and Mathematical Sciences & Engineering (CEMSE) Extreme Computing Research Center

[petsc-dev] Cleaning up source tree after "make alltests"

2017-07-27 Thread Lisandro Dalcin
Right now, after running "make alltests", a lot of untracked files pop up in "git status". This is quite annoying, and it makes harder to use other tools like "git gui" for commit. Could the guilty parties please update the makefile rules to cleanup things? -- Lisandro Dalcin Resear