<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>The argument to C_LOC must be a variable with POINTER or TARGET attr</title>
  <link rel="self" href="https://dlt-acc.firelay.cloud/en/c/message_boards/find_thread?p_l_id=4041874&amp;threadId=5520279" />
  <subtitle>The argument to C_LOC must be a variable with POINTER or TARGET attr</subtitle>
  <id>https://dlt-acc.firelay.cloud/en/c/message_boards/find_thread?p_l_id=4041874&amp;threadId=5520279</id>
  <updated>2026-05-12T16:53:28Z</updated>
  <dc:date>2026-05-12T16:53:28Z</dc:date>
  <entry>
    <title>RE: The argument to C_LOC must be a variable with POINTER or TARGET attr</title>
    <link rel="alternate" href="https://dlt-acc.firelay.cloud/en/c/message_boards/find_message?p_l_id=4041874&amp;messageId=5559679" />
    <author>
      <name>Ronald Van Nooyen</name>
    </author>
    <id>https://dlt-acc.firelay.cloud/en/c/message_boards/find_message?p_l_id=4041874&amp;messageId=5559679</id>
    <updated>2023-01-09T12:10:13Z</updated>
    <published>2023-01-09T12:10:13Z</published>
    <summary type="html">In principle adding target to the definitions on lines 109 and 116 of src/engines_gpl/dflowfm/packages/dflowfm_kernel/src/dflowfm_data/m_flowexternalforcings.f90 makes the error go away. Moreover, given that adding target only means the varieable might be a pointer target, this shuodl not cause other problems.</summary>
    <dc:creator>Ronald Van Nooyen</dc:creator>
    <dc:date>2023-01-09T12:10:13Z</dc:date>
  </entry>
  <entry>
    <title>The argument to C_LOC must be a variable with POINTER or TARGET attr</title>
    <link rel="alternate" href="https://dlt-acc.firelay.cloud/en/c/message_boards/find_message?p_l_id=4041874&amp;messageId=5520278" />
    <author>
      <name>Ronald Van Nooyen</name>
    </author>
    <id>https://dlt-acc.firelay.cloud/en/c/message_boards/find_message?p_l_id=4041874&amp;messageId=5520278</id>
    <updated>2022-12-19T07:47:06Z</updated>
    <published>2022-12-19T07:47:06Z</published>
    <summary type="html">I am working on compilation of Delft3D-FM on OracelLInux 8.7 with the intel oneapi  2022.3 base and HPC tools.&lt;br /&gt;The Intel compiler from oneapi 2022.3 gives the following error messages for the delft3dfm tag 142074 source code&lt;br /&gt;```&lt;br /&gt;src/engines_gpl/dflowfm/packages/dflowfm_lib/src/unstruc_dll_api.F90(104): error #9022: The argument to C_LOC must be a variable with the POINTER or TARGET attribute.   [NBNDZ]&lt;br /&gt;      x = c_loc(nbndz)&lt;br /&gt;----------------^&lt;br /&gt;src/engines_gpl/dflowfm/packages/dflowfm_lib/src/unstruc_dll_api.F90(108): error #9022: The argument to C_LOC must be a variable with the POINTER or TARGET attribute.   [KBNDZ]&lt;br /&gt;      x = c_loc(kbndz)&lt;br /&gt;----------------^&lt;br /&gt;&lt;br /&gt;```&lt;br /&gt;A search on internet suggests this is new behavior in the intel 2022.3 version of the  compiler. Does anyone know a work-around for this?</summary>
    <dc:creator>Ronald Van Nooyen</dc:creator>
    <dc:date>2022-12-19T07:47:06Z</dc:date>
  </entry>
</feed>
