[Getdp] Options for Print[ ] command (Resolution block) not working ?

Frederic Trillaud Pighi ftrillaudp at pumas.ii.unam.mx
Mon Feb 1 16:24:09 CET 2016


Dear Guillaume,

You should provide the code for the people to be able to get a clear view of the problem if there is any. The idea is to see as well if someone can reproduce the error.

Best,

Frederic


> On Feb 1, 2016, at 06:05, DILASSER Guillaume <Guillaume.DILASSER at cea.fr> wrote:
> 
> Hello everyone,
>  
> I might have come across a bug with GetDP, yet I want to be sure it is not a mistake of mine before I open a ticket.
>  
> I am running GetDP 2.6.1 on Windows 8.1 64 bits and I encounter a problem with the Print[ ] command inside of the Resolution definition block. Basically, I want to output the residue of my equation ($Res) and the number of non-linear iterations of the solver ($NlIter) in a log file. I tried the Print[ {expression-list}  <, File expression>  <, Format expression> ] command inside the resolution block to do that, like this : Print[ { $Res , $NlIter } , File “myfile.txt” , Format “%14.12e %3.0f ” ]. With no options or just one from the two available (either File or Format) it works fine but with both the functions doesn’t work : it still creates the output file if it does not exist but it writes nothing inside of it. Note that for Format option I have tried %f, %e, %g and various other codes, none of them working.
>  
> Can someone confirm that this is a bug ?
>  
> Guillaume DILASSER
> Doctorant SACM / LEAS
> CEA - Centre de Saclay - Bât.123 - PC 319c
> 91191 Gif sur Yvette Cedex - France -
>  
> guillaume.dilasser at cea.fr <mailto:guillaume.dilasser at cea.fr>
>  
> _______________________________________________
> getdp mailing list
> getdp at onelab.info <mailto:getdp at onelab.info>
> http://onelab.info/mailman/listinfo/getdp <http://onelab.info/mailman/listinfo/getdp>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://onelab.info/pipermail/getdp/attachments/20160201/75445ff7/attachment.html>


More information about the getdp mailing list