next up previous contents index
Next: 6.2 The NEMO Macro Up: 6. Introduction Previous: 6. Introduction   Contents   Index

6.1 The NEMO Programming Environment

The modifications necessary to your UNIX environment in order to access NEMO are extensively described in Appendix [*]. This not only applies to a user, but also to the application programmer, although for the latter the static environment is to be preferred here. Relevant environment variables are described in Appendix [*]

In summary, the essential changes to your environment consist of three additions to your local .cshrc startup file (or its equivalent if you don't use the csh-shell):

  1. set the environment variable NEMO to the location of the root directory of NEMO, and the NEMOHOST environment variable.

  2. source the startup file $NEMO/NEMORC.

  3. add $NEMOBIN to your search path in a convenient location (but before the system directories where the C compiler is located).

Although the environment variable NEMOHOST is used to allow the package to be shared across a number of different architectures (e.g. Sun3's and Sun4's), it is recommended to use this environment variable in a single-architecture environment

Once the NEMO environment is merged into your UNIX environment, most programs can be compiled as follows:

    cc -o try try.c -lnemo -lm


next up previous contents index
Next: 6.2 The NEMO Macro Up: 6. Introduction Previous: 6. Introduction   Contents   Index
(c) Peter Teuben