forum@abinit.org
Subject: The ABINIT Users Mailing List ( CLOSED )
List archive
- From: Clovis Darrigan <clovis.darrigan@univ-pau.fr>
- Cc: forum@abinit.org
- Subject: Re: [abinit-forum] How to print to file?
- Date: Tue, 5 Oct 2004 18:11:36 +0200
Sometimes, a "write" doesn't write... because the write buffer is not full.but nothing is printed in ab_out (output file) nor in "log" file.strange
You can force the buffer to be flushed on a file by using the "flush" function with the logic number of the file as an argument, look :
write(ab_out,*) "hello"
call flush(ab_out)
Well, don't put flush function after each write of a big program, because it could slow down the program.
Bye
Clovis.
- How to print to file?, Marcelo Maia Garcia, 10/05/2004
- Re: [abinit-forum] How to print to file?, verstraete, 10/05/2004
- Re: [abinit-forum] How to print to file?, Clovis Darrigan, 10/05/2004
- Re: [abinit-forum] How to print to file?, Marcelo Maia Garcia, 10/05/2004
- Re: [abinit-forum] How to print to file?, verstraete, 10/05/2004
Archive powered by MHonArc 2.6.16.