[petsc-dev] new Fortran error

Mark Adams mfadams at lbl.gov
Fri Jul 10 07:53:52 CDT 2020


I just started getting this error and I have no idea what it from. Any
ideas?

08:52 knepley/feature-swarm-fortran= ~/Codes/petsc$ make -f gmakefile test
search='dm_impls_swarm_tutorials-ex1f90_0'
Using MAKEFLAGS: search=dm_impls_swarm_tutorials-ex1f90_0
          FC arch-macosx-gnu-g/tests/dm/impls/swarm/tutorials/ex1f90.o
/Users/markadams/Codes/petsc/src/dm/impls/swarm/tutorials/ex1f90.F90:39:30:

   34 |       call PetscObjectSetName(dm, 'Potential Grid',
ierr);CHKERRA(ierr)
      |                              2
......
   39 |       call PetscObjectSetName(fe, 'fe', ierr);CHKERRA(ierr)
      |                              1
Error: Type mismatch between actual argument at (1) and actual argument at
(2) (INTEGER(8)/TYPE(tdm)).
/Users/markadams/Codes/petsc/src/dm/impls/swarm/tutorials/ex1f90.F90:71:30:

   34 |       call PetscObjectSetName(dm, 'Potential Grid',
ierr);CHKERRA(ierr)
      |                              2
......
   71 |       call PetscObjectSetName(rho, 'rho', ierr);CHKERRA(ierr)
      |                              1
Error: Type mismatch between actual argument at (1) and actual argument at
(2) (TYPE(tvec)/TYPE(tdm)).
/Users/markadams/Codes/petsc/src/dm/impls/swarm/tutorials/ex1f90.F90:73:30:

   34 |       call PetscObjectSetName(dm, 'Potential Grid',
ierr);CHKERRA(ierr)
      |                              2
......
   73 |       call PetscObjectSetName(f, 'weights', ierr);CHKERRA(ierr)
      |                              1
Error: Type mismatch between actual argument at (1) and actual argument at
(2) (TYPE(tvec)/TYPE(tdm)).
make: *** [arch-macosx-gnu-g/tests/dm/impls/swarm/tutorials/ex1f90.o] Error
1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20200710/c5234940/attachment.html>


More information about the petsc-dev mailing list