Wavewatch module installation

From Gerris

(Difference between revisions)
Jump to: navigation, search
Revision as of 13:55, 3 November 2009
Popinet (Talk | contribs)

← Previous diff
Current revision
Popinet (Talk | contribs)

Line 11: Line 11:
# compile and install the code following the installation instructions in the [http://polar.ncep.noaa.gov/mmab/papers/tn276/MMAB_276.pdf version 3.14 user manual] # compile and install the code following the installation instructions in the [http://polar.ncep.noaa.gov/mmab/papers/tn276/MMAB_276.pdf version 3.14 user manual]
-After these steps have been completed you need to reconfigure the [[Installing from source|Gerris source code]] and compile install the Gerris wavewatch module:+After these steps have been completed you need to reconfigure the [[Installing from source|Gerris source code]] and compile and install the Gerris wavewatch module:
<pre> <pre>
% cd $HOME/local/src/gerris-stable % cd $HOME/local/src/gerris-stable

Current revision

To install the wavewatch module, the source code for WaveWatch III version 2.22 or 3.14 needs to be installed first. Version 2.22 of wavewatch is public domain, whereas version 3.14 is distributed under a license prohibiting redistribution.

To install version 2.22 of WaveWatch III, you need to:

  1. download the source code
  2. follow the installation instructions in the version 2.22 user manual

To install version 3.14 of WaveWatch III, you need to:

  1. agree to the term and conditions of the license
  2. send a "source code request"
  3. download the source code using the user/password you received
  4. compile and install the code following the installation instructions in the version 3.14 user manual

After these steps have been completed you need to reconfigure the Gerris source code and compile and install the Gerris wavewatch module:

% cd $HOME/local/src/gerris-stable
% ./configure --prefix=$HOME/local
% cd modules
% make install

bin/comp compiler commands for gfortran/linux

path_obj="`grep WWATCH3_DIR $HOME/.wwatch3.env | awk '{print $2}'`/obj"
opt="-c -g -Wall -Wno-unused -ffpe-trap=invalid,zero,overflow"
f95 -J$path_obj $opt $name.$fext > $name.out 2> $name.err
OK="$?"

if [ -s $name.lst ]
then
   mv $name.lst $name.l
fi

bin/link linker commands for gfortran/linux

f95 -o $prog $objects                             > link.out 2> link.err
OK="$?"
communication