[Getdp] getdp + petsc + mumps

Артем Хорошев vskych at gmail.com
Wed Sep 4 08:00:04 CEST 2013


03.09.2013 16:48, David Colignon пишет:
>
> On 03/09/13 11:23, Артем Хорошев wrote:
>
>> 03.09.2013 11:09, David Colignon пишет:
>>>
>>> On 03/09/13 08:34, Артем Хорошев wrote:
>>>
>>>> Hi!
>>>> I use GetDP(2.4.1)  with PETSc(3.2, from Ubuntu 13.04 repository) 
>>>> and MUMPS(4.10, also from
>>>> repository). MUMPS user's guide says about the possibility of 
>>>> determining the folder for temporary
>>>> files of Out-Of-Core factorization step by using the "/mumps 
>>>> par%OOC TMPDIR/" variable.
>>>> I try to use "/-mat_mumps_ooc_tmpdir/" (take from /mumps.c/ source 
>>>> file) option in /.petscrc/, but
>>>> it not work.
>>>> For example:
>>>> /-mat_mumps_ooc_tmpdir /home/username/ooc/tempdirectory/
>>>> ,but the program use //tmp/ directory.
>>>>
>>>> Can the GetDP use this option? Or is there a different syntax?
>>>
>>>
>>> Hi,
>>>
>>> getdp should transfer to petsc all the options that it doesn't 
>>> understand. Can you add these debug
>>> petsc options to your .petscrc file to see if they are taken into 
>>> account ?
>>>
>>> -options_table -options_left -mat_view_info
>>>
>>> And/or put quotes around your ooc option, "-mat_mumps_ooc_tmpdir 
>>> /home/username/ooc/tempdirectory/" ?
>>>
>>> Regards,
>>>
>>> Dave
>>>
>>>
>> Thanks for answer!
>> After adding the debug options I get next information:
>> ------------
>> E n d   P r o c e s s i n g
>> #PETSc Option Table entries:
>> -ksp_max_it 10000
>> -ksp_monitor_cancel
>> -ksp_monitor_short
>> -ksp_rtol 1.e-12
>> -ksp_type gmres
>> -mat_mumps_icntl_14 25
>> -mat_mumps_icntl_22 1
>> -mat_mumps_icntl_24 1
>> -mat_mumps_icntl_4 0
>> -mat_mumps_icntl_7 4
>> -mat_mumps_ooc_tmpdir /home/vskych/11/
>> -mat_view_info
>> -options_left
>> -options_table
>> -pc_type lu
>> #End of PETSc Option Table entries
>
>> There is one unused database option. It is:
>
>> Option left: name:-mat_mumps_ooc_tmpdir value: /home/vskych/11/
>
>
> It looks like petsc does not recognize or use this option... perhaps 
> you need to trigger its use with another -mat_mumps_icntl_* option ? 
> Or it will only work with a newer petsc version than your 3.2 ?
>
> Regards,
>
> Dave
>
>
>
>> Info    : Stopped (Tue Sep  3 13:00:31 2013, CPU = 89.148s, Mem = 664Mb)
>> --------------
>> And ooc option quoting gave the same result.
>>
>>
>
Oops... Yes, PETSc 3.2 does not have "-mat_mumps_ooc_tmpdir" option.
Thank you for your help with this problem!




More information about the getdp mailing list