NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

Re: [netcdfgroup] Sun Studio compiler on GNU/Linux

Am Tue, 02 Feb 2010 12:13:47 +0100
schrieb Thomas Orgis <Thomas.Orgis@xxxxxx>:

> Am Mon, 01 Feb 2010 08:58:59 -0700
> schrieb Ed Hartnett <ed@xxxxxxxxxxxxxxxx>:
> 
> > This occurs when the netCDF configure script can't figure out what
> > kind of fortran compiler you are using. The solution is to set
> > CPPFLAGS to -DpgiFortran, or -Df2cFortran (but not both at the same
> > time) and rerun configure.
> 
> OK, will try that (hm, I remember that flag from somewhere... I guess
> I needed it before for ifort 9). What confuses me is that I tried the
> flag for Sun Fortran already, which should be appropriate (well, this
> is Sun Studio...) and that only resulted in a variation of the error.

OK, that does not work:-(
I tried both -DpgiFortran and -Df2cFortran... the result is, as I recall, the 
same as when trying sunFortran:

"ncfortran.h", line 26: cannod find include file: "NF_INT_IS_C_... not defined"
[...]

(this is 4.2-beta2)


What's the magic here? Sun Studio is troubling me everywhere:-/
Ted: You got your experinence handy?


Alrighty then,

Thomas.

-- 
Dipl. Phys. Thomas Orgis
Atmospheric Modelling
Alfred-Wegener-Institute for Polar and Marine Research



  • 2010 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: