Yapp can only be linked in once, there's no dispatcher yet, and different versions of the program exist for different graphics output (printers also) devices.
It would be nice to have more general dispatcher, which fully utilizes the yapp= system keyword, may be used such that only one compiled version of the program is needed.
E.g. on the SUN we could use:
We use the environment variable YAPPLIB in Makefile's. This environment variable is also set by your local NEMO guru in NEMORC.local file (normally initialized by reading it by a users .cshrc file) or you have to add them specifically to your .cshrc file. This makes it easier to install a new version of NEMO where a different graphics package will been used.
In some older versions of NEMO some of the Makefile's may have not been modified to have these flexible setups, or the variable.
Sometimes, the need occurs for a specific YAPP interface, besides default one. Programs which specifically address a graphics device have the base name (e.g. snapplot, appended with an underscore and the device ID, e.g. snapplot_ps or snapplot_cg. Best is to check the $NEMOBIN directory.
The installer should carefully read the Makefile and/or README file in the directory $NEMO/src/kernel/yapp for instructions regarding specific installations of yapp interfaces.
Programs would have to be recompiled manually, as in the following example, because most Makefile's have hardwired graphics library names in them:
% make snapplot YAPPLIB="$YAPP_PS" % mv snapplot $NEMOBIN/snapplot_ps