<div dir="ltr"><div class="gmail_default" style="font-size:small">I think Ubuntu has the package, netcdf-fortran and netcdf-fortran-devel.<br></div><div class="gmail_default" style="font-size:small">Regards<br></div><div class="gmail_default" style="font-size:small">Mahally<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Nov 12, 2015 at 11:56 PM, Dominikus Heinzeller <span dir="ltr">&lt;<a href="mailto:climbfuji@ymail.com" target="_blank">climbfuji@ymail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="font-size:12px;color:#777;font-family:&#39;Lucida Grande&#39;,Helvetica,Arial,sans-serif;background-color:#fff;padding:4px">
<a href="https://www.boxbe.com/overview" style="text-decoration:none;color:#5e96ea" target="_blank"><img alt="Boxbe" src="http://www.boxbe.com/images/logo_dark_small.png" style="margin-left:0px;border:none" width="64px"></a>

<img src="http://www.boxbe.com/stfopen?tc_serial=23282286131&amp;tc_rand=1796336779&amp;utm_source=stf&amp;utm_medium=email&amp;utm_campaign=ANNO_CLEANUP_ADD&amp;utm_content=001">

This message is eligible for Automatic Cleanup! (<a href="mailto:climbfuji@ymail.com" target="_blank">climbfuji@ymail.com</a>) 
<a style="text-decoration:none;color:#5e96ea" href="https://www.boxbe.com/popup?url=https%3A%2F%2Fwww.boxbe.com%2Fcleanup%3Ftoken%3DKbletEAkBTI7LTX07zc%252BDxkYFwX94sweO5s50QQl0YJBh9jg1%252Bf%252BioInzbXezpN9BSYlXo1UkGGCs%252BIhZIvG80%252FYGanKHWA0wnh4c75RsUEHyhHW7nHmEo8taGFZF2iTpZZ5X9T8spw%253D%26key%3DzEIc88%252BY2yLoRiVruadi4hHBnFgoCw%252F3Xt7JxkPhcCI%253D&amp;tc_serial=23282286131&amp;tc_rand=1796336779&amp;utm_source=stf&amp;utm_medium=email&amp;utm_campaign=ANNO_CLEANUP_ADD&amp;utm_content=001" title="Add a new automatic cleanup rule" target="_blank">Add cleanup rule</a>
 | <a style="text-decoration:none;color:#5e96ea" href="http://blog.boxbe.com/general/boxbe-automatic-cleanup?tc_serial=23282286131&amp;tc_rand=1796336779&amp;utm_source=stf&amp;utm_medium=email&amp;utm_campaign=ANNO_CLEANUP_ADD&amp;utm_content=001" title="Get info on automatic cleanup" target="_blank">More info</a>
<br>

    </div>

<br><div style="word-wrap:break-word">Hello Mikhail,<div><br></div><div>The netcdf distribution no longer contains the fortran libraries (and include files). After installing netcdf-4.3.3.1 as you did, you need to download netcdf-fortran (currently 4.4.2) from the unidata website and install it to the same location (similar procedure using configure, make, make check, make install). Afterwards, you should run nf-config --all to check that everything was installed correctly.</div><div><br></div><div>Cheers</div><div><br></div><div>Dom/</div><div><br><div><blockquote type="cite"><div>On 12/11/2015, at 5:52 PM, Mikhail Titov &lt;<a href="mailto:titovm@mail.com" target="_blank">titovm@mail.com</a>&gt; wrote:</div><br><div><div><div style="font-family:Verdana;font-size:12.0px"><div>Dear WRF users,</div>

<div> </div>

<div>I have Ubuntu OS, Bourne Shell, GNU gcc-4.8.4 with gfortran at my computer.</div>

<div>I tried to build netCDF with classic library only (netCDF-3) from netCDF-4 source.</div>

<div>So I downloaded &quot;netcdf-4.3.3.1.zip&quot; and unziped it and moved in &#39;netcdf-4.3.3.1&#39; directory.</div>

<div>I used:</div>

<div>=====================================</div>

<div>./configure --prefix=/home/user_pc/NCDF --disable-netcdf-4</div>

<div>make</div>

<div>sudo make install</div>

<div>make check</div>

<div>=====================================</div>

<div>
<div><strong>It seems like netCDF building was OK</strong></div>

<div>+-------------------------------------------------------------+<br>
| Congratulations! You have successfully installed netCDF!    |<br>
|                                                             |<br>
| You can use script &quot;nc-config&quot; to find out the relevant     |<br>
| compiler options to build your application. Enter           |<br>
|                                                             |<br>
|     nc-config --help                                        |<br>
|                                                             |<br>
| for additional information.                                 |<br>
|                                                             |<br>
| CAUTION:                                                    |<br>
|                                                             |<br>
| If you have not already run &quot;make check&quot;, then we strongly  |<br>
| recommend you do so. It does not take very long.            |<br>
|                                                             |<br>
| Before using netCDF to store important data, test your      |<br>
| build with &quot;make check&quot;.                                    |</div>

<div><br>
==============================================</div>

<div>
<div>============================================================================<br>
Testsuite summary for netCDF 4.3.3.1<br>
============================================================================<br>
# TOTAL: 2<br>
# PASS:  2<br>
# SKIP:  0<br>
# XFAIL: 0<br>
# FAIL:  0<br>
# XPASS: 0<br>
# ERROR: 0<br>
============================================================================</div>

<div> </div>

<div>After &#39;export NETCDF=/home/user_pc/NCDF/&#39; (and check &#39;echo $NETCDF&#39;    /home/user_pc/NCDF/)</div>

<div>I apply &#39;./configure&#39; inside WRFV3 and choose 40:</div>

<div>
<div>&quot;40.  x86_64 Linux, gfortran compiler with gcc   (serial)&quot;</div>

<div> </div>

<div>I get an error:</div>

<div>===================</div>

<div>Settings listed above are written to configure.wrf.<br>
If you wish to change settings, please edit that file.<br>
If you wish to change the default options, edit the file:<br>
     arch/configure_new.defaults</div>
</div>
</div>

<div>
<div>E<strong>rror : Not found /home/user_pc/NCDF/include/netcdf.inc</strong><br>
        Please check this installation of NetCDF and re-run this configure script</div>

<div>./configure: 651: exit: Illegal number: -1<br>
==========================</div>

<div><strong>And this is correct - I DON&#39;T HAVE NETCDF.INC in /home/user_pc/NCDF/include/ sub-directory.</strong></div>

<div>
<div>===================================</div>

<div>user_pc@SperPC:~/NCDF/include$ ls -l<br>
total 64<br>
-rw-r--r-- 1 root root 60074 нояб. 12 19:23 netcdf.h<br>
-rw-r--r-- 1 root root  2053 нояб. 12 19:23 netcdf_meta.h<br>
user_pc@SperPC:~/NCDF/include$ pwd<br>
/home/user_pc/NCDF/include</div>

<div>===================================</div>

<div> </div>

<div><strong>Any help how to install classic netCDF-3/netCDF-4 in Ubuntu OS with gfortran compiler correctly is highly appreciable. </strong></div>

<div> </div>

<div>Dr Michael Titov (research professor)</div>
</div>

<div> </div>
</div>
</div>

<div> </div>

<div> </div>

<div> </div></div></div>
_______________________________________________<br>Wrf-users mailing list<br><a href="mailto:Wrf-users@ucar.edu" target="_blank">Wrf-users@ucar.edu</a><br><a href="http://mailman.ucar.edu/mailman/listinfo/wrf-users" target="_blank">http://mailman.ucar.edu/mailman/listinfo/wrf-users</a><br></div></blockquote></div><br></div></div><br>_______________________________________________<br>
Wrf-users mailing list<br>
<a href="mailto:Wrf-users@ucar.edu">Wrf-users@ucar.edu</a><br>
<a href="http://mailman.ucar.edu/mailman/listinfo/wrf-users" rel="noreferrer" target="_blank">http://mailman.ucar.edu/mailman/listinfo/wrf-users</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature">Dr.Mahally Kudsy<br>Weather Modification Technology Center<br>Agency for the Assessment and Application of Technology<br>Jln MH Thamrin 8, Jakarta, Indonesia<br>Telp:62-21-3168830 Fax:62-21-3906225 <a href="mailto:mkudsy@gmail.com" target="_blank">mkudsy@gmail.com</a></div>
</div>