Re: [petsc-dev] PETSc release soon, request for input on needed fixes or enhancements

2016-03-09 Thread Éric Chamberland
install with some debugging variables activated to see more output that might help? I can also launch the scripts in a while loop until it bug again to help dig this problem... Thanks, Eric Le 16-03-03 20:35, Éric Chamberland a écrit : Hi, it's weird. I launched my compilation script

Re: [petsc-dev] PETSc release soon, request for input on needed fixes or enhancements

2016-03-03 Thread Éric Chamberland
4" --with-blas-lapack-dir=$MKL --download-cmake Satish On Thu, 3 Mar 2016, Matthew Knepley wrote: On Thu, Mar 3, 2016 at 5:42 AM, Éric Chamberland < eric.chamberl...@giref.ulaval.ca> wrote: Hi, since last night, with petsc-master.tar.gz, it seems that "make install" is bro

Re: [petsc-dev] PETSc release soon, request for input on needed fixes or enhancements

2016-03-03 Thread Éric Chamberland
Hi, since last night, with petsc-master.tar.gz, it seems that "make install" is broken. Please have a look at these errors: ... CC arch-linux2-c-debug/obj/src/tao/leastsquares/impls/pounders/gqt.o CLINKER

Re: [petsc-dev] Valgrind report a bug in PetscOptionsFindPair_Private

2018-07-02 Thread Éric Chamberland
Barry, sorry for the delay... but your patch solved the problem! thanks! Eric Le 18-06-21 à 16:12, Smith, Barry F. a écrit : Fixed in barry/fix-petscstrlcat/maint I also doubled the length of the work strings used in processing options so your options won't get truncated and hence

Re: [petsc-dev] petsc/master: mkl_cpardiso.c broken

2018-02-03 Thread Éric Chamberland
Thanks Barry, It is compiling now! :) I didn't installed MKL myself, but our IT guy told me that you have to select something like "cluster" or "hpc" when installing it, then you will have cluster pardiso within the installed MKL libs. Anyway, thanks again! Eric Le 18-02-02 à 20:42,

Re: [petsc-dev] petsc/master: unable to link in C++ with last night PETSC_WITH_EXTERNAL_LIB variable changes

2018-02-10 Thread Éric Chamberland
Le 18-02-10 à 16:49, Jed Brown a écrit : Éric Chamberland <eric.chamberl...@giref.ulaval.ca> writes: oh my, looks like "-lpetsc -lmpi" works for us!!! (sounds of head banging on desk) This should work any time libpetsc is a shared library. You'll need the whole grotesque

Re: [petsc-dev] petsc/master: unable to link in C++ with last night PETSC_WITH_EXTERNAL_LIB variable changes

2018-02-10 Thread Éric Chamberland
oh my, looks like "-lpetsc -lmpi" works for us!!! (sounds of head banging on desk) ;) thanks!!! Eric Le 18-02-10 à 15:29, Éric Chamberland a écrit : oh my god, if -lpetsc -lmpi works for me you make my day!!! :) really! I will try it for sure!!! I tried to maintain a very lo

Re: [petsc-dev] petsc/master: unable to link in C++ with last night PETSC_WITH_EXTERNAL_LIB variable changes

2018-02-10 Thread Éric Chamberland
oh my god, if -lpetsc -lmpi works for me you make my day!!! :) really! I will try it for sure!!! I tried to maintain a very long linking line since sooo many years, if I can get ride of it, I will be happy! Thanks, Eric Le 18-02-10 à 13:44, Jed Brown a écrit : Éric Chamberland

Re: [petsc-dev] petsc/master: unable to link in C++ with last night PETSC_WITH_EXTERNAL_LIB variable changes

2018-02-10 Thread Éric Chamberland
ok, let put our in-house code away, simply try this simple example: -- #include int main() { /*empty!! let's see the .o */ return 1; } - then: g++ -c test.cc -I/opt/openmpi-1.10.2/include -o test.o nm -C test.o | grep "MPI::" | grep " U " U

Re: [petsc-dev] petsc/master: unable to link in C++ with last night PETSC_WITH_EXTERNAL_LIB variable changes

2018-02-10 Thread Éric Chamberland
Le 18-02-10 à 17:44, Jeff Hammond a écrit : Indeed, everybody should compiler MPI codes with "-DMPICH_SKIP_MPICXX=1 -DOMPI_SKIP_MPICXX=1" now. I'll ask MPICH and Open-MPI to switch the default to exclude C++ bindings. Will definitely switch my default compiling options right now. And I

Re: [petsc-dev] petsc/master: unable to link in C++ with last night PETSC_WITH_EXTERNAL_LIB variable changes

2018-02-10 Thread Éric Chamberland
Le 18-02-10 à 16:48, Jed Brown a écrit : That's sad, but is this not avoided by defining OMPI_SKIP_MPICXX before including mpi.h? (There is also MPICH_SKIP_MPICXX if you want.) This is done by default in petscsys.h, but you might not include it in that file or don't include it before mpi.h

[petsc-dev] petsc/master: unable to link in C++ with last night PETSC_WITH_EXTERNAL_LIB variable changes

2018-02-10 Thread Éric Chamberland
Hi, we used to link our c++ code with PETSc using PETSC_WITH_EXTERNAL_LIB variable defined in $PETSC_DIR/lib/petsc/conf/petscvariables and everything was fine until this night. It seems some libs have vanished from this variable, see the diff here: -lptscotcherr -lesmumps -lscotch

Re: [petsc-dev] petsc/master: unable to link in C++ with last night PETSC_WITH_EXTERNAL_LIB variable changes

2018-02-10 Thread Éric Chamberland
x" that we need... I could send you our whole line of link, but the error is into this small change introduced yesterday into master... Thanks a lot! Eric Le 18-02-10 à 10:34, Matthew Knepley a écrit : On Sat, Feb 10, 2018 at 9:42 AM, Éric Chamberland <eric.chamberl...@giref.ulaval.ca

Re: [petsc-dev] petsc/master: unable to link in C++ with last night PETSC_WITH_EXTERNAL_LIB variable changes

2018-02-10 Thread Éric Chamberland
, at 11:29 AM, Éric Chamberland <eric.chamberl...@giref.ulaval.ca> wrote: Hi Matthew, Yes, I heard that the MPI C++ API has been deprecated. Yes, the mpi_cxx is now missing. Our link line is formed mainly with PETSC_WITH_EXTERNAL_LIB variable that is now: PETSC_WITH_EXTERNAL_LIB = -L/opt

Re: [petsc-dev] petsc/master: unable to link in C++ with last night PETSC_WITH_EXTERNAL_LIB variable changes

2018-02-10 Thread Éric Chamberland
ok, here are the logs from this night and yesterday: this night: - http://www.giref.ulaval.ca/~cmpgiref/petsc-master-debug/2018.02.10.02h00m01s_configure.log http://www.giref.ulaval.ca/~cmpgiref/petsc-master-debug/2018.02.10.02h00m01s_make.log a day before:

Re: [petsc-dev] petsc/master: unable to link in C++ with last night PETSC_WITH_EXTERNAL_LIB variable changes

2018-02-10 Thread Éric Chamberland
Le 18-02-10 à 12:38, Jed Brown a écrit : Éric Chamberland <eric.chamberl...@giref.ulaval.ca> writes: and into this block there was the "-lmpi_cxx" that we need... The point is that if you are linking C++ code that calls the MPI C++ interface, then *you* should

Re: [petsc-dev] petsc/master: unable to link in C++ with last night PETSC_WITH_EXTERNAL_LIB variable changes

2018-02-10 Thread Éric Chamberland
Le 18-02-10 à 12:58, Smith, Barry F. a écrit : On Feb 10, 2018, at 11:51 AM, Éric Chamberland <eric.chamberl...@giref.ulaval.ca> wrote: Ok guys! You found it (again...). We are no using mpic++ to link!!! We are not always using the same compiler that we used to compile petsc+mpi,

[petsc-dev] Something changed with SBAIJ on april 17?

2019-04-19 Thread Éric Chamberland via petsc-dev
Hi, Looks like something pushed on master change or broke some sbaij usages.  I have two kind off errors with MatCopy: 1) MatCopy error saying: No support for this operation for this object type [0]PETSC ERROR: - Error Message

Re: [petsc-dev] Something changed with SBAIJ on april 17?

2019-04-19 Thread Éric Chamberland via petsc-dev
https://bitbucket.org/petsc/petsc/commits/2b4bbc58b197e97e85869bd03594884bbca73c67     Matt cc: Stefano Satish On Fri, 19 Apr 2019, Éric Chamberland via petsc-dev wrote: > Hi, > > Looks like something pushed on master change or bro

Re: [petsc-dev] Something changed with SBAIJ on april 17?

2019-04-21 Thread Éric Chamberland via petsc-dev
/pull-requests/1571/fix-sbaij/diff Could you please try https://bitbucket.org/petsc/petsc/branch/stefano_zampini/fix-matcopy-sbaij? (off maint) Thanks Il giorno ven 19 apr 2019 alle ore 23:26 Éric Chamberland via petsc-dev mailto:petsc-dev@mcs.anl.gov>> ha scritto: Hi, ok, I wi

Re: [petsc-dev] Something changed with SBAIJ on april 17?

2019-04-22 Thread Éric Chamberland via petsc-dev
error the first time you do mat copy? Or in subsequent ones? At the first MatCopy... which is following the MatConvert... Thanks, Eric Il Lun 22 Apr 2019, 08:41 Éric Chamberland via petsc-dev mailto:petsc-dev@mcs.anl.gov>> ha scritto: Hi, the patch fixed

Re: [petsc-dev] Something changed with SBAIJ on april 17?

2019-04-21 Thread Éric Chamberland via petsc-dev
r... Thanks, Eric Le 19-04-21 à 22:52, Éric Chamberland via petsc-dev a écrit : Hi Stefano, sure! configuration is running with your branch and tests will begin later.  I will see and share the results tomorrow. thanks! :) Eric Le 19-04-21 à 17:21, Stefano Zampini a écrit : Eric

Re: [petsc-dev] Something changed with SBAIJ on april 17?

2019-04-22 Thread Éric Chamberland via petsc-dev
Hi Stefano, I confirm that your commit 0a16297aeba2de71 fixed all bugs we got since april 17! Thanks a lot!!! :) Eric Le 19-04-22 à 22:42, Éric Chamberland via petsc-dev a écrit : Hi Stefano, ok, it will be tested tonight. Meanwhile, I ran on example to extract some information you