Commit 33b83817 authored by dumoda01's avatar dumoda01

Depot du modele / Model deposit

parent 8b8c0b75
This diff is collapsed.
Please read information and documentation on www.gotm.net
For the brave ones:
cd src; make
If you encounter errors during compilation please check the WWW-page:
http://www.gotm.net/
for further information and if that does not
help, e-mail users@gotm.net of the authors.
For testing we strongly recommaned downloading some of the prepared test caeses
from the above mentioned web-site.
Good luck, and remember to inform of further developments for inclusion,
exciting simulations etc.
The GOTM team.
#$Id: Makefile,v 1.16 2007-04-18 10:29:18 kbk Exp $
#
# Makefile for making new release of GOTM.
#
# Before doing - make release - be sure to commit all files.
# Remember to update - VERSION - for each new release
# 20010531
VERSION=2.3.5
# 20010531
VERSION=2.3.6
# 20010613
VERSION=2.3.7
# 20011118
VERSION=2.3.8
# 20030327
VERSION=3.1.0
# 20050627
VERSION=3.1.3
# 20050627
VERSION=3.1.3_bio
# 20050817
VERSION=3.2.0
# 20050817
VERSION=3.3.0
# 20051117
VERSION=3.3.1
# 20051228
VERSION=3.3.2
# 20070418
VERSION=4.0.0
all: VERSION
VERSION: Makefile
$(MAKE) distclean
@echo $(VERSION) > $@
@date > timestamp
@echo \#define RELEASE \"$(VERSION)\" > .ver
@mv -f .ver include/version.h
Makefile:
exec: VERSION
make -C src
gui: VERSION
make -C gui.py
devel stable branch: VERSION
@echo
@echo "making a new "$@" release: v"$(VERSION)
@echo
@. release.sh $@ $(VERSION)
distclean:
make -C doc/ $@
make -C src/ $@
$(RM) timestep VERSION include/version.h
$(RM) -r lib/ modules/
#-----------------------------------------------------------------------
# Copyright (C) 2001 - Hans Burchard and Karsten Bolding (BBH) !
#-----------------------------------------------------------------------
See installation instructions on www.gotm.net
# Set options for the Compaq fort compiler - on alphas.
ifeq ($(FORTRAN_COMPILER),DECFOR)
FC=f90
DEFINES += -DFORTRAN95
can_do_F90=false
can_do_F90=true
MODULES=-module $(MODDIR)
EXTRAS =
DEBUG_FLAGS = -g -arch host -check bounds -check overflow -check nopower -check underflow -std90 -assume gfullpath
DEBUG_FLAGS = -g -arch host -check bounds -check overflow -check nopower -assume gfullpath
PROF_FLAGS = -pg -O
PROD_FLAGS = -O -fast -inline speed -pipeline
#PROD_FLAGS = -O -fast -inline speed -unroll 1 -pipeline
DEFINES += -DREAL_4B=real\(4\)
endif
# Set options for the Fujitsu compiler - on Linux/Intel and SunOS.
ifeq ($(FORTRAN_COMPILER),FUJITSU)
FC=frt
can_do_F90=true
DEFINES += -DFORTRAN95
MODULES=-Am -M$(MODDIR)
EXTRAS = -ml=cdecl -fw
EXTRAS = -fw
DEBUG_FLAGS = -g -H aeus
PROF_FLAGS = -pg -O3
PROD_FLAGS = -O -K fast
DEFINES += -DREAL_4B=real\(4\)
endif
# Set options for the GNU Fortran 95 compiler
ifeq ($(FORTRAN_COMPILER),G95)
FC = g95
DEFINES += -DFORTRAN90
can_do_F90 = true
F90_to_f90 =
MODULES = -M $(MODDIR)
EXTRAS = -ffree-form -Wall -std=f95 -pedantic
DEBUG_FLAGS = -g
PROF_FLAGS = -p
PROD_FLAGS = -O3
DEFINES += -DREAL_4B=real\(4\)
NETCDFINC = /opt/local/include
NETCDFLIBDIR = /opt/local/lib
endif
# Set options for the GNU Fortran 95 compiler
ifeq ($(FORTRAN_COMPILER),GFORTRAN)
FC=gfortran
DEFINES += -DFORTRAN95
can_do_F90 = true
F90_to_f90 = $(FC) -E $(F90FLAGS) $(EXTRA_FFLAGS) $< > $@
#MODULES = -M $(MODDIR)
MODULES = -J $(MODDIR)
EXTRAS = -ffree-form -Wall -std=f95 -pedantic
DEBUG_FLAGS = -g
PROF_FLAGS = -p
PROD_FLAGS = -O0
DEFINES += -DREAL_4B=real\(4\)
NETCDFINC = /opt/local/netcdf-3.6.1/include
NETCDFLIBDIR = /opt/local/netcdf-3.6.1/lib
endif
# Set options for the Intel Fortran 95 compiler.
ifeq ($(FORTRAN_COMPILER),IFC)
FC=ifc
DEFINES += -DFORTRAN95
can_do_F90=true
F90_to_f90=$(FC) -E $(F90FLAGS) $(EXTRA_FFLAGS) $< > $@
F90_to_f90=
MODULES=
MODULES=-module $(MODDIR)
EXTRAS = -w95 -e95 -static
DEBUG_FLAGS = -g -C
PROF_FLAGS = -qp -p
PROD_FLAGS = -O3
DEFINES += -DREAL_4B=real\(4\)
EXTRA_LIBS += -lPEPCF90 -lpthread
endif
# Set options for the Intel Fortran 95 compiler - ver. 8.
ifeq ($(FORTRAN_COMPILER),IFORT)
FC=ifort
DEFINES += -DFORTRAN95
can_do_F90=true
F90_to_f90=
MODULES=
MODULES=-module $(MODDIR)
EXTRAS = -w95 -e95
EXTRAS = -w95
DEBUG_FLAGS = -g -C
PROF_FLAGS = -qp -p
PROD_FLAGS = -O3
DEFINES += -DREAL_4B=real\(4\)
endif
# Set options for the NAG Fortran compiler.
ifeq ($(FORTRAN_COMPILER),NAG)
FC=f95nag
DEFINES += -DFORTRAN95
can_do_F90=true
MODULES=-mdir $(MODDIR)
EXTRAS = -f77
DEBUG_FLAGS = -g -C=all -O0
PROF_FLAGS = -pg -O3
PROD_FLAGS = -O3
DEFINES += -DREAL_4B=real\(4\)
endif
# Set options for the Portland Group Fortran 90 compiler.
ifeq ($(FORTRAN_COMPILER),PGF90)
FC = pgf90
DEFINES += -DFORTRAN90
#can_do_F90 = false
can_do_F90 = true
F90_to_f90 = $(FC) -E $(F90FLAGS) $(EXTRA_FFLAGS) $< > $@
MODULES = -module $(MODDIR)
EXTRAS =
DEBUG_FLAGS = -g -Ktrap=fp -Mbounds
PROF_FLAGS = -Mprof=func
PROD_FLAGS = -O0 -r8 -i4 -byteswapio
DEFINES += -DREAL_4B=real\(4\)
NETCDFINC = /usr/local/netcdf-3.6.1/include
NETCDFLIBDIR = /usr/local/netcdf-3.6.1/lib
endif
# Set options for "xlf90" compiler on AIX systems
ifeq ($(FORTRAN_COMPILER),XLF)
FC=xlf90_r
DEFINES += -DFORTRAN95
can_do_F90=true
F90_to_f90=
MODULES=-qmoddir=$(MODDIR)
EXTRAS = -q32 -qsuffix=f=f90:cpp=F90
DEBUG_FLAGS = -d -g -qcheck
PROF_FLAGS = -g -pg
PROD_FLAGS = -O3 -qstrict
DEFINES += -DREAL_4B=real\(4\)
DEFINES:=-WF,"$(DEFINES)"
endif
#$Id: Makefile,v 1.13 2007-04-18 07:11:11 kbk Exp $
#
# Makefile for making the source code documentation.
#
SHELL = /bin/sh
SRCDIR = ../src
PROTEXSRC = gotm.tex \
meanflow.tex \
turbulence.tex \
airsea.tex \
observations.tex \
output.tex \
util.tex \
seagrass.tex \
bio.tex
TEXSRC = introduction.tex \
mainIntro.tex \
meanflowIntro.tex \
turbulenceIntro.tex \
airseaIntro.tex \
observationsIntro.tex \
outputIntro.tex \
utilIntro.tex \
extraIntro.tex \
cases.tex \
gotm.bib
TEXHTMLSRC = introduction.tex \
mainIntro.tex \
meanflowIntroHTML.tex \
turbulenceIntro.tex \
airseaIntro.tex \
observationsIntro.tex \
outputIntro.tex \
utilIntroHTML.tex \
extraIntro.tex \
cases.tex \
gotm.bib
.PHONY : all clean realclean distclean protex \
a4_dvi letter_dvi html_dvi \
a4_ps letter_ps html_ps \
a4_pdf letter_pdf html_pdf \
html_web
all: a4_pdf letter_pdf html_pdf html_web
# do the pdf-versions
a4_pdf: protex a4.pdf
letter_pdf: protex letter.pdf
html_pdf: protex html.pdf
# do the postscript-versions
a4_ps: protex a4.ps
letter_ps: protex letter.ps
html_ps: protex html.ps
# do the dvi-versions
a4_dvi: protex a4.dvi
letter_dvi: protex letter.dvi
html_dvi: protex html.dvi
# do the web-version
html_web: protex html
protex:
$(MAKE) realclean -C $(SRCDIR)
$(MAKE) doc -C $(SRCDIR)
a4.dvi: a4.tex $(TEXSRC) $(PROTEXSRC) figures
latex a4.tex
bibtex a4
latex a4.tex
latex a4.tex
latex a4.tex
letter.dvi: letter.tex $(TEXSRC) $(PROTEXSRC) figures
latex letter.tex
bibtex letter
latex letter.tex
latex letter.tex
latex letter.tex
html.dvi: html.tex $(TEXSRC) $(PROTEXSRC) figures
latex html.tex
bibtex html
latex html.tex
latex html.tex
latex html.tex
a4.ps: a4.dvi
dvips -o $@ a4.dvi
letter.ps: letter.dvi
dvips -o $@ letter.dvi
html.ps: html.dvi
dvips -o $@ html.dvi
a4.pdf: a4.ps
ps2pdf a4.ps
letter.pdf: letter.ps
ps2pdf letter.ps
html.pdf: html.ps
ps2pdf html.ps
html: html.dvi
latex2html -antialias_text -white html.tex
touch html
pdf_scp: a4.pdf letter.pdf
scp -r a4.pdf letter.pdf gotm@80.198.12.199:doc/
touch pdf_scp
html_scp: html
scp -r html/* gotm@80.198.12.199:html/
touch html_scp
figures:
wget -nd -nH -q http://www.gotm.net/data_files/gotm-figs-4.0.gz
tar -xvzf gotm-figs-4.0.gz
$(RM) gotm-figs-4.0.gz
clean:
$(RM) *.log *.toc *.aux *.bbl *.blg *.bac *~
realclean: clean
$(RM) *.dvi *.ps *.pdf
$(RM) -rf html/
$(RM) -rf $(PROTEXSRC)
distclean: realclean
$(RM) *.gz *.zip *.Z
$(RM) html html_scp pdf_scp
$(RM) -rf figures
#
#$Id: README,v 1.5 2005-07-18 07:56:19 lars Exp $
#
Currently, there are three versions of the GOTM documentation with the
names coded as "papertype.filetype". These are:
a4.filetype
letter.filetype
html.filetype
"filetype" can be dvi, ps, or pdf. To produce these files type "make
"papertype_filetype" in this directory. For example,
"make letter_pdf"
will create the documention in US-letter format, which
can be display with
"acroread letter.pdf".
Similarly, the files "a4.pdf" and "html.pdf" can be produced, where
"html.pdf" essentially corresponds to the paper version of the
GOTM web documentation. The web version is produced from the
latex source code by typing
"make html_web".
The html-pages are created by "latex2html" such that your result
depends on the variables you have set in ".latex2html-init" in
your home directory (or their defaults if you don't have this file).
To copy the html-pages to the server type "make html_scp".
This option is available only to those that have the password.
%
%$Id: a4.tex,v 1.5 2007-03-15 07:47:15 kbk Exp $
%
\documentclass[a4paper,twoside,11pt]{article}
% AMS math and symbols
\usepackage{amsmath,amsfonts,amssymb,amsbsy,latexsym}
% natural science bibliography
\usepackage[round]{natbib}
% definitions used in the GOTM-manual
\input definitions.tex
% graphics
\usepackage{graphics}
% to make pdf files look OK
\usepackage{ae}
% set page margins for print
\setlength{\evensidemargin}{-0.4mm}