Skip to Content.
Sympa Menu

forum - Re: [abinit-forum] How to print to file?

forum@abinit.org

Subject: The ABINIT Users Mailing List ( CLOSED )

List archive

Re: [abinit-forum] How to print to file?


Chronological Thread 
  • From: Marcelo Maia Garcia <mmgarcia@macbeth.if.usp.br>
  • To: verstraete@pcpm.ucl.ac.be
  • Cc: forum@abinit.org
  • Subject: Re: [abinit-forum] How to print to file?
  • Date: Tue, 5 Oct 2004 14:33:30 -0300 (EST)

>
> > Hi.
> Hi
Hi
> make sure you have the right ab_out unit number, though.

Ops... The variable 'ab_out' in defs_basis is system dependent? The
line is:
(...)
integer, parameter :: ab_out=7
(...)

>
> > and
> > write (6, *) xxxxx
> This should always write to the log; I use write (*,*) because 6 may have
> been re-directed or associated to some other file.
>
> > but nothing is printed in ab_out (output file) nor in "log" file.
> strange

What I do is:

subroutine mysub(...)

write (6 ,*) 'print mysub'
(...)

the after the run, I search for 'mysub' with grep in the log file.

Marcelo





Archive powered by MHonArc 2.6.16.

Top of Page