[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[netCDF #RMU-757531]: Intel 10.1 netcdf 3.6.3 build problem



Tim,

Thanks, I would never have guessed what the problem was :-).

--Russ

> So here is the deal:
>
> The Intel compilers create temporary files in $TMPDIR ...
> on this particular system, my $TMPDIR was pointing to /tmp/thoar
> which was a problem for some reason. The machine/cluster is
> being rebuilt and apparently the permissions on /tmp were not
> uniformly 'correct'. ABSOLUTELY EVERYTHING ELSE WAS THE SAME.
>
> When I changed my $TMPDIR to /ptmp/thoar  (an NFS-mounted filesystem
> that had the 'correct' permissions) ... everything worked as promised.
> I was able to build 3.6.[2,3] with the Intel 10.1.022 compiler suite,
> icc, icpc, ifort ... and all checks were passed, even the large-file
> ones.
>
> My configure invocation was:
>
>    $ ./configure CC=icc CXX=icpc F77=ifort FC=ifort F90=ifort --
> prefix=/coral/local/netcdf-3.6.3_intel-10.1-64 --with-temp-large=/
> ptmp/thoar --enable-large-file-tests CFLAGS=-O3 -xW -ip -no-prec-div -
> static CXXFLAGS=-O3 -xW -ip -no-prec-div -static FFLAGS=-O3 -xW -ip -
> no-prec-div -static CPP=icc -E CXXCPP=icpc -E
>
> which differs from the Intel site only in that I needed to use -xW
> instead of -xT for my single-core chipsets.
>
> Now, what is curious to me, and is apparent even in your build output
> from schecky, is
> the following:
>
> configure: finding C++ compiler (will not be used if C++ API is not
> desired)
> checking whether we are using the GNU C++ compiler... yes
> checking whether icpc accepts -g... yes
>
> clearly, icpc is not the GNU C++ compiler.
>
> I went down that road for a while ...
>
> So, squirrel that away for future use! $TMPDIR must (be large
> enough?) and have
> correct permissions.
>
>
> Tim Hoar, Associate Scientist
> National Center for Atmospheric Research
> address@hidden
> 303 497 1708
>
>
> On Mar 24, 2009, at 5:07 PM, Unidata netCDF Support wrote:
>
> > Hi Tim,
> >
> > I'm not sure what's going on with 3.6.3 and the Intel 10.1 compiler,
> > but we have two examples of the complete output from running configure
> > and "make check" using the Intel 10.1 compiler on the current snapshot
> > release, available from
> >
> >   ftp://ftp.unidata.ucar.edu/pub/netcdf/snapshot/netcdf-4-daily.tar.gz
> >
> > These do not specify "--enable-netcdf-4" as a configure option, so
> > they only build the netCDF-3 libraries.
> >
> > The first example is for 64-bit libraries, and uses the environment
> > variables
> >
> >   CPPFLAGS=
> >   CC=icc
> >   CFLAGS="-g -O2"
> >   CXX=icpc
> >   CXXFLAGS="-I/opt/intel/cce/10.1.015/include"
> >   FC=ifort
> >   FCFLAGS=-g
> >   F77=ifort
> >   FFLAGS=-g
> >
> > and configure options
> >
> >   --prefix=/machine/netcdf/nc_test_20226/in1
> >
> > The successful output, for comparison, is here:
> >
> >   http://www.unidata.ucar.edu/netcdf/builds/snapshot/
> > out_shecky_2009032400_10_0.txt
> >
> > The second example is for 32-bit libraries, and uses
> >
> >   CPPFLAGS=
> >   CC=icc
> >   CFLAGS="-L/opt/gcc4.1.2/lib -O3 -xN -ip -no-prec-div -static"
> >   CXX=icpc
> >   CXXFLAGS="-L/opt/gcc4.1.2/lib -O3 -xN -ip -no-prec-div -static -I/
> > opt/gcc4.1.2/include"
> >   FC=ifort
> >   FCFLAGS="-L/opt/gcc4.1.2/lib -O3 -xN -ip -no-prec-div -static"
> >   F77=ifort
> >   FFLAGS="-L/opt/gcc4.1.2/lib -O3 -xN -ip -no-prec-div -static"
> >
> > and configure options
> >
> >   --prefix=/machine/netcdf/nc_test_20224/in1
> >
> > and the successful output is here:
> >
> >   http://www.unidata.ucar.edu/netcdf/builds/snapshot/
> > out_shecky_2009032400_9_0.txt
> >
> > By looking at the output and comparing with what you see, you might be
> > able to figure out the problem.  If not, please send us what we need
> > to figure it out:
> >
> >   http://www.unidata.ucar.edu/software/netcdf/docs/netcdf-install/
> > Reporting-Problems.html
> >
> > --Russ
> >
> > Russ Rew                                         UCAR Unidata Program
> > address@hidden                     http://www.unidata.ucar.edu
> >
> >
> >
> > Ticket Details
> > ===================
> > Ticket ID: RMU-757531
> > Department: Support netCDF
> > Priority: Normal
> > Status: Closed
> >
>
>
>
> Ticket Details
> ===================
> Ticket ID: RMU-757531
> Department: Support netCDF
> Priority: Normal
> Status: Open
> Link:  https://www.unidata.ucar.edu/esupport/staff/index.php?_m=tickets&_a=vi
> ewticket&ticketid=8565



Ticket Details
===================
Ticket ID: RMU-757531
Department: Support netCDF
Priority: Normal
Status: Closed