[ncl-install] 回复: Fwd: Status of NCL under MacOS 10.6 (64-bit)

Xuguang Sun sunxg007 at yahoo.com.cn
Thu Nov 19 18:17:38 MST 2009


Mary,

The information for f77 compiler is,

[x_sun at climate7 ~/work]%which f77
/opt/SUNWspro/bin/f77
[x_sun at climate7 ~/work]%ls -l /opt/SUNWspro/bin/f77
lrwxrwxrwx    1 root     other          16 Nov 16  2004 /opt/SUNWspro/bin/f77 -> ../WS6U2/bin/f77
[x_sun at climate7 ~/work]%

for cc compiler is,

[x_sun at climate7 ~/work]%which cc
/opt/SUNWspro/bin/cc
[x_sun at climate7 ~/work]%ls -l /opt/SUNWspro/bin/cc
lrwxrwxrwx    1 root     other          15 Nov 16  2004 /opt/SUNWspro/bin/cc -> ../WS6U2/bin/cc
[x_sun at climate7 ~/work]%


and for the version of Solaris is,

[x_sun at climate7 ~/work]%uname -a
SunOS climate7 5.8 Generic_117350-62 sun4us sparc FJSV,GPUZC-M Solaris
[x_sun at climate7 ~/work]%

You said it's the problem of f77 compiler, then how to solve it? Thanks.

Best regards,

Xuguang



--- 09年11月20日,周五, Mary Haley <haley at ucar.edu> 写道:

> 发件人: Mary Haley <haley at ucar.edu>
> 主题: Re: 回复: Fwd: Status of NCL under MacOS 10.6 (64-bit)
> 收件人: "Xuguang Sun" <sunxg007 at yahoo.com.cn>
> 抄送: gchen9 at gmail.com, dbrownjr at umn.edu, ncl-install at ucar.edu
> 日期: 2009年11月20日,周五,上午7:53
> Xuguang,
> 
> It looks like you are having problems with your "f77"
> compiler, as it  
> is unable to compile a Fortran file that we have compiled
> hundreds of  
> times on other systems with other compilers.
> 
> Which "f77" compiler are you using on your system? 
> You can type:
> 
>    which f77
> 
> Also, which C compiler?
> 
>    which cc
> 
> Finally, what version of Solaris are you running?
> 
>     uname -a
> 
> --Mary
> 
> On Nov 18, 2009, at 10:55 PM, Xuguang Sun wrote:
> 
> > Hi Mary,
> >
> > Firstly, thanks a lot for all your good suggestions.
> >
> > Finally, I found the file "stdint.h" in my system, and
> added it to  
> > the search path.
> >
> > According to the installation guide, I successfully
> installed JPEG,  
> > zlib, NetCDF(without  "classic" NetCDF-4
> support), szip, HDF-4. And  
> > during the processes of installation of NCL, I chose
> HDF-4 support  
> > and also added the proper path for the libs. However,
> even though I  
> > did what I should do, I cannot successfully install
> the ncl, there  
> > is no ncl executable generated. why?
> >
> > please find the make-output in the attachment.
> >
> > Best regards,
> >
> > Xuguang
> >
> >
> > --- 09年11月17日,周二, Mary Haley <haley at ucar.edu>
> 写道:
> >
> >> 发件人: Mary Haley <haley at ucar.edu>
> >> 主题: Re: 回复: Fwd: Status of NCL under
> MacOS 10.6 (64-bit)
> >> 收件人: "Xuguang Sun" <sunxg007 at yahoo.com.cn>
> >> 抄送: "guangshan chen" <gchen9 at gmail.com>
> >> 日期: 2009年11月17日,周二,上午7:57
> >> Xuguang,
> >>
> >> It looks like you are running into some kind of
> system
> >> problem.
> >>
> >> There are several errors like this:
> >>
> >> "./sunraster.h", line 17: cannot find include
> file:
> >> <stdint.h>
> >>
> >> This is a standard C include file that should be
> on your
> >> system. Your
> >> C compiler should find it automatically, unless
> your C
> >> compiler
> >> wasn't installed properly.
> >> The file should probably be in /usr/include.
> >>
> >> You can't ignore HDF4 unfortunately. You *must*
> install
> >> this if you
> >> are planning to build NCL. It is optional if you
> only plan
> >> to build
> >> NCAR Graphics.
> >>
> >> --Mary
> >>
> >> On Nov 16, 2009, at 3:30 AM, Xuguang Sun wrote:
> >>
> >>> Hi Guangshan,
> >>>
> >>> This is the make-output file when I choose no
> HDF and
> >> run make
> >>> Everything >& make-output & again.
> However,
> >> there is also no ncl
> >>> executable. why?
> >>>
> >>> Thanks.
> >>>
> >>> Best regards,
> >>>
> >>> Xuguang
> >>>
> >>> --- 09年11月16日,周一, guangshan chen
> <gchen9 at gmail.com>
> >> 写
> >>> 道:
> >>>
> >>>> 发件人: guangshan chen <gchen9 at gmail.com>
> >>>> 主题: Re: 回复: Fwd: Status of NCL
> under
> >> MacOS 10.6 (64-bit)
> >>>> 收件人: "Xuguang Sun" <sunxg007 at yahoo.com.cn>
> >>>> 日期:
> 2009年11月16日,周一,下午2:43
> >>>> No.
> >>>>
> >>>> If you don't want HDF, when you run
> configure -v,
> >> you
> >>>> should choose no HDF.
> >>>>
> >>>> On Nov 15, 2009, at 11:55 PM, Xuguang Sun
> wrote:
> >>>>
> >>>>> If I don't want HDF, I think I can
> just ignore
> >> it.
> >>>> right?
> >>>>>
> >>>>> Thanks.
> >>>>>
> >>>>> Xuguang
> >>>>>
> >>>>>
> >>>>> --- 09年11月16日,周一,
> guangshan chen
> >> <gchen9 at gmail.com>
> >>>> 写道:
> >>>>>
> >>>>>> 发件人: guangshan chen <gchen9 at gmail.com>
> >>>>>> 主题: Re: 回复: Fwd: Status
> of NCL
> >> under
> >>>> MacOS 10.6 (64-bit)
> >>>>>> 收件人: "Xuguang Sun" <sunxg007 at yahoo.com.cn>
> >>>>>> 日期:
> >> 2009年11月16日,周一,下午12:55
> >>>>>> You don't have hdf4 installed.
> >>>>>>
> >>>>>> Because can't find hdf/hdf.h. If
> you want
> >> HDF,
> >>>> please
> >>>>>> install it according to web.
> >>>>>>
> >>>>>> On Nov 15, 2009, at 10:25 PM,
> Xuguang Sun
> >> wrote:
> >>>>>>
> >>>>>>> Hi GuangShan,
> >>>>>>>
> >>>>>>> Please find the make-out file
> in the
> >>>> attachment.
> >>>>>>>
> >>>>>>> Thanks.
> >>>>>>>
> >>>>>>> Best regards,
> >>>>>>>
> >>>>>>> Xuguang
> >>>>>>>
> >>>>>>> --- 09年11月16日,周一,
> >> guangshan chen
> >>>> <gchen9 at gmail.com>
> >>>>>> 写道:
> >>>>>>>
> >>>>>>>> 发件人: guangshan chen
> <gchen9 at gmail.com>
> >>>>>>>> 主题: Re: 回复: Fwd:
> Status
> >> of NCL
> >>>> under
> >>>>>> MacOS 10.6 (64-bit)
> >>>>>>>> 收件人: "Xuguang Sun"
> <sunxg007 at yahoo.com.cn>
> >>>>>>>> 日期:
> >>>> 2009年11月16日,周一,上午11:27
> >>>>>>>> Hi Xuguang,
> >>>>>>>>
> >>>>>>>> I saw Mary sent an email
> to you.
> >> She asks
> >>>> for the
> >>>>>>>> "make-output" file. We
> only can
> >> know what
> >>>> is wrong
> >>>>>> after
> >>>>>>>> checking the file.
> >>>>>>>>
> >>>>>>>> The other way is to check
> what is
> >>>> libm.so.2. You
> >>>>>> can just
> >>>>>>>> install this..
> >>>>>>>>
> >>>>>>>> Guangshan
> >>>>>>>>
> >>>>>>>> On Nov 15, 2009, at 9:19
> PM,
> >> Xuguang Sun
> >>>> wrote:
> >>>>>>>>
> >>>>>>>>> Hi Guangshan,
> >>>>>>>>>
> >>>>>>>>> Thank you for your
> reply..
> >>>>>>>>>
> >>>>>>>>> My system is SunOS,
> the
> >> detail
> >>>> information is
> >>>>>> the
> >>>>>>>> following,
> >>>>>>>>>
> >>>>>>>>> [x_sun at climate7
> >>>>>> ~/work/NCL/ncl_ncarg-5.1.1]%uname
> -a
> >>>>>>>>> SunOS climate7 5.8
> >> Generic_117350-62
> >>>> sun4us
> >>>>>> sparc
> >>>>>>>> FJSV,GPUZC-M Solaris
> >>>>>>>>>
> >>>>>>>>> I've downloaded the
> >> pre-compiled
> >>>> binary for
> >>>>>> SunOS, but
> >>>>>>>> when I run ncl executable,
> the
> >> libm.so.2
> >>>> is
> >>>>>> required, but
> >>>>>>>> it's not installed in my
> system
> >> except
> >>>> libm.so.1.
> >>>>>> So I have
> >>>>>>>> to compile the ncl in my
> system
> >> from the
> >>>> source
> >>>>>> code.
> >>>>>>>> However, I have a problem
> to
> >> compile ncl,
> >>>> that is
> >>>>>> everything
> >>>>>>>> seems ok except the ncl
> executable
> >> is not
> >>>>>> successfully
> >>>>>>>> compiled. I just want to
> know why.
> >> Do you
> >>>> have any
> >>>>>> idea
> >>>>>>>> about that? Thanks.
> >>>>>>>>>
> >>>>>>>>> Best regards,
> >>>>>>>>>
> >>>>>>>>> Xuguang
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>>> ---
> 09年11月15日,周日,
> >>>> guangshan chen
> >>>>>> <gchen9 at gmail.com>
> >>>>>>>> 写道:
> >>>>>>>>>
> >>>>>>>>>> 发件人:
> guangshan chen
> >> <gchen9 at gmail.com>
> >>>>>>>>>> 主题: Fwd:
> Status of NCL
> >> under
> >>>> MacOS
> >>>>>> 10..6
> >>>>>>>> (64-bit)
> >>>>>>>>>> 收件人:
> "Xuguang Sun"
> >> <sunxg007 at yahoo.com.cn>
> >>>>>>>>>> 日期:
> >>>>>>
> 2009年11月15日,周日,下午10:26
> >>>>>>>>>> Hi Xuguang,
> >>>>>>>>>> There are many
> problem to
> >> build
> >>>> NCL under
> >>>>>> MacOS
> >>>>>>>>>> 10.6.
> >>>>>>>>>> What is your
> system?
> >>>>>>>>>> Now It is better
> to used
> >>>> pre-compiled NCL
> >>>>>> binary
> >>>>>>>>>> file that you find
> on NCL
> >> download
> >>>> web
> >>>>>> page.
> >>>>>>>>>> Guangshan
> >>>>>>>>>>
> >>>>>>>>>> Begin forwarded
> message:
> >>>>>>>>>> From:
> >>>>>>>>>> Mary Haley
> >>>>>>>>>> <haley at ucar.edu>
> >>>>>>>>>> Date:
> >>>>>>>>>> November
> >>>>>>>>>> 11, 2009 1:55:16
> PM CST
> >>>>>>>>>> To:
> >>>>>>>>>> ncl forum
> >>>>>>>>>> <ncl-talk at ucar.edu>,
> >>>>>>>>>> ncl-install NCL
> <ncl-install at ucar.edu>
> >>>>>>>>>> Cc:
> >>>>>>>>>> guangshan
> >>>>>>>>>> chen <gchen9 at gmail.com>
> >>>>>>>>>> Subject:
> >>>>>>>>>> Status
> >>>>>>>>>> of NCL under MacOS
> 10.6
> >> (64-bit)
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>>
> >>>>>>>>>> Hi folks,
> >>>>>>>>>> I've been working
> offline
> >> with
> >>>> Guangshan
> >>>>>>>>>> Chen who attempted
> to
> >> build NCL
> >>>> V5.1.1 on
> >>>>>> a 64-bit
> >>>>>>>> Mac OS
> >>>>>>>>>> 10.6 (snow
> leopard)
> >> system.
> >>>>>>>>>> Unfortunately,
> there was
> >> a
> >>>> problem
> >>>>>> building the
> >>>>>>>>>> HDF4 library, and
> the HDF
> >> folks do
> >>>> not
> >>>>>> have a fix
> >>>>>>>> yet.
> >>>>>>>>>>
> >>    Guangshan contacted
> >>>> them
> >>>>>> and they responded
> >>>>>>>> that they
> >>>>>>>>>> will be getting
> such a
> >> system soon
> >>>> and
> >>>>>> hope to get
> >>>>>>>> it
> >>>>>>>>>> working.
> >>>>>>>>>> Until this
> happens,
> >> building NCL
> >>>> from
> >>>>>> source
> >>>>>>>>>> code will not be
> possible,
> >> because
> >>>> HDF4 is
> >>>>>> not an
> >>>>>>>> optional
> >>>>>>>>>> package.
> >>>>>>>>>> You should still
> be able
> >> to run a
> >>>>>> precompiled
> >>>>>>>>>> binary built under
> Mac OS
> >> 10.5.
> >>>> This will
> >>>>>> be a
> >>>>>>>> 32-bit
> >>>>>>>>>> binary,
> however.  If
> >> you need
> >>>> to run
> >>>>>> WRAPIT,
> >>>>>>>> you will
> >>>>>>>>>> need to make a
> change to
> >> it so it
> >>>> uses the
> >>>>>> 32-bit
> >>>>>>>>>> compiler.
> >>>>>>>>>> Guangshan provided
> a fix,
> >>>> see:  http://www.ncl.ucar.edu/Support/install_archives/ 
> >>>> 2009/0295.html
> >>>>>>>>>> --Mary
> >>>>>>>>>>
> >>>>>>>>>>
> >>>
> >>>>
> >>>
> >>>
> >>>
> >>   
> ___________________________________________________________
> >>>   
> 好玩贺卡等你发,邮箱贺卡全新上线!
> >>> http://card.mail.cn.yahoo.com/<make-output>
> >>
> >>
> >
> >
> >   
>    ___________________________________________________________
> >   好玩贺卡等你发,邮箱贺卡全新上线!
> > http://card.mail.cn.yahoo.com/<make-output>
> 
> 


      ___________________________________________________________ 
  好玩贺卡等你发,邮箱贺卡全新上线! 
http://card.mail.cn.yahoo.com/



More information about the ncl-install mailing list