[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[netCDF #GUD-694571]: problem: build 64-bit netcdf lib using ifort and icc on MAC OS X
- Subject: [netCDF #GUD-694571]: problem: build 64-bit netcdf lib using ifort and icc on MAC OS X
- Date: Mon, 09 Jul 2007 16:55:25 -0600
> Hi, Ed:
> When I tried to do "make distclean", it says: make: *** No rule to make
> target `distclean'.
That's OK, it just means it was already clean.
> Attached please find my config.log file. The Makefile was indeed generated.
> When I tried to run "make", the error message is:
> /usr/bin/ld: truncated or malformed archive:
> /Users/d3p880-Local/netcdf-3.6.2/lib/libnetcdf.a (ranlib structures in table
> of contents extends past the end of the table of contents, can't load from
> it)
> collect2: ld returned 1 exit status
> make: *** [ncview] Error 1
>
> Look forward to hear from you. Thanks a lot for help.
>
> Jiwen
>
>
Start over, then follow my instructions below if it doesn't work.
THanks,
Ed
> On 7/9/07 7:46 AM, "Unidata netCDF Support"
> <address@hidden> wrote:
>
> >> Hi, I was trying to install ncview on my MAC OS X computer with intel
> >> Fortran and C compilers. My netcdf library (64-bit) was also built using
> >> intel Fortran and C compilers. My problem is the Makefile generated from
> >> Configure did not go through (I notice that gcc was used instead of icc). I
> >> tried "setenv CC icc" before configure, then I got more problems. My
> >> question is: how to change the configure file under my computer and
> >> compiler
> >> environment?
> >> I appreciate any help.
> >>
> >> Jiwen
> >>
> >>
> >
> > You do indeed need to set CC to icc, and rerun configure.
> >
> > Make sure you do a " make distclean" first.
> >
> > If configure doesn't work, look in config.log to see what the problem is. It
> > tries to run the C compiler in some simple ways. If they fail, then the C
> > compiler is not working, as far as configure is concerned.
> >
> > If you can't figure it out, send the output of configure and the config.log
> > file to us and we will see what we can figure out. Unfortunately this is not
> > an environment we have to test on here...
> >
> > Thanks,
> >
> > Ed
> >
> > Ticket Details
> > ===================
> > Ticket ID: GUD-694571
> > Department: Support netCDF
> > Priority: Normal
> > Status: Closed
>
>
>
Ticket Details
===================
Ticket ID: GUD-694571
Department: Support netCDF
Priority: Normal
Status: Closed