<html><head></head><body><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 "netcdf-4.3.3.1.zip" and unziped it and moved in 'netcdf-4.3.3.1' 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 "nc-config" 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 "make check", 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 "make check". |</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 'export NETCDF=/home/user_pc/NCDF/' (and check 'echo $NETCDF' /home/user_pc/NCDF/)</div>
<div>I apply './configure' inside WRFV3 and choose 40:</div>
<div>
<div>"40. x86_64 Linux, gfortran compiler with gcc (serial)"</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'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></body></html>