[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
pc_factor_fill
- To: petsc-users@xxxxxxxxxxx
- Subject: pc_factor_fill
- From: Waad Subber <w_subber@xxxxxxxxx>
- Date: Thu, 22 Nov 2007 03:46:33 -0800 (PST)
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=LjAU1cdynPNP3Grn2V0EoTmyeIeRTrgXDPAfGkJEIpD7UN+uIus15Hfz1Mm6hcjynK9TvJFUOfdOFQ0lLlTsjl8HafpreG5+lt+KcVvCOI43lgUWoGPAbgpFEdH7zob2HRnCyJ9AtmHBs2CBi54b42afnAx3mWQ3b72hQymZuec=;
- Reply-to: petsc-users@xxxxxxxxxxx
- Sender: owner-petsc-users@xxxxxxxxxxx
Hello PETSc Users,
I have a serial code to solve multiple matrices. I am using LU factorization. When I run the code with the (-info) option, it gives me different values for (pc_factor_fill) depending on the input matrix. I am wondering if I can set these values for the (pc_factor_fill) inside the code instead of running it with runtime option, for it is one code with multiple inputs.
Thanks a lot
Waad
For Matrix No.1
[5] MatLUFactorSymbolic_SeqAIJ(): Reallocs 3 Fill ratio:given 0 needed 2.96
[5] MatLUFactorSymbolic_SeqAIJ(): Run with -pc_factor_fill 2.96 or use
[5] MatLUFactorSymbolic_SeqAIJ(): PCFactorSetFill(pc,2.96);
[5] MatLUFactorSymbolic_SeqAIJ(): for best performance.
For Matrix No.2
[9] MatLUFactorSymbolic_SeqAIJ(): Reallocs 3 Fill ratio:given 0 needed 2.42069
[9] MatLUFactorSymbolic_SeqAIJ(): Run with -pc_factor_fill 2.42069 or use
[9] MatLUFactorSymbolic_SeqAIJ():
PCFactorSetFill(pc,2.42069);
[9] MatLUFactorSymbolic_SeqAIJ(): for best performance.
For Matrix No. n
[8] MatLUFactorSymbolic_SeqAIJ(): Reallocs 3 Fill ratio:given 0 needed 1.87742
[8] MatLUFactorSymbolic_SeqAIJ(): Run with -pc_factor_fill 1.87742 or use
[8] MatLUFactorSymbolic_SeqAIJ(): PCFactorSetFill(pc,1.87742);
[8] MatLUFactorSymbolic_SeqAIJ(): for best performance.
Be a better sports nut! Let your teams follow you
with Yahoo Mobile. Try it now.