<meta http-equiv="CONTENT-TYPE" content="text/html; charset=utf-8"><title></title><meta name="GENERATOR" content="OpenOffice.org 2.3  (Unix)">
        
        
        <style type="text/css">
        &lt;!--
                @page { size: 21cm 29.7cm; margin: 2cm }
                P { margin-bottom: 0.21cm }
        --&gt;
        </style>

<p style="margin-bottom: 0cm;">Hi 
</p>
<p style="margin-bottom: 0cm;">   I&#39;m writing because I have a 
problem installing Ncl\Ncarg library.I&#39;m on Intel core 2 quad CPU
(Q6600 2,40GHz) with 4 Gb ram , using Intel compilers ifort +
icc.<br>After I&#39;ve set this few environment setting <br><br>export
CC=icc<br>export FC=ifort<br>export F90=ifort<br>export
F77=ifort<br>export CXX=icpc</p>
<p style="margin-bottom: 0cm;"><br>
</p>
<p style="margin-bottom: 0cm;">I&#39;ve installed HDF4 using the script 
</p>
<p style="margin-bottom: 0cm;">./configure --with-zlib=/usr/include
--with-jpeg=/usr/lib64 –prefix=/home/WRF/GraphicUtility/HDF4</p>
<p style="margin-bottom: 0cm;">and I&#39;ve used the rest of the other
necessary libraries (X11,zlib,jpeg,jasper and g2clib) the ones that
gives me Fedpra core 8 (the OS I use).I&#39;ve checked the version of
this libraries and all the versions are compatibile with the version
that requires Ncl.</p>
<p style="margin-bottom: 0cm;">Then I&#39;ve tested my Fortran compiler if
it can handle block data and it is OK.</p>
<p style="margin-bottom: 0cm;">I&#39;ve modified the LINUX config file in
this way:</p>
<p style="margin-bottom: 0cm;"><br>
</p>
<p style="margin-bottom: 0cm;">#define HdfDefines  -DLINUX
</p>
<p style="margin-bottom: 0cm;">#define StdDefines  -DSYSV
-D_POSIX_SOURCE -D_XOPEN_SOURCE -DByteSwapped
</p>
<p style="margin-bottom: 0cm;">#define ByteSwapped
</p>
<p style="margin-bottom: 0cm;">#define Cstatic
</p>
<p style="margin-bottom: 0cm;">#define Cdynamic
</p>
<p style="margin-bottom: 0cm;">#define CppCommand &#39;/usr/bin/cpp
-traditional&#39;
</p>
<p style="margin-bottom: 0cm;">#define CCompiler   icc -mp
</p>
<p style="margin-bottom: 0cm;">#define FCompiler   ifort -mp -Vaxlib
</p>
<p style="margin-bottom: 0cm;">#define CtoFLibraries   -lCEPCF90 -lF90
-lm -lifcore &quot;-L/opt/intel/fce/10.1.013/lib&quot;
</p>
<p style="margin-bottom: 0cm;">#define CcOptions      -ansi
</p>
<p style="margin-bottom: 0cm;">#define XToolLibrary    -lXt -lSM
-lICE
</p>
<p style="margin-bottom: 0cm;">#define BuildShared NO
</p>
<p style="margin-bottom: 0cm;">#define XLibrary -lXpm -lX11 -lXext
</p>
<p style="margin-bottom: 0cm;">
</p>
<p style="margin-bottom: 0cm;">#define ArchRecLibSearch   
-L/usr/lib64 -L/home/WRF/GraphicUtility/HDF4/lib
</p>
<p style="margin-bottom: 0cm;">#define ArchRecIncSearch   
-I/usr/include -I/home/WRF/GraphicUtility/HDF4/include</p>
<p style="margin-bottom: 0cm;"><br>
</p>
<p style="margin-bottom: 0cm;">where I&#39;ve added many script used by
LINUX_INTEL_file and I&#39;ve added the path to the HDF4 files needed.</p>
<p style="margin-bottom: 0cm;"><br>
</p>
<p style="margin-bottom: 0cm;">Then I&#39;ve launched</p>
<p style="margin-bottom: 0cm;"><br>
</p>
<p style="margin-bottom: 0cm;">./Configure  -v</p>
<p style="margin-bottom: 0cm;"><br>
</p>
<p style="margin-bottom: 0cm;">make Everything  &gt;&amp; 
everything.txt 
</p>
<p style="margin-bottom: 0cm;"> 
</p>
<p style="margin-bottom: 0cm;">and I receive many errors.Many of that
are resolved by the hints and by the <a href="http://www.ncl.ucar.edu/Download/build_from_src.shtml#Troubleshooting">Troubleshooting
and known problems</a><a href="http://www.ncl.ucar.edu/Download/build_from_src.shtml#Troubleshooting"><span style="text-decoration: none;">
</span></a>in the ncl site.I ve get also a problem with the file
nclhdf.c that I&#39;ve fixed with the patch I&#39;ve found in this link 
</p>
<p style="margin-bottom: 0cm;"><a href="http://www.redhat.com/archives/fedora-extras-commits/2008-February/msg11504.html">http://www.redhat.com/archives/fedora-extras-commits/2008-February/msg11504.html</a></p>
<p style="margin-bottom: 0cm;"><br>
</p>
<p style="margin-bottom: 0cm;">But now I&#39;ve get the last and only
error in the file nclnetcdf.c file</p>
<p style="margin-bottom: 0cm;"><br>
</p>
<p style="margin-bottom: 0cm;">NclNetCdf.c(738): error: identifier
&quot;NC_64BIT_OFFSET&quot; is undefined
</p>
<p style="margin-bottom: 0cm;">                  mode =
(NC_NOCLOBBER|NC_64BIT_OFFSET);
</p>
<p style="margin-bottom: 0cm;">                                       ^</p>
<p style="margin-bottom: 0cm;">.......</p>
<p style="margin-bottom: 0cm;">.......</p>
<p style="margin-bottom: 0cm;"><br>
</p>
<p style="margin-bottom: 0cm;">compilation aborted for NclNetCdf.c
(code 2)
</p>
<p style="margin-bottom: 0cm;">make[4]: *** [NclNetCdf.o] Error 2</p>
<p style="margin-bottom: 0cm;"><br>
</p>
<p style="margin-bottom: 0cm;"><br>
</p>
<p style="margin-bottom: 0cm;"><br>
</p>
<p style="margin-bottom: 0cm;">And the building of ncl/ncarg going
failure.</p>
<p style="margin-bottom: 0cm;"><br>
</p>
<p style="margin-bottom: 0cm;">How can I resolve this problem?<br><br>If
you need some other log file I can send it to you.<br><br>Thank You&nbsp;
so much. 
</p>
<p style="margin-bottom: 0cm;"><br>           Have a nice day</p>
<p style="margin-bottom: 0cm;"><br>
</p>
<p style="margin-bottom: 0cm;"><br>
</p>
<p style="margin-bottom: 0cm;"><font color="#888888">               
Cucco Fabrizio </font>
</p>
<p style="margin-bottom: 0cm;"><font color="#888888">                 
     Ancona University</font></p>