[petsc-dev] Error while compiling petsc-dev

Tabrez Ali stali at geology.wisc.edu
Sun Nov 1 15:38:31 CST 2015


Hello

I am getting the following error while compiling petsc-dev (just did git 
pull today, after a few weeks). The configure and make logs are attached.

In file included from /home/stali/petsc-dev/include/petscsys.h:120:0,
                  from 
/home/stali/petsc-dev/src/dm/impls/plex/ftn-auto/plexdistributef.c:1:
/home/stali/petsc-dev/src/dm/impls/plex/ftn-auto/plexdistributef.c: In 
function ‘dmplexdistributedata_’:
/home/stali/petsc-dev/src/dm/impls/plex/ftn-auto/plexdistributef.c:172:15: 
error: invalid type argument of unary ‘*’ (have ‘MPI_Datatype’)
   MPI_Type_f2c(*(datatype)),originalData,
                ^
/opt/mpich3/include/mpi.h:683:47: note: in definition of macro 
‘MPI_Type_f2c’
  #define MPI_Type_f2c(datatype) (MPI_Datatype)(datatype)
                                                ^
gmakefile:161: recipe for target 
'arch-linux2-c-opt/obj/src/dm/impls/plex/ftn-auto/plexdistributef.o' failed
make[2]: *** 
[arch-linux2-c-opt/obj/src/dm/impls/plex/ftn-auto/plexdistributef.o] Error 1
make[2]: *** Waiting for unfinished jobs....
           CC arch-linux2-c-opt/obj/src/dm/impls/plex/plexnatural.o
           CC arch-linux2-c-opt/obj/src/dm/impls/plex/ftn-auto/plexgmshf.o
           CC arch-linux2-c-opt/obj/src/dm/impls/plex/plexrefine.o
make[2]: Leaving directory '/home/stali/petsc-dev'
/home/stali/petsc-dev/lib/petsc/conf/rules:105: recipe for target 
'gnumake' failed
make[1]: *** [gnumake] Error 2
make[1]: Leaving directory '/home/stali/petsc-dev'

Tabrez

-------------- next part --------------
A non-text attachment was scrubbed...
Name: configure.log.gz
Type: application/gzip
Size: 203350 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20151101/620b01d9/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: make.log.gz
Type: application/gzip
Size: 8271 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20151101/620b01d9/attachment-0001.bin>


More information about the petsc-dev mailing list