Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [photran] about WRITE

Dear Sir

Thank you! I see.

------------------------------

Zhisheng DENG

Senior Chief Engineer
Simulation Development Section
Advanced Technology Development Center

TDK Corporation
Technology HQ
2-15-7,Higashi-Ohwada,Ichikawa-shi,
Chiba,272-8558 Japan
TEL : 81-47-378-7545
FAX : 81-47-378-9178
e-mail: zsdeng@xxxxxxxxxx





送信元:
Walt Brainerd <walt.brainerd@xxxxxxxxx>
宛先:
Photran Information <photran@xxxxxxxxxxx>
日付:
2014/03/17 23:38
件名:
Re: [photran] about WRITE
送信者:
photran-bounces@xxxxxxxxxxx



Creating FORT.10 for you when you do a WRITE
is a compiler extension (not required by the
standard).

You should execute an OPEN statement first:

   open(unit=10, file="my_fortran_10", <other options> )

See documentation of a book for information on
the other options: position, action, status, etc.


On Sun, Mar 16, 2014 at 11:14 PM, <zsdeng@xxxxxxxxxx> wrote:
Dear Sir

I have a question about "WRITE".

Now, I am using PHOTRAN on ECLIPSE. I would like to output some data using
WRITE as shown as below.

        .......................

        WRITE (10, *)  A, B, C

       ........................

After BUILD, I can get a .EXE file.  If I run the EXE file in CND command
line. I can get a file as FORT.10.

But, When I run it on ECLIPSE, I cannot get any output file, and also I
cannot find any error. Why? Where went the FORT.10?

Please teach me about PHOTRAN + ECLIPSE.

BR
------------------------------

Zhisheng DENG

Senior Chief Engineer
Simulation Development Section
Advanced Technology Development Center

TDK Corporation
Technology HQ
2-15-7,Higashi-Ohwada,Ichikawa-shi,
Chiba,272-8558 Japan
TEL : 81-47-378-7545
FAX : 81-47-378-9178
e-mail: zsdeng@xxxxxxxxxx


_______________________________________________
photran mailing list
photran@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/photran



-- 
Walt Brainerd _______________________________________________
photran mailing list
photran@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/photran





Back to the top