open_image(3)

NAME
open_image - Opens socket connection to IMAGE model

SYNOPSIS
#include "lpj.h"
Bool open_image(Config *config);

DESCRIPTION
Function opens communication channel to IMAGE model. Function is only available if LPJmL was compiled with -DIMAGE flag. The argument of open_image is:

config
    Pointer to LPJmL configuration data. Must be initialized by initmpiconfig() or initconfig() and read by readconfig().

RETURN VALUE
Upon successful completion FALSE is returned and TRUE in case of error.

AUTHORS
Werner von Bloh (Werner.von.Bloh@pik-potsdam.de), Sibyll Schaphoff (Sibyll.Schaphoff@pik-potsdam.de), Stefanie Rost (Jachner) (Stefanie.Rost@pik-potsdam.de), Marlies Gumpenberger (Marlies.Gumpenberger@pik-potsdam.de), Tim Beringer (Erbrecht) (Tim.Beringer@pik-potsdam.de), Christoph Mueller (Christoph.Mueller@pik-potsdam.de) Jens Heinke (Jens.Heinke@pik-potsdam.de), Hester Biemans (Hester.Biemans@wur.nl), Kirsten Thonicke (Kirsten.Thonicke@pik-potsdam.de), Ursula Heyder (Ursula.Heyder@pik-potsdam.de),

SEE ALSO
initmpiconfig(3), initconfig(3), close_image(3)