Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Uploading a small program

Don_O
Beginner
854 Views

Practice run.  I have a problem to submit to the Forum later, but FIRST wanted to try and paste/upload a small program.

[fortran]!  helloworld.f90

program helloworld

implicit none

write (*,*) 'Hello World'

end program helloworld [/fortran]

Printout # 1

Height       Maximum Error

  (km)                (mm)

 

 380000           0.000285

   36000           0.000038

   20000           0.000019

   10000           0.000014

     5000           0.000009

     1000           0.000006

       500           0.000005

       100           0.000005

         50           0.000005

         10           0.000006

        -10           0.000005

       -50           0.000005

      -100           0.000005

      -500           0.000004

    -1000           0.000005

    -2000           0.000004

    -3000           0.000004

    -4000           0.000005

 

0 Kudos
4 Replies
SergeyKostrov
Valued Contributor II
854 Views
>>... I have a problem to submit to the Forum... What problem(s) did you have? Was it with submittion of source files, or something else?
0 Kudos
Don_O
Beginner
854 Views

Hi Sergey, it was an unrelated problem and I've put it aside for the moment.

Regarding the different ways of putting information in messages, I will try and upload that "helloworld" program again - after typing this message.

So I really have only one question left: What is the best way to insert an output data printout of 20 lines or so, like the one I put in my original post? I had moved that short printout from a Notepad file "temp.out" to a Word file "temp.docx" and then pasted it via the "Word" icon on the toolbar above. It's not a big deal but I'd like to make the printout more "compact" in the future, if there is any way to do it.

Don 

          

0 Kudos
IanH
Honored Contributor III
854 Views

I find the plain syntax highlighting (see the instructions underneath the edit box) useful for that.

[plain]

Height       Maximum Error

  (km)                (mm)

 

 380000           0.000285

   36000           0.000038

   20000           0.000019

   10000           0.000014

     5000           0.000009

     1000           0.000006

       500           0.000005

       100           0.000005

[/plain]

The forum gets a bit confused about line endings/line spacing occasionally.

0 Kudos
Don_O
Beginner
854 Views

Thanks Ian!  That is very compact and much closer to what I was aiming for.

Don

0 Kudos
Reply