Output in Fortran
Arjen Markus
arjen.markus895@gmail.com
Thu Jan 31 14:15:00 GMT 2013
Hello,
this type of questions is better posed on, say, comp.lang.fortran.
The mailing list you have used is for discussing the gfortran compiler
itself, not the use of
Fortran as a language.
However, your question lacks information which makes it difficult to
answer it in whatever
mailing list or newsgroup: you do not tell us what happens on your
system. Does the program
continue without writing the file? Do you get an error message and it stops?
It looks like you open the file with each iteration, just open it
once. But as you do not tell
what other symptoms there, this may not be the cause of the problem.
Regards,
Arjen
2013/1/31 mp22222222222 <mina.pouya@gmail.com>:
>
> Hi everybody,
>
> am trying to make an output in a text file in my Fortran VUMAT file.
> it works well, when by writting the output on the screen :
> WRITE(*,*) 'Gamma=MVf=', gamma
> but when i want it to write the variable gamma in a text file, the code is
> running well but there is no .txt file produced!
>
> here is my main loop where i tried to write the output request.
>
> 2000 continue
> call elastic(x,celas,c2,cdach,smises,e,xnu,emoda,
> & emodm,enua,enum,totstrain,gamma,detrans)
> OPEN(UNIT=12,FILE="MVolFrac.txt",status='new',ACTION="write")
> WRITE(12,*)'Gamma=MVf=',gamma
>
> Does anybody have any idea regarding this problem ?
> --
> View this message in context: http://old.nabble.com/Output-in-Fortran-tp34967255p34967255.html
> Sent from the gcc - fortran mailing list archive at Nabble.com.
>
More information about the Fortran
mailing list