-
Notifications
You must be signed in to change notification settings - Fork 0
netCDF module for the S-Lang interpreter
License
jedsoft/slnetcdf
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This distribution contains code for the S-Lang netcdf module. See the documentation in the doc/ directory for information about using the module once it has been installed. To build the module, you will need to have following additional libraries installed: 1. Version 2 of slang library <http://www.jedsoft.org/slang/>. The module will not work with version 1. 2. A recent version of the netcdf library. Debian users can install the netcdf library using apt-get install libnetcdf-dev You must run the configure script before you can compile the module. If the slang library is installed in a non-standard location, then you will need to specify the location of the library as arguments to the configure script. For example, suppose libslang.so is located in /home/bill/lib and its include file slang.h is located in /home/bill/include. Then one would run the configure script using: ./configure --with-slanglib=/home/bill/lib \ --with-slanginc=/home/bill/include or, the shorter form which assumes a common pathname prefix for the lib and include directories: ./configure --with-slang=/home/bill Similarly, if libnetcdf.so is not installed in a standard location, then you will need to use the --with-netcdfinc and --with-netcdflib, or --with-netcdf options. For example, if if libnetcdf.so is in /opt/soft/lib and netcdf/netcdf.h is in /opt/soft/include, then use --with-netcdf=/opt/soft as an argument to the configure script. (Note: On some systems, the netcdf.h may be installed in a netcdf subdirectory, i.e., /opt/soft/include/netcdf/netcdfy.h). You should also specify a location for the modules (*.so) and any associated script (*.sl) files created by this package. The default location for the modules is in $prefix/lib/slang/modules/ Any .sl files will be installed in $exec_prefix/share/slsh/local-packages/ where the values of the variable $prefix defaults to /usr/local, and that of $exec_prefix to the value of $prefix. These values may be changed using the --prefix and --exec-prefix configure script parameters. For example, to set the value of $prefix to /home/bill, use ./configure --prefix=/home/bill ... For more help using the configure script, run it using ./configure --help It is also a good idea to read the INSTALL.txt file located in this directory. Once the configure script has been run, you should inspect the Makefile that it generated in the src directory. Then building and installing the library should involve nothing more than: make make install You may have to have root privileges to peform the last step.
About
netCDF module for the S-Lang interpreter
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published