[ncl-install] NCL & PGI

Mary Haley haley at ucar.edu
Fri Jan 13 15:23:38 MST 2012


Thanks for providing the file.

There are a couple of problems.

The first one is that when you build HDF4, you have to tell it to install the HDF include files to a subdirectory "hdf", by using the --includedir option when you build HDF-4. For more information on this, see:

http://www.ncl.ucar.edu/Download/build_from_src.shtml#HDF4

The second problem is that it looks like you said "yes" to the question about whether you built NetCDF with NetCDF-4 support, but then you are linking against a NetCDF library that wasn't built with NetCDF 4 support turned on.

It's a bit confusing, because even if you download NetCDF 4.1.x and build it, you may not necessarily get NetCDF-4 support unless you include:

   --enable-netcdf-4 

on the "./configure" line when you build NetCDF.

You have two options here:

  1. Re-build NetCDF 4.1.x with the --enable-netcdf-4 option set.

  2. Re-run the "./Configure" program associated with NCL and answer "n" to the  question:

    "If you are using NetCDF V4.x, did you enable NetCDF-4 support?"


For information on building NetCDF with and without NetCDF-4 support, see:

http://www.ncl.ucar.edu/Download/build_from_src.shtml#NetCDF

--Mary


On Jan 13, 2012, at 7:40 AM, Jenkins, Mack wrote:

> Mary,
> 
> Thanks.  The file is attached.
> 
> --
> Mack J. Jenkins, II
> 404-385-1591
> mack.jenkins at eas.gatech.edu
> System Support Engineer II
> Earth & Atmospheric Sciences
> 
> ----- Original Message -----
> From: "Mary Haley" <haley at ucar.edu>
> To: "Mack Jenkins" <mack.jenkins at eas.gatech.edu>
> Cc: "Ted Mansell" <ted.mansell at noaa.gov>, ncl-install at ucar.edu
> Sent: Thursday, January 12, 2012 10:12:21 PM
> Subject: Re: [ncl-install] NCL & PGI
> 
> Hi Mack,
> 
> Can you email me the output file from the "make Everything"? I should be able to tell right away why the "ncl" executable didn't build.
> 
> It's likely that one of the external software packages that NCL depends on was either not built, or built with the wrong options.
> 
> --Mary
> 
> On Jan 12, 2012, at 1:02 PM, Jenkins, Mack wrote:
> 
>> Thanks to Ted and Mary for the assit.  This is my encounter with NCL, so I hope I do not ask and stupid questions.  
>> 
>> I copied the contents of LINUX.64.PGI to the LINU file in the config directory, and all seemed to compile.  The researchers using this system told me that there is no ncl binary.  I looked in the 'bin' directory, and there are a lot of files, but no ncl.  Were there any additional flags that I needed to give it?  I read through the INSTALL.txt file, but don't remember seeing anything that stood out as being extra important.
>> 
>> --
>> Mack J. Jenkins, II
>> 404-385-1591
>> mack.jenkins at eas.gatech.edu
>> System Support Engineer II
>> Earth & Atmospheric Sciences
>> 
>> ----- Original Message -----
>> From: "Ted Mansell" <ted.mansell at noaa.gov>
>> To: "Mack Jenkins" <mack.jenkins at eas.gatech.edu>
>> Cc: ncl-install at ucar.edu
>> Sent: Monday, January 9, 2012 11:33:14 AM
>> Subject: Re: [ncl-install] NCL & PGI
>> 
>> I just used LINUX.64.PGI, so you could try copying that to LINUX in the 'config' directory.
>> 
>> Are you having a specific error, or just not sure where to start?
>> 
>> Good luck,
>> 
>> -- Ted
>> 
>> On Jan 9, 2012, at 8:30 AM, Jenkins, Mack wrote:
>> 
>>> I have searched and I can not find a good point of reference, so I hope that someone here might be able to assist.  I am trying to install NCL, but use the pgf90 and pgcc.  I've seen other people on google searches ask this question, but I have yet to see an answer.  Can someone point me to a good reference, or, give me the correct ./Configure flag layout if you have it handy.
>>> 
>>> Thanks in advance.
>>> 
>>> --
>>> Mack J. Jenkins, II
>>> 404-385-1591
>>> mack.jenkins at eas.gatech.edu
>>> System Support Engineer II
>>> Earth & Atmospheric Sciences
>>> 
>>> _______________________________________________
>>> ncl-install mailing list
>>> List instructions, subscriber options, unsubscribe:
>>> http://mailman.ucar.edu/mailman/listinfo/ncl-install
>> 
>> _______________________________________________
>> ncl-install mailing list
>> List instructions, subscriber options, unsubscribe:
>> http://mailman.ucar.edu/mailman/listinfo/ncl-install
> 
> <ncl.log>



More information about the ncl-install mailing list