<?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 Fortran common block and Modules in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/Fortran-common-block-and-Modules/m-p/1135187#M80321</link>
    <description>&lt;P&gt;Hello sir,&lt;/P&gt;

&lt;P&gt;I am converting one of the old code F77 in F90. I am encountering a huge number of errors, especially in common block and module.&lt;/P&gt;

&lt;P&gt;I tried it in 3 ways by reading the forum information&lt;/P&gt;

&lt;P&gt;1) I tried to make a static library of module object files but still, I was getting errors that showed that the static library is not linked properly with source files.&lt;/P&gt;

&lt;P&gt;2)&amp;nbsp;&lt;SPAN style="font-size: 13.008px;"&gt;&amp;nbsp;I tried to execute the FORTRAN files of modules in source and it also didn't work.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 13.008px;"&gt;3) I tried to keep the common blocks as it is and still it doesn't work at all. &lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 13.008px;"&gt;I am giving a sample bit of one program:-&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 13.008px;"&gt;&lt;STRONG&gt;one file from the source&amp;nbsp;files:-&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;SUBROUTINE arco(i,flow,*)&lt;/P&gt;

&lt;P&gt;use &amp;nbsp;param1&lt;BR /&gt;
	use &amp;nbsp;parampch&amp;nbsp;&lt;BR /&gt;
	use &amp;nbsp;array2&lt;BR /&gt;
	use &amp;nbsp;flag&lt;BR /&gt;
	use &amp;nbsp;CONSTNT&lt;BR /&gt;
	use &amp;nbsp;factlim&lt;BR /&gt;
	use &amp;nbsp;array1&lt;BR /&gt;
	use &amp;nbsp;options1&lt;/P&gt;

&lt;P&gt;&lt;BR /&gt;
	! Code converted using TO_F90 by Alan Miller&lt;BR /&gt;
	! Date: 2017-06-01 &amp;nbsp;Time: 21:33:28&lt;BR /&gt;
	IMPLICIT NONE&lt;BR /&gt;
	INTEGER, INTENT(IN OUT) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;:: i&lt;BR /&gt;
	REAL, INTENT(IN) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; :: flow&lt;BR /&gt;
	!integer:: nsubr,ji2,kopt,ji1&lt;BR /&gt;
	!real:: rholim,dp(5000),area(5000)&lt;/P&gt;

&lt;P&gt;!INTENT(IN) &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; :: *&lt;/P&gt;

&lt;P&gt;!=====================================================================&lt;BR /&gt;
	!=====================================================================&lt;BR /&gt;
	! &amp;nbsp; &amp;nbsp;&amp;lt;NAME&amp;gt;&lt;BR /&gt;
	! &amp;nbsp; &amp;nbsp; ARCO&lt;/P&gt;

&lt;P&gt;! &amp;nbsp; &amp;nbsp;&amp;lt;DESCRIPTION&amp;gt;&lt;BR /&gt;
	! &amp;nbsp; &amp;nbsp; THIS SUBROUTINE CALCULATES THE FLOW VARIABLES ACROSS&lt;BR /&gt;
	! &amp;nbsp; &amp;nbsp; AN ABRUPT AREA CHANGE.&lt;/P&gt;

&lt;P&gt;!=====================================================================&lt;BR /&gt;
	!=====================================================================&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;INTEGER :: ik&lt;/P&gt;

&lt;P&gt;REAL &amp;nbsp; &amp;nbsp;:: rho1, fflow, beta2, rkf, phsq, phisq&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;BR /&gt;
	IF(nsubr == 1)THEN&lt;BR /&gt;
	&amp;nbsp; rho(i,ji2) = rho(i-1,ji2)&lt;BR /&gt;
	&amp;nbsp; fflow &amp;nbsp; &amp;nbsp; &amp;nbsp;= flow&lt;BR /&gt;
	ELSE&lt;BR /&gt;
	&amp;nbsp; fflow &amp;nbsp; &amp;nbsp; &amp;nbsp;= rho(i-1,ji2)*u(i-1,ji2)*area(i-1)&lt;BR /&gt;
	&amp;nbsp; rho(i,ji2) = rho(i,ji1)&lt;BR /&gt;
	END IF&lt;/P&gt;

&lt;P&gt;DO &amp;nbsp;ik=1,500&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&lt;BR /&gt;
	&amp;nbsp; u(i,ji2) &amp;nbsp; = fflow/area(i)/rho(i,ji2)&lt;BR /&gt;
	!------EXPANSION---------------------&lt;BR /&gt;
	&amp;nbsp; IF(area(i-1) &amp;lt; area(i))THEN&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; beta2 = area(i-1)/area(i)&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; rkf = (1.- beta2)**2&lt;BR /&gt;
	&amp;nbsp; ELSE&lt;BR /&gt;
	!------CONTRACTION-------------------&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; beta2 = area(i)/area(i-1)&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; rkf = 0.5*(1.-beta2 )/beta2**2&lt;BR /&gt;
	&amp;nbsp; END IF&lt;BR /&gt;
	! &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Function PHISQ requires two parameters, assume JI2 is&lt;BR /&gt;
	! &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; the second parameter&lt;BR /&gt;
	&amp;nbsp; phsq = phisq(i-1,ji2)&lt;BR /&gt;
	&amp;nbsp; rkf = rkf*phsq*rho(i-1,ji2)/rhof(i-1,ji2)&lt;BR /&gt;
	&amp;nbsp; rkf = rkf * kopt&lt;BR /&gt;
	&amp;nbsp; p(i,ji2) &amp;nbsp; &amp;nbsp;= p(i-1,ji2)+2.*fflow*((1.-rkf/2.)*u(i-1,ji2)- &amp;nbsp;&amp;amp;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; u(i,ji2))/(area(i-1)+area(i))&lt;BR /&gt;
	&amp;nbsp; h(i,ji2) &amp;nbsp; &amp;nbsp;= h(i-1,ji2) + 0.5*(u(i-1,ji2)**2-u(i,ji2)**2)&lt;BR /&gt;
	&amp;nbsp; CALL stprop(p(i,ji2),h(i,ji2),i,rho1)&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&lt;BR /&gt;
	&amp;nbsp; IF( ik &amp;gt; 1 .AND. ABS(rho1-rho(i,ji2)) &amp;lt; rholim)THEN&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; GO TO 200&lt;BR /&gt;
	&amp;nbsp; ELSE&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; rho(i,ji2) = rho1&lt;BR /&gt;
	&amp;nbsp; END IF&lt;BR /&gt;
	END DO&lt;/P&gt;

&lt;P&gt;200 &amp;nbsp; CONTINUE&lt;BR /&gt;
	rho(i,ji2) = rho1&lt;BR /&gt;
	alfa(i,ji2)= xqu(i,ji2)*rho1/rhog(i,ji2)&lt;BR /&gt;
	alfa(i,ji2)= MAX(0.,alfa(i,ji2))&lt;BR /&gt;
	dp(i-1) &amp;nbsp; &amp;nbsp;= p(i,ji2) - p(i-1,ji2)&lt;BR /&gt;
	RETURN&lt;/P&gt;

&lt;P&gt;300 &amp;nbsp; CONTINUE&lt;BR /&gt;
	RETURN 1&lt;/P&gt;

&lt;P&gt;END SUBROUTINE arco&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;The modules used in the program are as follows&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Module array1&lt;BR /&gt;
	use param1&lt;BR /&gt;
	use parampch&lt;BR /&gt;
	INTEGER :: ncode(nodemx), ncorsb(nodemx)&lt;BR /&gt;
	Real :: area(nodemx), &amp;nbsp; di(nodemx), &amp;nbsp; &amp;nbsp; dx(nodemx), &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;amp;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; eqdiam(nodemx), v(nodemx), &amp;nbsp; &amp;nbsp; &amp;nbsp;rk(nodemx), &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;amp;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; ck(nodemx),ruff(nodemx),dp(nodemx),vstar(nodemx),rstar(nodemx), &amp;nbsp;&amp;amp;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; sth(nodemx),sq(nodemx), nb(nodemx), &amp;amp;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; farray(nodemx)&lt;BR /&gt;
	real::burnpow&lt;BR /&gt;
	Real:: sumdxch(nodemx,nchanx) , fa(nodemx,nchanx)&lt;BR /&gt;
	integer:: ji1,ji2&lt;/P&gt;

&lt;P&gt;End Module array1&lt;/P&gt;

&lt;P&gt;Param1 and parampch modules have the variables "nodemx ", "nchanx" declared as parameters.&lt;/P&gt;</description>
    <pubDate>Sun, 25 Jun 2017 20:03:42 GMT</pubDate>
    <dc:creator>Dhanashree_G_</dc:creator>
    <dc:date>2017-06-25T20:03:42Z</dc:date>
    <item>
      <title>Fortran common block and Modules</title>
      <link>https://community.intel.com/t5/Software-Archive/Fortran-common-block-and-Modules/m-p/1135187#M80321</link>
      <description>&lt;P&gt;Hello sir,&lt;/P&gt;

&lt;P&gt;I am converting one of the old code F77 in F90. I am encountering a huge number of errors, especially in common block and module.&lt;/P&gt;

&lt;P&gt;I tried it in 3 ways by reading the forum information&lt;/P&gt;

&lt;P&gt;1) I tried to make a static library of module object files but still, I was getting errors that showed that the static library is not linked properly with source files.&lt;/P&gt;

&lt;P&gt;2)&amp;nbsp;&lt;SPAN style="font-size: 13.008px;"&gt;&amp;nbsp;I tried to execute the FORTRAN files of modules in source and it also didn't work.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 13.008px;"&gt;3) I tried to keep the common blocks as it is and still it doesn't work at all. &lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 13.008px;"&gt;I am giving a sample bit of one program:-&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 13.008px;"&gt;&lt;STRONG&gt;one file from the source&amp;nbsp;files:-&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;SUBROUTINE arco(i,flow,*)&lt;/P&gt;

&lt;P&gt;use &amp;nbsp;param1&lt;BR /&gt;
	use &amp;nbsp;parampch&amp;nbsp;&lt;BR /&gt;
	use &amp;nbsp;array2&lt;BR /&gt;
	use &amp;nbsp;flag&lt;BR /&gt;
	use &amp;nbsp;CONSTNT&lt;BR /&gt;
	use &amp;nbsp;factlim&lt;BR /&gt;
	use &amp;nbsp;array1&lt;BR /&gt;
	use &amp;nbsp;options1&lt;/P&gt;

&lt;P&gt;&lt;BR /&gt;
	! Code converted using TO_F90 by Alan Miller&lt;BR /&gt;
	! Date: 2017-06-01 &amp;nbsp;Time: 21:33:28&lt;BR /&gt;
	IMPLICIT NONE&lt;BR /&gt;
	INTEGER, INTENT(IN OUT) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;:: i&lt;BR /&gt;
	REAL, INTENT(IN) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; :: flow&lt;BR /&gt;
	!integer:: nsubr,ji2,kopt,ji1&lt;BR /&gt;
	!real:: rholim,dp(5000),area(5000)&lt;/P&gt;

&lt;P&gt;!INTENT(IN) &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; :: *&lt;/P&gt;

&lt;P&gt;!=====================================================================&lt;BR /&gt;
	!=====================================================================&lt;BR /&gt;
	! &amp;nbsp; &amp;nbsp;&amp;lt;NAME&amp;gt;&lt;BR /&gt;
	! &amp;nbsp; &amp;nbsp; ARCO&lt;/P&gt;

&lt;P&gt;! &amp;nbsp; &amp;nbsp;&amp;lt;DESCRIPTION&amp;gt;&lt;BR /&gt;
	! &amp;nbsp; &amp;nbsp; THIS SUBROUTINE CALCULATES THE FLOW VARIABLES ACROSS&lt;BR /&gt;
	! &amp;nbsp; &amp;nbsp; AN ABRUPT AREA CHANGE.&lt;/P&gt;

&lt;P&gt;!=====================================================================&lt;BR /&gt;
	!=====================================================================&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;INTEGER :: ik&lt;/P&gt;

&lt;P&gt;REAL &amp;nbsp; &amp;nbsp;:: rho1, fflow, beta2, rkf, phsq, phisq&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;BR /&gt;
	IF(nsubr == 1)THEN&lt;BR /&gt;
	&amp;nbsp; rho(i,ji2) = rho(i-1,ji2)&lt;BR /&gt;
	&amp;nbsp; fflow &amp;nbsp; &amp;nbsp; &amp;nbsp;= flow&lt;BR /&gt;
	ELSE&lt;BR /&gt;
	&amp;nbsp; fflow &amp;nbsp; &amp;nbsp; &amp;nbsp;= rho(i-1,ji2)*u(i-1,ji2)*area(i-1)&lt;BR /&gt;
	&amp;nbsp; rho(i,ji2) = rho(i,ji1)&lt;BR /&gt;
	END IF&lt;/P&gt;

&lt;P&gt;DO &amp;nbsp;ik=1,500&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&lt;BR /&gt;
	&amp;nbsp; u(i,ji2) &amp;nbsp; = fflow/area(i)/rho(i,ji2)&lt;BR /&gt;
	!------EXPANSION---------------------&lt;BR /&gt;
	&amp;nbsp; IF(area(i-1) &amp;lt; area(i))THEN&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; beta2 = area(i-1)/area(i)&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; rkf = (1.- beta2)**2&lt;BR /&gt;
	&amp;nbsp; ELSE&lt;BR /&gt;
	!------CONTRACTION-------------------&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; beta2 = area(i)/area(i-1)&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; rkf = 0.5*(1.-beta2 )/beta2**2&lt;BR /&gt;
	&amp;nbsp; END IF&lt;BR /&gt;
	! &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Function PHISQ requires two parameters, assume JI2 is&lt;BR /&gt;
	! &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; the second parameter&lt;BR /&gt;
	&amp;nbsp; phsq = phisq(i-1,ji2)&lt;BR /&gt;
	&amp;nbsp; rkf = rkf*phsq*rho(i-1,ji2)/rhof(i-1,ji2)&lt;BR /&gt;
	&amp;nbsp; rkf = rkf * kopt&lt;BR /&gt;
	&amp;nbsp; p(i,ji2) &amp;nbsp; &amp;nbsp;= p(i-1,ji2)+2.*fflow*((1.-rkf/2.)*u(i-1,ji2)- &amp;nbsp;&amp;amp;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; u(i,ji2))/(area(i-1)+area(i))&lt;BR /&gt;
	&amp;nbsp; h(i,ji2) &amp;nbsp; &amp;nbsp;= h(i-1,ji2) + 0.5*(u(i-1,ji2)**2-u(i,ji2)**2)&lt;BR /&gt;
	&amp;nbsp; CALL stprop(p(i,ji2),h(i,ji2),i,rho1)&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&lt;BR /&gt;
	&amp;nbsp; IF( ik &amp;gt; 1 .AND. ABS(rho1-rho(i,ji2)) &amp;lt; rholim)THEN&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; GO TO 200&lt;BR /&gt;
	&amp;nbsp; ELSE&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; rho(i,ji2) = rho1&lt;BR /&gt;
	&amp;nbsp; END IF&lt;BR /&gt;
	END DO&lt;/P&gt;

&lt;P&gt;200 &amp;nbsp; CONTINUE&lt;BR /&gt;
	rho(i,ji2) = rho1&lt;BR /&gt;
	alfa(i,ji2)= xqu(i,ji2)*rho1/rhog(i,ji2)&lt;BR /&gt;
	alfa(i,ji2)= MAX(0.,alfa(i,ji2))&lt;BR /&gt;
	dp(i-1) &amp;nbsp; &amp;nbsp;= p(i,ji2) - p(i-1,ji2)&lt;BR /&gt;
	RETURN&lt;/P&gt;

&lt;P&gt;300 &amp;nbsp; CONTINUE&lt;BR /&gt;
	RETURN 1&lt;/P&gt;

&lt;P&gt;END SUBROUTINE arco&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;The modules used in the program are as follows&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Module array1&lt;BR /&gt;
	use param1&lt;BR /&gt;
	use parampch&lt;BR /&gt;
	INTEGER :: ncode(nodemx), ncorsb(nodemx)&lt;BR /&gt;
	Real :: area(nodemx), &amp;nbsp; di(nodemx), &amp;nbsp; &amp;nbsp; dx(nodemx), &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;amp;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; eqdiam(nodemx), v(nodemx), &amp;nbsp; &amp;nbsp; &amp;nbsp;rk(nodemx), &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;amp;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; ck(nodemx),ruff(nodemx),dp(nodemx),vstar(nodemx),rstar(nodemx), &amp;nbsp;&amp;amp;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; sth(nodemx),sq(nodemx), nb(nodemx), &amp;amp;&lt;BR /&gt;
	&amp;nbsp; &amp;nbsp; farray(nodemx)&lt;BR /&gt;
	real::burnpow&lt;BR /&gt;
	Real:: sumdxch(nodemx,nchanx) , fa(nodemx,nchanx)&lt;BR /&gt;
	integer:: ji1,ji2&lt;/P&gt;

&lt;P&gt;End Module array1&lt;/P&gt;

&lt;P&gt;Param1 and parampch modules have the variables "nodemx ", "nchanx" declared as parameters.&lt;/P&gt;</description>
      <pubDate>Sun, 25 Jun 2017 20:03:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Fortran-common-block-and-Modules/m-p/1135187#M80321</guid>
      <dc:creator>Dhanashree_G_</dc:creator>
      <dc:date>2017-06-25T20:03:42Z</dc:date>
    </item>
    <item>
      <title>The error blog for perticular</title>
      <link>https://community.intel.com/t5/Software-Archive/Fortran-common-block-and-Modules/m-p/1135188#M80322</link>
      <description>&lt;PRE style="color: rgb(0, 0, 0);"&gt;&lt;STRONG&gt;The error blog for perticular file is&lt;/STRONG&gt;
ifort /nologo /debug:full /real_size:64 /Qsave /iface:cvf /module:"Debug/" /object:"Debug/" /traceback /check:bounds /libs:static /threads /dbglibs /c /Qvc9 /Qlocation,link,"c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin" "C:\Users\dhana\Desktop\All files together\Source\arco.f90"
C:\Users\dhana\Desktop\All files together\Source\arco.f90(5): error #7013: This module file was not generated by any release of this compiler.   [PARAM1]
use  param1
-----^
C:\Users\dhana\Desktop\All files together\Source\arco.f90(46): error #6404: This name does not have a type, and must have an explicit type.   [NSUBR]
IF(nsubr == 1)THEN
---^
C:\Users\dhana\Desktop\All files together\Source\arco.f90(47): error #6410: This name has not been declared as an array or a function.   [RHO]
  rho(i,ji2) = rho(i-1,ji2)
--^
C:\Users\dhana\Desktop\All files together\Source\arco.f90(50): error #6404: This name does not have a type, and must have an explicit type.   &lt;U&gt;
  fflow      = rho(i-1,ji2)*u(i-1,ji2)*area(i-1)
----------------------------^
C:\Users\dhana\Desktop\All files together\Source\arco.f90(50): error #6404: This name does not have a type, and must have an explicit type.   [AREA]
  fflow      = rho(i-1,ji2)*u(i-1,ji2)*area(i-1)
---------------------------------------^
C:\Users\dhana\Desktop\All files together\Source\arco.f90(51): error #6410: This name has not been declared as an array or a function.   [RHO]
  rho(i,ji2) = rho(i,ji1)
--^
C:\Users\dhana\Desktop\All files together\Source\arco.f90(56): error #6410: This name has not been declared as an array or a function.   &lt;U&gt;
  u(i,ji2)   = fflow/area(i)/rho(i,ji2)
--^
C:\Users\dhana\Desktop\All files together\Source\arco.f90(68): error #6404: This name does not have a type, and must have an explicit type.   [JI2]
  phsq = phisq(i-1,ji2)
-------------------^
C:\Users\dhana\Desktop\All files together\Source\arco.f90(69): error #6404: This name does not have a type, and must have an explicit type.   [RHOF]
  rkf = rkf*phsq*rho(i-1,ji2)/rhof(i-1,ji2)
------------------------------^
C:\Users\dhana\Desktop\All files together\Source\arco.f90(70): error #6404: This name does not have a type, and must have an explicit type.   [KOPT]
  rkf = rkf * kopt
--------------^
C:\Users\dhana\Desktop\All files together\Source\arco.f90(71): error #6410: This name has not been declared as an array or a function.   &lt;P&gt;
  p(i,ji2)    = p(i-1,ji2)+2.*fflow*((1.-rkf/2.)*u(i-1,ji2)-  &amp;amp;
--^
C:\Users\dhana\Desktop\All files together\Source\arco.f90(73): error #6410: This name has not been declared as an array or a function.   &lt;H&gt;
  h(i,ji2)    = h(i-1,ji2) + 0.5*(u(i-1,ji2)**2-u(i,ji2)**2)
--^
C:\Users\dhana\Desktop\All files together\Source\arco.f90(76): error #6404: This name does not have a type, and must have an explicit type.   [RHOLIM]
  IF( ik &amp;gt; 1 .AND. ABS(rho1-rho(i,ji2)) &amp;lt; rholim)THEN
------------------------------------------^
C:\Users\dhana\Desktop\All files together\Source\arco.f90(79): error #6410: This name has not been declared as an array or a function.   [RHO]
    rho(i,ji2) = rho1
----^
C:\Users\dhana\Desktop\All files together\Source\arco.f90(84): error #6410: This name has not been declared as an array or a function.   [RHO]
rho(i,ji2) = rho1
^
C:\Users\dhana\Desktop\All files together\Source\arco.f90(85): error #6410: This name has not been declared as an array or a function.   [ALFA]
alfa(i,ji2)= xqu(i,ji2)*rho1/rhog(i,ji2)
^
C:\Users\dhana\Desktop\All files together\Source\arco.f90(85): error #6404: This name does not have a type, and must have an explicit type.   [XQU]
alfa(i,ji2)= xqu(i,ji2)*rho1/rhog(i,ji2)
-------------^
C:\Users\dhana\Desktop\All files together\Source\arco.f90(85): error #6404: This name does not have a type, and must have an explicit type.   [RHOG]
alfa(i,ji2)= xqu(i,ji2)*rho1/rhog(i,ji2)
-----------------------------^
C:\Users\dhana\Desktop\All files together\Source\arco.f90(86): error #6410: This name has not been declared as an array or a function.   [ALFA]
alfa(i,ji2)= MAX(0.,alfa(i,ji2))
^
C:\Users\dhana\Desktop\All files together\Source\arco.f90(86): error #6363: The intrinsic data types of the arguments must be the same.   [MAX]
alfa(i,ji2)= MAX(0.,alfa(i,ji2))
--------------------^
C:\Users\dhana\Desktop\All files together\Source\arco.f90(87): error #6410: This name has not been declared as an array or a function.   [DP]
dp(i-1)    = p(i,ji2) - p(i-1,ji2)
^
compilation aborted for C:\Users\dhana\Desktop\All files together\Source\arco.f90 (code 1)&lt;/H&gt;&lt;/P&gt;&lt;/U&gt;&lt;/U&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 25 Jun 2017 20:06:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/Fortran-common-block-and-Modules/m-p/1135188#M80322</guid>
      <dc:creator>Dhanashree_G_</dc:creator>
      <dc:date>2017-06-25T20:06:23Z</dc:date>
    </item>
  </channel>
</rss>

