The function for file output is depth_file()

Best,
Guido

On Fri, Mar 2, 2012 at 10:10 AM, Uwe Köcher <[email protected]> wrote:
> Hi Katie,
>
> you have to forbid "deallog" to write on your console output.
> Use "deallog.depth_console(0)" to avoid those messages.
>
> Oh, I just checked my output; I have the same issue...
> Maybe you attach the deallog to another output like this:
>
> ----------------------------------------------------------
> // Create individual output file for each running process
> ostringstream filename;
> filename << "proc" << MyPID << ".log";
> ofstream pout(filename.str().c_str());
>
> // Attach deallog to process output
> deallog.attach(pout);
> deallog.depth_console(0);
> pout << endl;
>
> ...
>
> // Clean up
> out.close();
> ----------------------------------------------------------
> than the deallog output will be written in another file.
>
> Best
> Uwe
>
>
> On Fri, 2012-03-02 at 16:03 +0000, Katie Leonard wrote:
>> Hi,
>>
>> I'm running the SVN version of deal.II.  My code is producing a whole load 
>> of information to the terminal which I would prefer not to have!  It is of 
>> the form pasted below;
>>
>> DEAL:GMRES:cg::Convergence step 22 value 1.01291e-11
>> DEAL:GMRES:cg::Starting value 0.000151011
>> DEAL:GMRES:cg::Convergence step 22 value 1.22456e-11
>> DEAL:GMRES:cg::Starting value 0.000137639
>> DEAL:GMRES:cg::Convergence step 22 value 1.12166e-11
>> DEAL:GMRES:cg::Starting value 0.000138608
>> DEAL:GMRES:cg::Convergence step 22 value 9.99532e-12
>>
>>
>> I can't find anything in the code itself to call this, and I didn't have 
>> this issue before I checked out the SVN version.  I was just wondering if 
>> there is something in one of the CG files that is outputting this stuff now?
>>
>> In addition if I write "make run>>output.txt" in the terminal, the above 
>> information is still output to the terminal, and not to the text file.
>>
>> If someone could give me an idea why this is being produced, I would be very 
>> grateful!  Many thanks,
>>
>> Katie Leonard
>>
>> DPhil student in Computational Biology,
>> The University of Oxford.
>> _______________________________________________
>> dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii
>
>
> _______________________________________________
> dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii



-- 
Guido Kanschat, Department of Mathematics, Texas A&M University

In accordance with the Texas Public Information Act all email sent to
and from my Texas A&M email account can be obtained through a Public
Information Request. If you do not want your correspondence public,
please arrange a phone conversation with me.
_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii

Reply via email to