Re: [petsc-dev] Modify 3rd party lib

2020-04-19 Thread Mark Adams
Also, we have PRNTlevel>=2 in SuperLU_dist. This is causing a lot of output. It's not clear where that is set (it's a #define) On Sun, Apr 19, 2020 at 9:28 PM Mark Adams wrote: > Sherry, I found the problem. > > I added this print statement to dDestroy_LU > > nb = CEILING(nsupers, grid->npco

Re: [petsc-dev] Modify 3rd party lib

2020-04-19 Thread Mark Adams
Sherry, I found the problem. I added this print statement to dDestroy_LU nb = CEILING(nsupers, grid->npcol); for (i = 0; i < nb; ++i) if ( Llu->Lrowind_bc_ptr[i] ) { * fprintf(stderr,"dDestroy_LU: GPU free Llu->Lnzval_bc_ptr[%d/%d] = %p, CPU free Llu->Lrowind_bc_ptr = %p\n",i,nb,Llu->Ln

Re: [petsc-dev] Modify 3rd party lib

2020-04-19 Thread Satish Balay via petsc-dev
For one - its SuperLU_Dist - not SuperLU. And you remove --download-superlu_dist option. You need both: --download-superlu_dist --download-superlu_dist-commit=HEAD Satish On Sun, 19 Apr 2020, Mark Adams wrote: > On Sun, Apr 19, 2020 at 5:52 PM Stefano Zampini > wrote: > > > First, commit yo

Re: [petsc-dev] Modify 3rd party lib

2020-04-19 Thread Stefano Zampini
You should still use —download-superlu_dist along with the option I have sent you > On Apr 20, 2020, at 1:29 AM, Mark Adams wrote: > > > > On Sun, Apr 19, 2020 at 5:52 PM Stefano Zampini > wrote: > First, commit your changes to the superlu_dist branch, then

Re: [petsc-dev] Modify 3rd party lib

2020-04-19 Thread Xiaoye S. Li
Mark, you should fork a branch of your own to do this. Sherry On Sun, Apr 19, 2020 at 2:54 PM Stefano Zampini wrote: > First, commit your changes to the superlu_dist branch, then rerun > configure with > > —download-superlu_dist-commit=HEAD > > > > On Apr 20, 2020, at 12:50 AM, Mark Adams wrot

Re: [petsc-dev] Modify 3rd party lib

2020-04-19 Thread Stefano Zampini
First, commit your changes to the superlu_dist branch, then rerun configure with —download-superlu_dist-commit=HEAD > On Apr 20, 2020, at 12:50 AM, Mark Adams wrote: > > I would like to modify SuperLU_dist but if I change the source and configure > it says no need to reconfigure, use --force.

[petsc-dev] Modify 3rd party lib

2020-04-19 Thread Mark Adams
I would like to modify SuperLU_dist but if I change the source and configure it says no need to reconfigure, use --force. I use --force and it seems to clobber my changes. Can I tell configure to use build but not download SuperLU?