<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Thank you very much in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ERROR-Syntax-error-found/m-p/1084571#M122720</link>
    <description>&lt;P&gt;Thank you very much&lt;BR /&gt;
	I had a little thought about my knowlodge in Fortran&lt;BR /&gt;
	Clearly I was wrong&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Thanks again..&lt;/P&gt;</description>
    <pubDate>Wed, 21 Sep 2016 14:42:51 GMT</pubDate>
    <dc:creator>Noele_L_</dc:creator>
    <dc:date>2016-09-21T14:42:51Z</dc:date>
    <item>
      <title>ERROR - Syntax error, found....</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ERROR-Syntax-error-found/m-p/1084561#M122710</link>
      <description>&lt;P&gt;I have this error and &lt;SPAN id="ouHighlight__0_9TO0_6"&gt;my code&lt;/SPAN&gt;&lt;SPAN id="noHighlight_0.6849174792719902"&gt; &lt;/SPAN&gt;&lt;SPAN id="ouHighlight__11_19TO8_14"&gt;is just&lt;/SPAN&gt;&lt;SPAN id="noHighlight_0.7817836632820672"&gt; &lt;/SPAN&gt;&lt;SPAN id="ouHighlight__21_27TO16_20"&gt;below&lt;/SPAN&gt;&lt;SPAN id="noHighlight_0.3514480591798669"&gt;,&lt;/SPAN&gt;&lt;SPAN id="noHighlight_0.2483387396419966"&gt; &lt;/SPAN&gt;&lt;SPAN id="ouHighlight__30_40TO23_33"&gt;can someone&lt;/SPAN&gt;&lt;SPAN id="noHighlight_0.9006337933280935"&gt; &lt;/SPAN&gt;&lt;SPAN id="ouHighlight__42_50TO35_41"&gt;help me&lt;/SPAN&gt;&lt;SPAN id="noHighlight_0.4958644269785911"&gt;?&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;read_co2atm.f90(1): error #5082: Syntax error, found '(' when expecting one of: &amp;lt;END-OF-STATEMENT&amp;gt; ;&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; program read_co2atm(futr_scen, nco2rec, yrco2rec, atmco2rec)&lt;BR /&gt;
	--------------------------^&lt;BR /&gt;
	read_co2atm.f90(21): error #5082: Syntax error, found END-OF-STATEMENT when expecting one of: &amp;lt;REAL_KIND_CON&amp;gt; &amp;lt;REAL_CONSTANT&amp;gt; &amp;lt;DBLPRC_CONSTANT&amp;gt; &amp;lt;DBLPRC_KIND_CON&amp;gt; &amp;lt;QUAPRC_CONSTANT&amp;gt; ...&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OPEN(luco2+1, FILE='splmlo_co2_noces.dat', FORM='formatted',&lt;BR /&gt;
	--------------------------------------------------------------------^&lt;BR /&gt;
	read_co2atm.f90(22): error #5082: Syntax error, found '&amp;amp;' when expecting one of: &amp;lt;LABEL&amp;gt; &amp;lt;END-OF-STATEMENT&amp;gt; ; TYPE INTEGER REAL COMPLEX BYTE CHARACTER CLASS DOUBLE ...&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; STATUS='old')&lt;BR /&gt;
	------------^&lt;BR /&gt;
	read_co2atm.f90(22): error #5276: Unbalanced parentheses&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; STATUS='old')&lt;BR /&gt;
	------------------------^&lt;BR /&gt;
	read_co2atm.f90(22): error #5082: Syntax error, found ')' when expecting one of: &amp;lt;END-OF-STATEMENT&amp;gt; ;&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; STATUS='old')&lt;BR /&gt;
	------------------------^&lt;BR /&gt;
	read_co2atm.f90(33): error #5082: Syntax error, found '&amp;amp;' when expecting one of: &amp;lt;LABEL&amp;gt; &amp;lt;END-OF-STATEMENT&amp;gt; ; TYPE INTEGER REAL COMPLEX BYTE CHARACTER CLASS DOUBLE ...&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; yrco2rec(irec),atmco2rec(irec)&lt;BR /&gt;
	-------------^&lt;BR /&gt;
	read_co2atm.f90(39): error #5082: Syntax error, found END-OF-STATEMENT when expecting one of: &amp;lt;REAL_KIND_CON&amp;gt; &amp;lt;REAL_CONSTANT&amp;gt; &amp;lt;DBLPRC_CONSTANT&amp;gt; &amp;lt;DBLPRC_KIND_CON&amp;gt; &amp;lt;QUAPRC_CONSTANT&amp;gt; ...&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WRITE(*,*) 'Atm. CO2:&amp;nbsp; No. of entries for 1-box atmosphere =',&lt;BR /&gt;
	---------------------------------------------------------------------^&lt;BR /&gt;
	read_co2atm.f90(40): error #5082: Syntax error, found '&amp;amp;' when expecting one of: &amp;lt;LABEL&amp;gt; &amp;lt;END-OF-STATEMENT&amp;gt; ; TYPE INTEGER REAL COMPLEX BYTE CHARACTER CLASS DOUBLE ...&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; nco2rec&lt;BR /&gt;
	------------------^&lt;BR /&gt;
	compilation aborted for read_co2atm.f90 (code 1)&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;My code&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; program read_co2atm(futr_scen, nco2rec, yrco2rec, atmco2rec)&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IMPLICIT NONE&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; INTEGER maxrec, nmxr&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PARAMETER (maxrec=1200, nmxr=700)&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; REAL yrco2rec(maxrec), atmco2rec(maxrec)&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; INTEGER luco2, irec&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; INTEGER nco2rec&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; INTEGER is, ireadf&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; INTEGER nsipl, nstab&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; REAL futco2(nmxr,8)&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; REAL dummy&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CHARACTER*4 futr_scen&lt;/P&gt;

&lt;P&gt;&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; luco2=50&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OPEN(luco2+1, FILE='splmlo_co2_noces.dat', FORM='formatted',&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; STATUS='old')&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WRITE(*,*)'&amp;nbsp; '&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WRITE(*,*)'--------------------------------------------------'&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WRITE(*,*)'Atm. CO2 from fit to Siple-Mauna Loa record'&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WRITE(*,*)'--------------------------------------------------'&lt;/P&gt;

&lt;P&gt;&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DO irec=1,maxrec&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; READ(luco2+1,*,ERR=222,END=222)&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; yrco2rec(irec),atmco2rec(irec)&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; nco2rec = irec&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; END DO&lt;/P&gt;

&lt;P&gt;&amp;nbsp;222&amp;nbsp;&amp;nbsp; CONTINUE&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WRITE(*,*) 'Atm. CO2:&amp;nbsp; No. of entries for 1-box atmosphere =',&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;amp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; nco2rec&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CLOSE(luco2+1)&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RETURN&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; END&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Sep 2016 17:22:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ERROR-Syntax-error-found/m-p/1084561#M122710</guid>
      <dc:creator>Noele_L_</dc:creator>
      <dc:date>2016-09-20T17:22:01Z</dc:date>
    </item>
    <item>
      <title>The Program statement should</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ERROR-Syntax-error-found/m-p/1084562#M122711</link>
      <description>&lt;OL&gt;
	&lt;LI&gt;The Program statement should not have an argument list.&lt;/LI&gt;
	&lt;LI&gt;Most of your lines have seven leading blanks instead of the usual six.&lt;/LI&gt;
	&lt;LI&gt;Continuation marks '&amp;amp;' should be in column-6, but you have them in column-7.&lt;/LI&gt;
	&lt;LI&gt;The main program unit should not contain a RETURN statement&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Sep 2016 18:20:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ERROR-Syntax-error-found/m-p/1084562#M122711</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2016-09-20T18:20:59Z</dc:date>
    </item>
    <item>
      <title>Thanks mecej4</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ERROR-Syntax-error-found/m-p/1084563#M122712</link>
      <description>&lt;P&gt;Thanks mecej4&lt;/P&gt;

&lt;DIV class="textArea" id="destText" style="direction: ltr;"&gt;but now is showing this
	&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;

	&lt;DIV&gt;
		&lt;P&gt;&amp;nbsp;&amp;gt;$ifort read_co2atm.f90&lt;/P&gt;

		&lt;P&gt;&amp;nbsp;/opt/intel/opt/intel/compilers_and_libraries_2016.2.181/linux/compiler/lib/intel64_lin/for_main.o: In function `main':&lt;BR /&gt;
			&amp;nbsp;for_main.c:(.text+0x2a): undefined reference to `MAIN__'&lt;/P&gt;

		&lt;P&gt;&amp;nbsp;&lt;/P&gt;
	&lt;/DIV&gt;
&lt;/DIV&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Sep 2016 18:33:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ERROR-Syntax-error-found/m-p/1084563#M122712</guid>
      <dc:creator>Noele_L_</dc:creator>
      <dc:date>2016-09-20T18:33:54Z</dc:date>
    </item>
    <item>
      <title>Sorry, I overlooked the name</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ERROR-Syntax-error-found/m-p/1084564#M122713</link>
      <description>&lt;P&gt;Sorry, I overlooked the name that you gave the file a suffix of ".f90", which is meant to be used for free-format Fortran source. Your file is fixed-format source, so you should call it "read_co2atm.f".&lt;/P&gt;

&lt;P&gt;Please attach your updated code and state what name you gave to the source file.&lt;/P&gt;

&lt;P&gt;When you attach source code, please do so using the {...} code button on the tool bar, and choose "Fortran".&lt;/P&gt;</description>
      <pubDate>Tue, 20 Sep 2016 18:42:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ERROR-Syntax-error-found/m-p/1084564#M122713</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2016-09-20T18:42:00Z</dc:date>
    </item>
    <item>
      <title>ERROR</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ERROR-Syntax-error-found/m-p/1084565#M122714</link>
      <description>&lt;P&gt;ERROR&lt;/P&gt;

&lt;P&gt;$ifort read_co2atm.f&lt;BR /&gt;
	read_co2atm.f(21): error #5082: Syntax error, found '&amp;amp;' when expecting one of: &amp;lt;REAL_KIND_CON&amp;gt; &amp;lt;REAL_CONSTANT&amp;gt; &amp;lt;DBLPRC_CONSTANT&amp;gt; &amp;lt;DBLPRC_KIND_CON&amp;gt; &amp;lt;QUAPRC_CONSTANT&amp;gt; ...&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OPEN(luco2+1, FILE='splmlo_co2_noces.dat', FORM='formatted', &amp;amp;&lt;BR /&gt;
	-------------------------------------------------------------------^&lt;BR /&gt;
	read_co2atm.f(23): error #5276: Unbalanced parentheses&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; STATUS='old')&lt;BR /&gt;
	-----------------------^&lt;BR /&gt;
	read_co2atm.f(23): error #5082: Syntax error, found ')' when expecting one of: &amp;lt;END-OF-STATEMENT&amp;gt; ;&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; STATUS='old')&lt;BR /&gt;
	-----------------------^&lt;BR /&gt;
	read_co2atm.f(33): error #5082: Syntax error, found '&amp;amp;' when expecting one of: , &amp;lt;REAL_KIND_CON&amp;gt; &amp;lt;REAL_CONSTANT&amp;gt; &amp;lt;DBLPRC_CONSTANT&amp;gt; &amp;lt;DBLPRC_KIND_CON&amp;gt; &amp;lt;QUAPRC_CONSTANT&amp;gt; ...&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; READ(luco2+1,*,ERR=222,END=222) &amp;amp;&lt;BR /&gt;
	--------------------------------------^&lt;BR /&gt;
	read_co2atm.f(34): error #5082: Syntax error, found ',' when expecting one of: =&amp;gt; = . [ % (&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; yrco2rec(irec),atmco2rec(irec)&lt;BR /&gt;
	-------------------------^&lt;BR /&gt;
	read_co2atm.f(40): error #5082: Syntax error, found '&amp;amp;' when expecting one of: &amp;lt;REAL_KIND_CON&amp;gt; &amp;lt;REAL_CONSTANT&amp;gt; &amp;lt;DBLPRC_CONSTANT&amp;gt; &amp;lt;DBLPRC_KIND_CON&amp;gt; &amp;lt;QUAPRC_CONSTANT&amp;gt; ...&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WRITE(*,*) 'Atm. CO2:&amp;nbsp; No. of entries for 1-box atmosphere =', &amp;amp;&lt;BR /&gt;
	---------------------------------------------------------------------^&lt;BR /&gt;
	read_co2atm.f(41): error #5082: Syntax error, found END-OF-STATEMENT when expecting one of: =&amp;gt; = . [ % ( :&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; nco2rec&lt;BR /&gt;
	-----------------------^&lt;BR /&gt;
	compilation aborted for read_co2atm.f (code 1)&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;CODE&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;PRE class="brush:fortran;"&gt;      SUBROUTINE read_co2atm(futr_scen, nco2rec, yrco2rec, atmco2rec)

      IMPLICIT NONE 

      INTEGER maxrec, nmxr
      PARAMETER (maxrec=1200, nmxr=700)

      REAL yrco2rec(maxrec), atmco2rec(maxrec)
      INTEGER luco2, irec
      INTEGER nco2rec
      INTEGER is, ireadf
      INTEGER nsipl, nstab

      REAL futco2(nmxr,8)
      REAL dummy

      CHARACTER*4 futr_scen


      luco2=50
      OPEN(luco2+1, FILE='splmlo_co2_noces.dat', FORM='formatted', &amp;amp;
 
           STATUS='old')

      WRITE(*,*)'  '
      WRITE(*,*)'--------------------------------------------------'
      WRITE(*,*)'Atm. CO2 from fit to Siple-Mauna Loa record'
      WRITE(*,*)'--------------------------------------------------'


      DO irec=1,maxrec

      READ(luco2+1,*,ERR=222,END=222) &amp;amp;
           yrco2rec(irec),atmco2rec(irec)
       nco2rec = irec
      END DO

222   CONTINUE

      WRITE(*,*) 'Atm. CO2:  No. of entries for 1-box atmosphere =', &amp;amp;
                nco2rec

      CLOSE(luco2+1)
      END









&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Sep 2016 18:59:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ERROR-Syntax-error-found/m-p/1084565#M122714</guid>
      <dc:creator>Noele_L_</dc:creator>
      <dc:date>2016-09-20T18:59:10Z</dc:date>
    </item>
    <item>
      <title>Well, you converted the</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ERROR-Syntax-error-found/m-p/1084566#M122715</link>
      <description>&lt;P&gt;Well, you converted the program to a subroutine.&lt;/P&gt;

&lt;P&gt;You used incorrect notation for indicating continuation lines. An '&amp;amp;' character at the end of a line is used to indicate continuation in free-format. In fixed-format, you place one of the acceptable continuation characters in column-6. Please read your Fortran textbook/manual to get these requirements right.&lt;/P&gt;

&lt;P&gt;A subroutine cannot be run by itself. It has to be called by another subprogram or main program. Every program must contain one and only one main program unit and, if needed, any number of subroutine and function subprograms.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Sep 2016 19:04:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ERROR-Syntax-error-found/m-p/1084566#M122715</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2016-09-20T19:04:00Z</dc:date>
    </item>
    <item>
      <title>Dear mecej4</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ERROR-Syntax-error-found/m-p/1084567#M122716</link>
      <description>&lt;P&gt;Dear mecej4&lt;/P&gt;

&lt;P&gt;I was confused and sent the wrong codes...&lt;/P&gt;

&lt;PRE class="brush:fortran;"&gt;PROGRAM try_read_co2atm
C     ------------------------------------------------------------------
C     Test PROGRAM to READ historical atmospheric CO2 (uatm)
C 
      IMPLICIT NONE 

      INTEGER maxrec, nmxr
      PARAMETER (maxrec=1200, nmxr=700)

      REAL yrco2rec(maxrec), atmco2rec(maxrec)
      INTEGER luco2, irec
      INTEGER nco2rec
      INTEGER is, ireadf
      INTEGER nsipl, nstab

      REAL futco2(nmxr,8)
      REAL dummy

      CALL read_co2atm('test', nco2rec, yrco2rec, atmco2rec)

      DO irec=1,nco2rec
        WRITE(*,'(2f8.2)') yrco2rec(irec),atmco2rec(irec)
      END DO

      STOP 
      END&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;PRE class="brush:fortran;"&gt;SUBROUTINE read_co2atm(futr_scen, nco2rec, yrco2rec, atmco2rec)

      IMPLICIT NONE 

      INTEGER maxrec, nmxr
      PARAMETER (maxrec=1200, nmxr=700)

      REAL yrco2rec(maxrec), atmco2rec(maxrec)
      INTEGER luco2, irec
      INTEGER nco2rec
      INTEGER is, ireadf
      INTEGER nsipl, nstab

      REAL futco2(nmxr,8)
      REAL dummy

      CHARACTER*4 futr_scen

C     OPEN FILE
C     ---------
      luco2=50
      OPEN(luco2+1, FILE='splmlo_co2_noces.dat', FORM='formatted', 
     &amp;amp;     STATUS='old')
C     --------------------------
C     Get atmospheric CO2 data
C     --------------------------
      WRITE(*,*)'  '
      WRITE(*,*)'--------------------------------------------------'
      WRITE(*,*)'Atm. CO2 from fit to Siple-Mauna Loa record'
      WRITE(*,*)'--------------------------------------------------'

C     ----------------------------------
C     READ historical co2 concentrations
C     ----------------------------------
C     READ(luco2+1,200)
C 200  FORMAT(////)

      DO irec=1,maxrec
C           Read from splco2.dat (historical emissions)
        READ(luco2+1,*,ERR=222,END=222)
     &amp;amp;      yrco2rec(irec),atmco2rec(irec)
        nco2rec = irec
      END DO

 222  CONTINUE

       WRITE(*,*) 'Atm. CO2:  No. of entries for 1-box atmosphere =',
     &amp;amp;            nco2rec

      CLOSE(luco2+1)

      RETURN
      END
 &lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Sep 2016 01:19:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ERROR-Syntax-error-found/m-p/1084567#M122716</guid>
      <dc:creator>Noele_L_</dc:creator>
      <dc:date>2016-09-21T01:19:55Z</dc:date>
    </item>
    <item>
      <title>The program comprising the</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ERROR-Syntax-error-found/m-p/1084568#M122717</link>
      <description>&lt;P&gt;The program comprising the two files that you displayed in #7 compile and link fine. However, I cannot run the program since I do not have the data file that it needs to read.&lt;/P&gt;

&lt;P&gt;Is your problem solved at this point?&lt;/P&gt;</description>
      <pubDate>Wed, 21 Sep 2016 01:47:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ERROR-Syntax-error-found/m-p/1084568#M122717</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2016-09-21T01:47:10Z</dc:date>
    </item>
    <item>
      <title>Not yet..</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ERROR-Syntax-error-found/m-p/1084569#M122718</link>
      <description>&lt;P&gt;Not yet..&lt;/P&gt;

&lt;P&gt;Now I have this&lt;/P&gt;

&lt;P&gt;$ ifort try_read_co2atm.f&lt;BR /&gt;
	/tmp/iforteO9RD2.o: In function `MAIN__':&lt;BR /&gt;
	try_read_co2atm.f:(.text+0x51): undefined reference to `read_co2atm_'&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Sep 2016 13:51:37 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ERROR-Syntax-error-found/m-p/1084569#M122718</guid>
      <dc:creator>Noele_L_</dc:creator>
      <dc:date>2016-09-21T13:51:37Z</dc:date>
    </item>
    <item>
      <title>You need to specify all the</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ERROR-Syntax-error-found/m-p/1084570#M122719</link>
      <description>&lt;P&gt;You need to specify all the sources needed. If your subroutine is in a file that you named&amp;nbsp;read_co2atm.f, the command to compile and link would be&lt;/P&gt;

&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;$ ifort try_read_co2atm.f read_co2atm.f&lt;/P&gt;

&lt;P&gt;If you had more subroutines/functions in more source files, and those routines are needed to run your program, you should have listed all of them, as well.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Sep 2016 14:31:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ERROR-Syntax-error-found/m-p/1084570#M122719</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2016-09-21T14:31:56Z</dc:date>
    </item>
    <item>
      <title>Thank you very much</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ERROR-Syntax-error-found/m-p/1084571#M122720</link>
      <description>&lt;P&gt;Thank you very much&lt;BR /&gt;
	I had a little thought about my knowlodge in Fortran&lt;BR /&gt;
	Clearly I was wrong&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Thanks again..&lt;/P&gt;</description>
      <pubDate>Wed, 21 Sep 2016 14:42:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ERROR-Syntax-error-found/m-p/1084571#M122720</guid>
      <dc:creator>Noele_L_</dc:creator>
      <dc:date>2016-09-21T14:42:51Z</dc:date>
    </item>
    <item>
      <title>I am unable to get my results</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ERROR-Syntax-error-found/m-p/1084572#M122721</link>
      <description>&lt;P&gt;I am unable to get my results from this code and I cant understand what are the errors can someone correct my code?&lt;/P&gt;&lt;P&gt;thankyou&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;! program to trace the path of a charged particle under certain magnetic field&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; program tracer&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; implicit none&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; real*8 etahe,etaox,alphastar,KE,omega,t,k,Bx&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; !initial values&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; ke=ke*2*10**6*e&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; omega=0.001&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; t=0&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; k=0.21&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; etahe = 0.2&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; etaox=0&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; alpstar=0.01&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; x=0.24&lt;/P&gt;&lt;P&gt;!dispersion relation to obtain wave vector(number) k&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; eps1=(1/alphastar*eps)*[(1-etahe-etaox)/(1-x**2)+4*etahe/(1-4**2*&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;amp;x**2)+16*etaox/(1-16**2*x**2)]&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; eps2=(1/alphastar*eps*x)*[1-(1-etahe-etaox)/(1-x**2)+etahe/&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;amp;(1-4**2*x**2)-etaox/(1-16**2*x**2)]&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; eps3=-(1/alphastar*eps**2*x**2)&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; n**2=1/2*(cos(theta))**2*(eps1*(1+(cos(theta))**2))+sqrt(eps1**2*&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;amp;(1-(cos(theta))**2)+4*eps2**2*(cos(tehta)**2))&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;BR /&gt;! Normalization of equations&lt;BR /&gt;!choice of normalization&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; KE=KE/mc**2&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; ω=ω/Ωeo&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; t=tΩeo&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; k=kc/Ωeo&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Bx=Bx/Bzo&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; E=E/cBzo&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; p=p/mc&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; x=x/(c/Ωeo)&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; y=y/(c/Ωeo)&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; z=z/(c/Ωeo)&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; pꞌ⊥o=sqrt(KE**2+2KE)&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; pꞌzo=sqrt(KE**2+2KE)&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; γ=KE+1&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp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&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; !evolution of pitch angle&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; cos(alpha)=pz/sqrt(pz**2+p⊥**2)&lt;BR /&gt;!runge-kutta subroutine&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;BR /&gt;!------------------------------------------------&lt;BR /&gt;!&amp;nbsp;&amp;nbsp; &amp;nbsp;Classical 4th-order Runge-Kutta method(OK)&lt;BR /&gt;!------------------------------------------------&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;SUBROUTINE rk4(y,x,h,derivs)&lt;BR /&gt;!----------------------------------&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;include "data.inc"&lt;BR /&gt;!----------------------------------&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;REAL*8 h,x,dydx(ndim,nv),y(ndim,nv)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;EXTERNAL derivs&lt;BR /&gt;! Given values for the variables y(1:n) and their derivatives dydx(1:n) known at x, use&lt;BR /&gt;! the fourth-order Runge-Kutta method to advance the solution over an interval h and return&lt;BR /&gt;! the incremented variables as yout(1:n), which need not be a distinct array from y. The&lt;BR /&gt;! user supplies the subroutine derivs(x,y,dydx), which returns derivatives dydx at x.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;INTEGER i,j&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;REAL*8 h6,hh,xh,dym(ndim,nv),dyt(ndim,nv),yt(ndim,nv)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;hh=h*0.5&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;h6=h/6.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;xh=x+hh&lt;BR /&gt;!----------------------------------------------&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;call derivs(x,y,dydx) &amp;nbsp;! First step&lt;BR /&gt;!----------------------------------------------&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;do 10 j=1,nv&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;do 10 i=1,ndim&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;yt(i,j)=y(i,j)+hh*dydx(i,j)&lt;BR /&gt;10&amp;nbsp;&amp;nbsp; &amp;nbsp;continue&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;call derivs(xh,yt,dyt) ! Second step&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;do 11 j=1,nv&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;do 11 i=1,ndim&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;yt(i,j)=y(i,j)+hh*dyt(i,j)&lt;BR /&gt;11&amp;nbsp;&amp;nbsp; &amp;nbsp;continue&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;call derivs(xh,yt,dym) ! Third step&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;do 12 j=1,nv&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;do 12 i=1,ndim&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;yt(i,j)=y(i,j)+h*dym(i,j)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;dym(i,j)=dyt(i,j)+dym(i,j)&lt;BR /&gt;12&amp;nbsp;&amp;nbsp; &amp;nbsp;continue&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;call derivs(x+h,yt,dyt) ! Fourth step&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;do 13 j=1,nv &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;! Accumulate increments with proper weights&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;do 13 i=1,ndim&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;y(i,j)=y(i,j)+h6*(dydx(i,j)+dyt(i,j)+2.*dym(i,j))&lt;BR /&gt;13&amp;nbsp;&amp;nbsp; &amp;nbsp;continue&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;return&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;END&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; ! before obtianing re-genaralize the equations&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; KE=KE*mc**2&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; ω=ω*Ωeo&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; t=t/Ωeo&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; k=k*Ωeo/c&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Bx=Bx*Bzo&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; E=E*cBzo&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; p=p*mc&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; x=x*(c/Ωeo)&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; y=y*(c/Ωeo)&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; z=z*(c/Ωeo)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;!results&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; open(1,file='my_code_output.txt',status='new')&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; read(1,*)x&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; write(*,*)x&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; read(1,*)y&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; write(*,*)y&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; read(1,*)z&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; write(*,*)z&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; read(1,*)location&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; write(*,*)location&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; read(1,*)p⊥&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; write(*,*)p⊥&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; read(1,*)pz&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; write(*,*)pz&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; pitch angle&amp;nbsp;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; x, y, z location&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;pㅗ&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;p//&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Apr 2020 08:15:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ERROR-Syntax-error-found/m-p/1084572#M122721</guid>
      <dc:creator>muzammil__muhammad</dc:creator>
      <dc:date>2020-04-14T08:15:18Z</dc:date>
    </item>
    <item>
      <title>Large parts of your "code"</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ERROR-Syntax-error-found/m-p/1084573#M122722</link>
      <description>&lt;P&gt;Large parts of your "code" are not Fortran at all. Simply listing equations will not result in their getting solved. You have a subroutine, RK4, which presumably integrates ODEs. However, that subroutine is never called from any of the lines that you showed.&lt;/P&gt;&lt;P&gt;Please take a course in Fortran and numerical methods, or learn the required material by reading textbooks and online tutorials.&lt;/P&gt;&lt;P&gt;Let's look at the last part of your "code". You open a file with STATUS='NEW'; this action, if it succeeds, will create a new file with no contents. You then attempt to read from that file, but there is nothing in the file to read!&lt;/P&gt;&lt;P&gt;Mathematical symbols such as&amp;nbsp;ㅗ cannot be used in variable names.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Apr 2020 00:53:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ERROR-Syntax-error-found/m-p/1084573#M122722</guid>
      <dc:creator>mecej4</dc:creator>
      <dc:date>2020-04-15T00:53:00Z</dc:date>
    </item>
    <item>
      <title>' cannot be use as symbol</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ERROR-Syntax-error-found/m-p/1084574#M122723</link>
      <description>&lt;P&gt;' cannot be use as symbol constituent. 'this is text' "in addition to this"&lt;/P&gt;&lt;P&gt;Jim Dempsey&lt;/P&gt;</description>
      <pubDate>Wed, 15 Apr 2020 13:14:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ERROR-Syntax-error-found/m-p/1084574#M122723</guid>
      <dc:creator>jimdempseyatthecove</dc:creator>
      <dc:date>2020-04-15T13:14:13Z</dc:date>
    </item>
    <item>
      <title>There are very many sample of</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/ERROR-Syntax-error-found/m-p/1084575#M122724</link>
      <description>&lt;P&gt;There are very many sample of ODE solvers on the web with many manuals.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you are able to do the math for&amp;nbsp;program to trace the path of a charged particle under certain magnetic field - then learning&amp;nbsp;Fortran is simple and really you should have learnt to program before you got to a physics course that set a problem such as&amp;nbsp; --&amp;nbsp;program to trace the path of a charged particle under certain magnetic field&amp;nbsp;&lt;/P&gt;&lt;P&gt;Usually in the academic world you are expected to do your own work --&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Apr 2020 17:10:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/ERROR-Syntax-error-found/m-p/1084575#M122724</guid>
      <dc:creator>JohnNichols</dc:creator>
      <dc:date>2020-04-15T17:10:15Z</dc:date>
    </item>
  </channel>
</rss>

