[petsc-dev] MatCreate from Fortran

Barry Smith bsmith at mcs.anl.gov
Thu Apr 5 11:11:40 CDT 2012


  Sorry for the confusion.  Those are now called matcreateaij() etc. because they have always actually created a seq object on one process and a parallel one on more then one, hence the old name was misleading.

   Barry


On Apr 5, 2012, at 11:07 AM, Alexander Grayver wrote:

> Since last time I pulled petsc-dev (2 months) something probably changed with matrices creation of so, now I can't do it from Fortran:
> 
> /home/main_mod.F90:(.text+0x4a3): undefined reference to `matcreatempiaij_'
> /home/main_mod.F90:(.text+0x5979): undefined reference to `matcreatempidense_'
> /home/main_mod.F90:(.text+0x59de): undefined reference to `matcreatempiaij_'
> 
> Same program compiles just fine with:
> Using Petsc Development HG revision: 7c3c3f8c0d65b793aea33c138419de755b591ca7  HG Date: Thu Feb 09 14:42:30 2012 -0600
> 
> Something from my side or...?
> 
> -- 
> Regards,
> Alexander




More information about the petsc-dev mailing list