<?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>Unable to compile</title>
  <link rel="self" href="https://dlt-acc.firelay.cloud/c/message_boards/find_thread?p_l_id=4041874&amp;threadId=4391382" />
  <subtitle>Unable to compile</subtitle>
  <id>https://dlt-acc.firelay.cloud/c/message_boards/find_thread?p_l_id=4041874&amp;threadId=4391382</id>
  <updated>2026-05-12T17:46:21Z</updated>
  <dc:date>2026-05-12T17:46:21Z</dc:date>
  <entry>
    <title>Unable to compile</title>
    <link rel="alternate" href="https://dlt-acc.firelay.cloud/c/message_boards/find_message?p_l_id=4041874&amp;messageId=4391381" />
    <author>
      <name>Huy Tran Quang Pham</name>
    </author>
    <id>https://dlt-acc.firelay.cloud/c/message_boards/find_message?p_l_id=4041874&amp;messageId=4391381</id>
    <updated>2020-08-06T16:17:14Z</updated>
    <published>2020-08-06T16:17:14Z</published>
    <summary type="html">Hello everyone,&lt;br /&gt;Yesterday I just downloaded the D3DFM source code &lt;br /&gt;(the latest, with highest number). Then I followed the instructions in &lt;br /&gt;src/README to compile it. When it came to CFLAGS=&amp;#39;-O2&amp;#39; CXXFLAGS=&amp;#39;-O2&amp;#39; &lt;br /&gt;FFLAGS=&amp;#39;-O2&amp;#39; FCFLAGS=&amp;#39;-O2&amp;#39; ./configure --prefix=`pwd` --with-netcdf &lt;br /&gt;--with-mpi --with-metis --with-petsc, it failed, the final lines are:&lt;br /&gt;(&lt;br /&gt;gfortran: error: unrecognized command-line option &amp;#39;-showme:link&amp;#39;&lt;br /&gt;gfortran: fatal error: no input files&lt;br /&gt;compilation terminated.&lt;br /&gt;configure: creating ./config.lt&lt;br /&gt;config.lt: creating libtool&lt;br /&gt;checking for the extension of Delft3D plugins... .so&lt;br /&gt;./configure: line 20190: ACX_MKL: command not found&lt;br /&gt;checking if PETSc is wanted... yes&lt;br /&gt;checking for PETSc... no&lt;br /&gt;checking for PETSc... no&lt;br /&gt;configure: error: Package requirements (PETSc &amp;gt;= 3.8) were not met:&lt;br /&gt;&lt;br /&gt;Package &amp;#39;PETSc&amp;#39;, required by &amp;#39;virtual:world&amp;#39;, not found&lt;br /&gt;&lt;br /&gt;Consider adjusting the PKG_CONFIG_PATH environment variable if you&lt;br /&gt;installed software in a non-standard prefix.&lt;br /&gt;&lt;br /&gt;Alternatively, you may set the environment variables PETSc_CFLAGS&lt;br /&gt;and PETSc_LIBS to avoid the need to call pkg-config.&lt;br /&gt;See the pkg-config man page for more details.&lt;br /&gt;)&lt;br /&gt;By&lt;br /&gt; the way I&amp;#39;m using gcc &amp;amp; gfortran 10 (I know D3D ask me to use gcc &lt;br /&gt;&amp;lt;8 but I tried many ways to downgrade, just can&amp;#39;t, and I can&amp;#39;t change&lt;br /&gt; the OS, much more trouble), may be the &amp;#34;gfortran: error:&amp;#34; is because of&lt;br /&gt; this? Other things are, I installed every prerequisites except that &lt;br /&gt;gfortran version I can&amp;#39;t go lower. But the terminal showed that the &lt;br /&gt;program was unable to find mpi &amp;amp; petsc. For petsc you can see &lt;br /&gt;clearly from above, for mpi it was a whole dozens of lines, I put them &lt;br /&gt;in the attachment &amp;#34;err.txt&amp;#34;. There were something unusual because I &lt;br /&gt;compiled OpenFOAM succesfully (a software that require mpi too).&lt;br /&gt;I tried again and again these two days, &lt;br /&gt;and now I&amp;#39;m hopeless. Did search on forum, there were some questions &lt;br /&gt;quite similar as mine but I can&amp;#39;t use those solution. I really need &lt;br /&gt;Delft3D, it is as a treasure to me but, I can&amp;#39;t change the OS, how can I&lt;br /&gt; compile successfully &lt;img alt="emoticon" src="https://dlt-acc.firelay.cloud/o/deltares-theme/images/emoticons/sad.gif" &gt; help me please. &lt;br /&gt;Forgot to say, I&amp;#39;m using Fedora 32.</summary>
    <dc:creator>Huy Tran Quang Pham</dc:creator>
    <dc:date>2020-08-06T16:17:14Z</dc:date>
  </entry>
</feed>
