<?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 Re: error #6946: In this DATA statement, there are more values assigned to variables then there are in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/error-6946-In-this-DATA-statement-there-are-more-values-assigned/m-p/1669939#M175140</link>
    <description>&lt;P&gt;Note that if you include source code (fragments) in a post you can format it nicely via the &amp;lt;/&amp;gt; icon that is often hidden under the "..." icon. It makes reading the code clearer.&lt;/P&gt;&lt;P&gt;The error messages are quite clear and you may not have encountered them with older compilers, because compilers get better at checking code all the time ;).&lt;/P&gt;&lt;P&gt;I tried to see the definition of var3d_char, but that is an array of nvar3d elements - the value of nvar3d is not included it appears in the code you posted (in size.h?) The number of data in the DATA statement should match the value of nvar3d.&lt;/P&gt;</description>
    <pubDate>Tue, 25 Feb 2025 12:04:13 GMT</pubDate>
    <dc:creator>Arjen_Markus</dc:creator>
    <dc:date>2025-02-25T12:04:13Z</dc:date>
    <item>
      <title>error #6946: In this DATA statement, there are more values assigned to variables then there are vari</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/error-6946-In-this-DATA-statement-there-are-more-values-assigned/m-p/1669931#M175139</link>
      <description>&lt;P&gt;I am trying to compile F77 source code. I am getting below errors,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Compiler : Intel 2020&lt;/P&gt;&lt;P&gt;mpiifort --version&lt;BR /&gt;ifort (IFORT) 19.1.3.304 20200925&lt;BR /&gt;Copyright (C) 1985-2020 Intel Corporation. All rights reserved.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;---------------------------------------------------------------------------------------------------------&lt;BR /&gt;mpiifort -mkl -Dsnap_tracer -Dparallel_processing -Dvar3d_snapshots -Dmckinley_biology -Dfrom_restart -Ddic_restore -Dphosp_restore -Disopycmix -Dgm_isopyc_mixing -Dconsthmix -Dkpp_mixing -Dsmagorinsky -Dbryan_lewis -Dimpl_vmix -Docmip_dic -Dinitialize_dic -Dinitialize_phosp -Dinitialize_alk -Dalk_restore -Dinitialize_dop -Dinterannual -Ddaily_u10_v10 -Dshape_japan_artificially -Dvar_resolution -Dnormalized_sst -I/home/apps/WRF/wrf_libs_intel2020/deps_intel2020.4.304/include -g -traceback -extend-source 132 -O3 -c -o advection.o advection.F&lt;BR /&gt;./param.h(168): error #6946: In this DATA statement, there are more values assigned to variables then there are variables. There must be the same number of values and variables. ['ALKT']&lt;BR /&gt;data var3d_char /"DICT", "FLUX", "PHOS", "ALKT", "DOPT" ,"JBIO"/&lt;BR /&gt;-------------------------------------------------^&lt;BR /&gt;./param.h(169): error #6946: In this DATA statement, there are more values assigned to variables then there are variables. There must be the same number of values and variables. ['m/m3']&lt;BR /&gt;data var3d_units /"m/m3", "m/m2", "m/m3", "m/m3", "m/m3", "mm3s"/&lt;BR /&gt;--------------------------------------------------^&lt;BR /&gt;./latitude.h(56): error #6946: In this DATA statement, there are more values assigned to variables then there are variables. There must be the same number of values and variables. [1.124951]&lt;BR /&gt;&amp;amp;0.3750492, 0.6249508, 0.8750492, 1.124951, 1.375049,&lt;BR /&gt;---------------------------------------^&lt;BR /&gt;compilation aborted for advection.F (code 1)&lt;BR /&gt;make: *** [&amp;lt;builtin&amp;gt;: advection.o] Error 1&lt;BR /&gt;&lt;BR /&gt;-------------------------------------------------------------------------------------------------------------&lt;BR /&gt;&lt;BR /&gt;I am attaching the fortan file and header files.&lt;BR /&gt;Please help me to resolve this error&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Chaitali&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Feb 2025 11:19:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/error-6946-In-this-DATA-statement-there-are-more-values-assigned/m-p/1669931#M175139</guid>
      <dc:creator>chaitali495</dc:creator>
      <dc:date>2025-02-25T11:19:33Z</dc:date>
    </item>
    <item>
      <title>Re: error #6946: In this DATA statement, there are more values assigned to variables then there are</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/error-6946-In-this-DATA-statement-there-are-more-values-assigned/m-p/1669939#M175140</link>
      <description>&lt;P&gt;Note that if you include source code (fragments) in a post you can format it nicely via the &amp;lt;/&amp;gt; icon that is often hidden under the "..." icon. It makes reading the code clearer.&lt;/P&gt;&lt;P&gt;The error messages are quite clear and you may not have encountered them with older compilers, because compilers get better at checking code all the time ;).&lt;/P&gt;&lt;P&gt;I tried to see the definition of var3d_char, but that is an array of nvar3d elements - the value of nvar3d is not included it appears in the code you posted (in size.h?) The number of data in the DATA statement should match the value of nvar3d.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Feb 2025 12:04:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/error-6946-In-this-DATA-statement-there-are-more-values-assigned/m-p/1669939#M175140</guid>
      <dc:creator>Arjen_Markus</dc:creator>
      <dc:date>2025-02-25T12:04:13Z</dc:date>
    </item>
  </channel>
</rss>

