<?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>Compiling on Ubuntu- build- make- libtools unable to find path to mpich</title>
  <link rel="self" href="https://dlt-acc.firelay.cloud/c/message_boards/find_thread?p_l_id=3231581&amp;threadId=3404744" />
  <subtitle>Compiling on Ubuntu- build- make- libtools unable to find path to mpich</subtitle>
  <id>https://dlt-acc.firelay.cloud/c/message_boards/find_thread?p_l_id=3231581&amp;threadId=3404744</id>
  <updated>2026-05-15T15:07:10Z</updated>
  <dc:date>2026-05-15T15:07:10Z</dc:date>
  <entry>
    <title>RE: Compiling on Ubuntu- build- make- libtools unable to find path to mpich</title>
    <link rel="alternate" href="https://dlt-acc.firelay.cloud/c/message_boards/find_message?p_l_id=3231581&amp;messageId=3405022" />
    <author>
      <name>Adri Mourits</name>
    </author>
    <id>https://dlt-acc.firelay.cloud/c/message_boards/find_message?p_l_id=3231581&amp;messageId=3405022</id>
    <updated>2018-05-16T17:30:58Z</updated>
    <published>2018-05-16T17:30:58Z</published>
    <summary type="html">&lt;p&gt;Hi Siddhi,&lt;/p&gt;
&lt;p&gt;Your file &amp;quot;make.log&amp;quot; contains the warning:&lt;/p&gt;
&lt;pre&gt;
Warning: Nonexistent include directory ‘/home/user/Downloads/libraries/netcdf_4.4.1/include&lt;/pre&gt;
&lt;p&gt;Is this where you expect that netcdf.mod should be located?&lt;/p&gt;
&lt;p&gt;Looking to your NetCDF compile script: How did you define environment
  parameter NETCDF4_DIR? I assume
  &amp;quot;&lt;strong&gt;&amp;lt;NCDIR&amp;gt;&lt;/strong&gt;&amp;quot; is a placeholder that is
  replaced by a decent path when compiling?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Adri&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</summary>
    <dc:creator>Adri Mourits</dc:creator>
    <dc:date>2018-05-16T17:30:58Z</dc:date>
  </entry>
  <entry>
    <title>RE: Compiling on Ubuntu- build- make- libtools unable to find path to mpich</title>
    <link rel="alternate" href="https://dlt-acc.firelay.cloud/c/message_boards/find_message?p_l_id=3231581&amp;messageId=3404872" />
    <author>
      <name>Siddhi Joshi</name>
    </author>
    <id>https://dlt-acc.firelay.cloud/c/message_boards/find_message?p_l_id=3231581&amp;messageId=3404872</id>
    <updated>2018-05-03T17:42:37Z</updated>
    <published>2018-05-03T17:39:53Z</published>
    <summary type="html">&lt;p&gt;Thanks- I think that worked. I just get the error and looked in the
  forum, I tried adding this line to the NETCDF fortran make :&lt;br /&gt;
  &lt;br /&gt; (from readme file)&lt;br /&gt;  # Install Netcdf-fortran&lt;br /&gt;      
  v=4.4.4&lt;br /&gt;       wget
  http://www.unidata.ucar.edu/downloads/netcdf/ftp/netcdf-fortran-${v}.tar.gz&lt;br /&gt;
        tar -xf netcdf-fortran-${v}.tar.gz &amp;amp;&amp;amp; cd
  netcdf-fortran-${v}&lt;br /&gt;       CPPFLAGS=-I$NETCDF4_DIR/include
  LDFLAGS=-L$NETCDF4_DIR/lib
  LD_LIBRARY_PATH=$NETCDF4_DIR/lib:$LD_LIBRARY_PATH ./configure
  --prefix=$NETCDF4_DIR&lt;br /&gt;      
    &lt;strong&gt;NETCDF_CFLAGS=&amp;quot;-I&amp;lt;NCDIR&amp;gt;/include/&amp;quot;
    NETCDF_LIBS=&amp;quot;-L&amp;lt;NCDIR&amp;gt;/lib/&amp;quot;
    NETCDF_FORTRAN_CFLAGS=&amp;quot;-I&amp;lt;NCDIR&amp;gt;/include/&amp;quot;
    NETCDF_FORTRAN_LIBS=&amp;quot;-L&amp;lt;NCDIR&amp;gt;/lib&amp;quot; ./configure&lt;/strong&gt;
  &lt;br /&gt; # make check&lt;br /&gt;       make&lt;br /&gt;       sudo make
  install&lt;br /&gt;       cd ..&lt;/p&gt;</summary>
    <dc:creator>Siddhi Joshi</dc:creator>
    <dc:date>2018-05-03T17:39:53Z</dc:date>
  </entry>
  <entry>
    <title>RE: Compiling on Ubuntu- build- make- libtools unable to find path to mpich</title>
    <link rel="alternate" href="https://dlt-acc.firelay.cloud/c/message_boards/find_message?p_l_id=3231581&amp;messageId=3404814" />
    <author>
      <name>Adri Mourits</name>
    </author>
    <id>https://dlt-acc.firelay.cloud/c/message_boards/find_message?p_l_id=3231581&amp;messageId=3404814</id>
    <updated>2018-05-02T18:32:24Z</updated>
    <published>2018-05-02T18:32:24Z</published>
    <summary type="html">&lt;p&gt;Hi Siddhi,&lt;/p&gt;
&lt;p&gt;Your file &amp;quot;build_ubuntu1604.sh&amp;quot; contains several times the
  character tildes (~). You have to replace that by the absolute path.
  You can do that as follows:&lt;/p&gt;
&lt;p&gt;On Linux execute: cd ~&lt;br /&gt; And then: pwd&lt;br /&gt; This will show the
  absolute path of the short cut reference ~, normally something like
  /u/siddhi&lt;br /&gt; Replace all occurences of ~ in your script by this
  absolute path, /u/siddhi in the example above.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Adri&lt;/p&gt;</summary>
    <dc:creator>Adri Mourits</dc:creator>
    <dc:date>2018-05-02T18:32:24Z</dc:date>
  </entry>
  <entry>
    <title>Compiling on Ubuntu- build- make- libtools unable to find path to mpich</title>
    <link rel="alternate" href="https://dlt-acc.firelay.cloud/c/message_boards/find_message?p_l_id=3231581&amp;messageId=3404743" />
    <author>
      <name>Siddhi Joshi</name>
    </author>
    <id>https://dlt-acc.firelay.cloud/c/message_boards/find_message?p_l_id=3231581&amp;messageId=3404743</id>
    <updated>2018-04-26T19:30:32Z</updated>
    <published>2018-04-26T19:30:32Z</published>
    <summary type="html">&lt;p&gt;Hello&lt;/p&gt;
&lt;p&gt;I am compiling delft3d on Ubuntu 16.04 and have followed exactly the
  procedure in the buildUBUNTU readme file in the latest trunk version
  (and also the tagged 7545 version) and am getting the same problem to
  do with the paths. I read on the forums there was a similar problem
  before with Mpich libraries..&lt;/p&gt;
&lt;p&gt;Please help as the make fails after a long time.&lt;/p&gt;
&lt;p&gt;Kind Regards&lt;/p&gt;
&lt;p&gt;Siddhi&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Error from Make.log:&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;libtool: line 7486: cd: ~/Downloads/libraries/mpich-3.2/lib: No such
  file or directory&lt;/p&gt;
&lt;p&gt;
  &lt;strong&gt;libtool:   error: cannot determine absolute directory name of '~/Downloads/libraries/mpich-3.2/lib'&lt;/strong&gt;
  &lt;br /&gt; Makefile:694: recipe for target 'libflow2d3d.la' failed&lt;br /&gt;
  make[7]: *** [libflow2d3d.la] Error 1&lt;br /&gt; make[7]: Leaving directory
  '/home/user/delft3dtrunk/src/engines_gpl/flow2d3d/packages/flow2d3d/src'&lt;br /&gt;
  Makefile:743: recipe for target 'install-recursive' failed&lt;br /&gt;
  make[6]: *** [install-recursive] Error 1&lt;br /&gt; make[6]: Leaving
  directory
  '/home/user/delft3dtrunk/src/engines_gpl/flow2d3d/packages/flow2d3d/src'&lt;br /&gt;
  Makefile:900: recipe for target 'install' failed&lt;br /&gt; make[5]: ***
  [install] Error 2&lt;br /&gt; make[5]: Leaving directory
  '/home/user/delft3dtrunk/src/engines_gpl/flow2d3d/packages/flow2d3d/src'&lt;br /&gt;
  Makefile:493: recipe for target 'install-recursive' failed&lt;br /&gt;
  make[4]: *** [install-recursive] Error 1&lt;br /&gt; make[4]: Leaving
  directory
  '/home/user/delft3dtrunk/src/engines_gpl/flow2d3d/packages/flow2d3d'&lt;br /&gt;
  Makefile:503: recipe for target 'install-recursive' failed&lt;br /&gt;
  make[3]: *** [install-recursive] Error 1&lt;br /&gt; make[3]: Leaving
  directory
  '/home/user/delft3dtrunk/src/engines_gpl/flow2d3d/packages'&lt;br /&gt;
  Makefile:494: recipe for target 'install-recursive' failed&lt;br /&gt;
  make[2]: *** [install-recursive] Error 1&lt;br /&gt; make[2]: Leaving
  directory '/home/user/delft3dtrunk/src/engines_gpl/flow2d3d'&lt;br /&gt;
  Makefile:498: recipe for target 'install-recursive' failed&lt;br /&gt;
  make[1]: *** [install-recursive] Error 1&lt;br /&gt; make[1]: Leaving
  directory '/home/user/delft3dtrunk/src/engines_gpl'&lt;br /&gt;
  Makefile:554: recipe for target 'install-recursive' failed&lt;br /&gt; make:
  *** [install-recursive] Error 1&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</summary>
    <dc:creator>Siddhi Joshi</dc:creator>
    <dc:date>2018-04-26T19:30:32Z</dc:date>
  </entry>
</feed>
