Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

Fixed Form Line Length

George_Kardomateas
1,160 Views

Up to now I wasusing theDigital Visual Fortran and my codes have long lines. In Digital Fotran this was no problem,I would go to Settingsthen Fotran Language and then set the Fixed Form Line Length to 132. I just installed the Intel Visual Fortan and my codes have too long lines for the Intel Fortran. Can someone tell me how to increase the Line Length in theIntel Fortran?

0 Kudos
6 Replies
TimP
Honored Contributor III
1,160 Views
The same option is available, if not as a separate project setting, in the Command line options. It's generally considered preferable to adapt to free form when you require long lines.
0 Kudos
Steven_L_Intel1
Employee
1,160 Views
It is also a project setting: Fortran > Language > Fixed Form Line Length. It's really the same as in CVF.
0 Kudos
George_Kardomateas
1,160 Views
Thanks so much Steve! One more question, which may seem too basic, but it is the first time I use the Intel Fortran. After the "Build" how do you run the code? In the Digital Fortran there was an "Execute ....exe" menu choice.
0 Kudos
abhimodak
New Contributor I
1,160 Views

Hi George

(1) To execute use the dropdwon menu: Debug --> Start Debugging or Debug --> Start Without Debugging.

(2) The keyboard shortcuts for these are F5 and ctrl+F5, respectively.

(3) You can also add the debug Toolbar. For that use dropdown menu View --> Toolbar --> and make sure that Debug is checked. In the default toolbar there is no Start Without Debugging. You can use Tools --> Customize and then from command tab drag and drop the "Start Without Debugging" to the toolbar.

Abhi

0 Kudos
qolin
Novice
1,160 Views

Its also a compiler directive:

!dec$ fixedformlinesize: 132

Available sizes are 80 or 132 (at least they were in CVF).

0 Kudos
George_Kardomateas
1,160 Views
Thank you Abhi, this is really very helpful!
0 Kudos
Reply