[petsc-dev] Error while compiling petsc-dev

Matthew Knepley knepley at gmail.com
Sun Nov 1 17:21:13 CST 2015


On Sun, Nov 1, 2015 at 4:59 PM, Tabrez Ali <stali at geology.wisc.edu> wrote:

> Thanks! I will now make sure to delete $PETSC_ARCH before updating
> petsc-dev (only done occasionally).
>

This only had to happen because we updated the sowing package. Propagating
dependencies through tools is not trivial.

  Thanks,

     Matt


> Tabrez
>
> On 11/01/2015 03:42 PM, Barry Smith wrote:
>
>>    You need to remove $PETSC_ARCH completely and rerun configure
>>
>>    Barry
>>
>> On Nov 1, 2015, at 3:38 PM, Tabrez Ali <stali at geology.wisc.edu> wrote:
>>>
>>> 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
>>>
>>> <configure.log.gz><make.log.gz>
>>>
>>
>


-- 
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20151101/4b2554c4/attachment.html>


More information about the petsc-dev mailing list