Skip to content

Commit 573e9ee

Browse files
author
ansley
committed
move README instructions to main FERRET directory
git-svn-id: file:///home/users/tmap/svn/repos/ferret/trunk@12535 fdbf22ae-c210-0410-be80-ca943da6b8f8
1 parent 937719c commit 573e9ee

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

README_build_ferret

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
As of August 2011 we now have a single make procedure for compiling and linking Ferret.
2+
3+
4+
NetCDF4. or higher is required for building Ferret. The library netcdf4.2 or higher
5+
is recommended. For building the libraries and Ferret, we have used
6+
gfortran. The netcdf downloads can be found here: http://www.unidata.ucar.edu/software/netcdf/.
7+
Build netcdf4.+ with the appropriate vesion of hdf5 given in the netCDF instructions; and with
8+
--enable-fortran in the configuration. Specify the hdf5 libraries, --enable-netcdf-4
9+
--enable-dap for for netcdf-4 features and OPeNDAP dataset access.
10+
11+
The current official release of Ferret is linked with netcdf4.2 and has syntax for
12+
writing netcdf4 datasets (hdf5 chunking and compression.) See the release notes
13+
for Ferret v6.6 at http://porter.pmel.noaa.gov/Ferret/home/documentation/v6-6-release-notes
14+
15+
16+
To build Ferret:
17+
18+
* Under the FERRET directory you will find a file called site_specifid.mk. Edit this file
19+
and insert the locations of the HDF5, NetCDF, and readline directories, and java. Java is
20+
used only for the ThreddsBrowser facility of Ferret and is not required.
21+
22+
* Still in the top-level FERRET directory, run "make". This will compile and link Ferret,
23+
gksm2ps, external functions, and the fonts files. The Ferret executable is the file
24+
FERRET/fer/ferret_c
25+
26+
27+
* as it finishes, you will see a line similar to
28+
29+
make[1]: Leaving directory '/home/users/ansley/linux/FERRET/bin/build_fonts/unix'
30+
31+
Take note of this directory.
32+
33+
34+
* Get the environment tar file for one of our linux versions. You will need the go scripts,
35+
and palette files. See the bin/Finstall script and the Ferret installation instructions for
36+
details about setting up the environment to run Ferret. You could run Finstall as described
37+
in the installation instructions, but replace the binary file "ferret_vxx" with the executable
38+
you have built, and bin/ppl/fonts/ with the fonts files in .../FERRET/bin/build_fonts/unix
39+
40+
* Once you have an executable, go into the FERRET/bench directory to run tests. There is a
41+
simple README file which will get you started with running the Ferret benchmark scripts.
42+
You will run a shell script called "run_all" which starts the benchmark job.

0 commit comments

Comments
 (0)