[petsc-dev] Error: 'ooc_nb_file_type' at (1) is not a member of the 'cmumps_struc' structure

Chaffra Affouda chaffra at gmail.com
Mon Sep 28 11:43:05 CDT 2015


OK, after removing everything (mumps+suitesparses files) in include 
folder as suggested by Satish's response it finally builds mumps. There 
must have been some conflicting mumps files in the include folder.

Thanks,
Chaffra

On 09/28/2015 10:11 AM, Satish Balay wrote:
>> Configure Options: --configModules=PETSc.Configure --optionsModule=config.compilerOptions --prefix=/home/chaffra/Projects/FEniCS COPTFLAGS=-O2 --with-debugging=1 --with-shared-libraries=1 --with-clanguage=cxx --with-c-support=1 --with-pthreadclasses=1 --with-openmp=1 --download-suitesparse=1 --download-hypre=1 --download-mumps=1 --download-scalapack=1 --download-blacs=1 --download-ptscotch=1 --download-scotch=1 --download-metis=1 --download-parmetis=1 --download-petsc4py=1 --download-mpi4py=1
>
> What do you have for:
>
> ls /home/chaffra/Projects/FEniCS/include
>
>
> Also suggest not using:
>
> --with-clanguage=cxx --with-c-support=1 --with-pthreadclasses=1 --with-openmp=1
>
> And there is no more option '--download-blacs=1'
>
> Satish
>
>
> On Mon, 28 Sep 2015, Chaffra Affouda wrote:
>
>> Hi Barry,
>>
>> I've erased everything under petsc, clone from git but mumps still won't
>> build. Attached is my configure.log.
>>
>> Thanks,
>> Chaffra
>>
>> On 09/25/2015 04:51 PM, Barry Smith wrote:
>>>     Cannot explain this. Try deleting the entire PETSc directory and running
>>> again with --download-mumps send configure.log if it fails
>>>
>>>     Barry
>>>
>>>> On Sep 25, 2015, at 3:29 PM, Chaffra Affouda<chaffra at gmail.com>  wrote:
>>>>
>>>> Hi,
>>>>
>>>> I cannot build petsc-3.6.1 on ubuntu. I am getting the error below. Is
>>>> mumps broken here? I am using ubuntu trusty.
>>>>
>>>> make[1]: Leaving directory
>>>> `petsc-3.6.1/arch-linux2-cxx-opt/externalpackages/MUMPS'mumps_io_basic.c:
>>>> In function ‘mumps_init_file_name’:
>>>> mumps_io_basic.c:579:14: warning: assignment discards ‘const’ qualifier
>>>> from pointer target type [enabled by default]
>>>>         tmp_dir=MUMPS_OOC_DEFAULT_DIR;
>>>>                ^
>>>> cmumps_ooc.F:159.42:
>>>>
>>>> OOC_NB_FILE_TYPE=id%OOC_NB_FILE_TYPE
>>>>                                            1
>>>> Error: 'ooc_nb_file_type' at (1) is not a member of the 'cmumps_struc'
>>>> structure
>>>> cmumps_ooc.F:525.36:
>>>>
>>>>           DO I1=1,id%OOC_NB_FILE_TYPE
>>>>                                      1
>>>> Error: 'ooc_nb_file_type' at (1) is not a member of the 'cmumps_struc'
>>>> structure
>>>> cmumps_ooc.F:540.12:
>>>>
>>>> ENDDO
>>>>              1
>>>> Error: Expecting END IF statement at (1)
>>>> cmumps_ooc.F:562.31:
>>>>
>>>>        IF(.NOT. id%IF_RESTARTING) CALL CMUMPS_OOC_CLEAN_FILES(id,IERR)
>>>>                                 1
>>>> Error: 'if_restarting' at (1) is not a member of the 'cmumps_struc'
>>>> structure
>>>> cmumps_ooc.F:677.42:
>>>>
>>>> OOC_NB_FILE_TYPE=id%OOC_NB_FILE_TYPE
>>>>                                            1
>>>> Error: 'ooc_nb_file_type' at (1) is not a member of the 'cmumps_struc'
>>>> structure
>>>> make[3]: *** [cmumps_ooc.o] Error 1
>>>> make[2]: *** [c] Error 2
>>>> make[1]: *** [mumps_lib] Error 2
>>>> make: *** [c] Error 2
>>>> *******************************************************************************
>>>>
>>




More information about the petsc-dev mailing list