[ncl-install] NCL on a cluster with GCC
Mary Haley
haley at ucar.edu
Wed Aug 18 15:28:23 MDT 2010
Hi Tommi,
When you run the NCL "./Configure" program, it should have asked you the following question:
Enter local library search path(s) :
This is where you enter the paths for the various software packages.
For example, if NetCDF is installed to /usr/local/netcdf, and HDF to /usr/local/hdf,
then you would enter:
/usr/local/netcdf/lib /usr/local/hdf/lib
for this question (no commas or quotes). Of course, you need to include any other non-standard
library paths that you need.
Ditto for the include file question, but enter:
/usr/local/netcdf/include /usr/local/hdf/include
Once you are done running "./Configure", you should see a file "config/Site.local"
with a line like:
#define LibSearch -L/usr/local/netcdf/lib -L/usr/local/hdf/lib
#define IncSearch -I/usr/local/netcdf/include -I/usr/local/hdf/include
You can modify this file directly if you want, to modify these two lines.
I generally don't recommend modifying this file, unless you know what
you're doing.
If you make a change to this file, then you need to regenerate all the Makefiles
and start the compile from where it left off:
cd $NCARG
make Makefiles includes depend all install >&! make-output.2
--Mary
On Aug 18, 2010, at 5:01 AM, Tommi Bergman wrote:
>
> Hello,
>
> I'm trying to install NCL on a machine that has a module environment. In
> this environment the compiler specific and other libraries and includes
> are not located in their usual locations.
>
> Now I'm wondering where I must define netcdf and hdf library locations in
> order for the configure to find them properly? Now I'm all the time ending
> up with having only part of the package compiled and I can see from the
> log that it doesn't find all the necessery libraries.
>
> Best regards,
> Tommi Bergman
>
>
> --
> Tommi Bergman
> Application Specialist
> CSC - IT Center for Science
> PO. BOX 405, FI-02101 Espoo, Finland
> Tel +358 9 457 2927, email:tommi.bergman at csc.fi
>
> _______________________________________________
> ncl-install mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-install
More information about the ncl-install
mailing list