[petsc-dev] config error

Barry Smith bsmith at mcs.anl.gov
Thu May 19 22:11:10 CDT 2016


  Sorry, I didn't test it all the way to fruition. 

  Should be good now.

  Barry


  
> On May 19, 2016, at 9:11 PM, Adrian Croucher <a.croucher at auckland.ac.nz> wrote:
> 
> Well, almost. Now make is falling over:
> 
> /home/acro018/software/PETSc/code/src/ksp/pc/impls/telescope/ftn-auto/telescopef.c:124:59: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘pctelescopegetsubcommtype_’
>          CC linux-gnu-c-opt/obj/src/ksp/pc/impls/composite/ftn-auto/compositef.o
> make[2]: *** [linux-gnu-c-opt/obj/src/ksp/pc/impls/telescope/ftn-auto/telescopef.o] Error 1
> make[2]: *** Waiting for unfinished jobs....
> make[2]: Leaving directory `/home/acro018/software/PETSc/code'
> make[1]: *** [gnumake] Error 2
> make[1]: Leaving directory `/home/acro018/software/PETSc/code'
> 
> - Adrian
> 
> On 20/05/16 14:09, Adrian Croucher wrote:
>> Thanks Barry, that's fixed it...
>> 
>> - Adrian
>> 
>> On 20/05/16 13:59, Barry Smith wrote:
>>>   Adrian,
>>> 
>>>    I should work now. We had some new code that had incorrect formatting for bfort but I think I fixed it.
>>> 
>>>    Thanks for reporting it so promptly I got the fixes in just before our nightly tests...
>>> 
>>>    Barry
>>> 
>>>> On May 19, 2016, at 8:38 PM, Adrian Croucher <a.croucher at auckland.ac.nz> wrote:
>>>> 
>>>> hi
>>>> 
>>>> I'm getting the following error when I try to run configure on the latest 'next' branch:
>>>> 
>>>> acro018 at des108:~/software/PETSc/code$ ./configure --download-netcdf --download-exodusii --with-hdf5-dir=/usr --download-triangle --download-ptscotch --download-chaco
>>>> =============================================================================== 
>>>>             Configuring PETSc to compile on your system
>>>> =============================================================================== 
>>>> TESTING: checkSharedLibrary from config.packages.sowing(config/BuildSystem/config/package.py:731) ******************************************************************************* 
>>>>         UNABLE to CONFIGURE with GIVEN OPTIONS    (see configure.log for details):
>>>> ------------------------------------------------------------------------------- 
>>>> *******Error generating Fortran stubs: Error running bfort
>>>> cd /home/acro018/software/PETSc/code/src/ksp/pc/impls/telescope; BFORT_CONFIG_PATH=/home/acro018/software/PETSc/code/lib/petsc/conf /home/acro018/software/PETSc/code/linux-gnu-c-opt/bin/bfort -dir /home/acro018/software/PETSc/code/src/ksp/pc/impls/telescope/ftn-auto -mnative -ansi -nomsgs -noprofile -anyname -mapptr -mpi -shortargname -ferr -ptrprefix Petsc -ptr64 PETSC_USE_POINTER_CONVERSION -fcaps PETSC_HAVE_FORTRAN_CAPS -fuscore PETSC_HAVE_FORTRAN_UNDERSCORE -f90mod_skip_header -f90modfile f90module.f90 telescope.h telescope_dmda.c telescope.c
>>>> Testing path as file /home/acro018/software/PETSc/code/lib/petsc/conf
>>>> Testing file /home/acro018/software/PETSc/code/lib/petsc/conf/bfort-base.txt
>>>> Testing path as file /home/acro018/software/PETSc/code/lib/petsc/conf
>>>> Testing file /home/acro018/software/PETSc/code/lib/petsc/conf/bfort-mpi.txt
>>>> bfort terminating at 1033: Cannot append name to return type*******
>>>> ******************************************************************************* 
>>>> 
>>>> Any ideas?
>>>> 
>>>> Cheers, Adrian
>>>> 
>>>> -- 
>>>> Dr Adrian Croucher
>>>> Senior Research Fellow
>>>> Department of Engineering Science
>>>> University of Auckland, New Zealand
>>>> email: a.croucher at auckland.ac.nz
>>>> tel: +64 (0)9 923 84611
>>>> 
>> 
> 
> -- 
> Dr Adrian Croucher
> Senior Research Fellow
> Department of Engineering Science
> University of Auckland, New Zealand
> email: a.croucher at auckland.ac.nz
> tel: +64 (0)9 923 84611
> 




More information about the petsc-dev mailing list