Finding the method how to install program takes several paths:
First, if a file $NEMO/src/scripts/mknemo.d/program exists, it is assumed to be a shell script with directions how to install this program. gyrfalcON is an example of such a complex program.
Next, within the $NEMO/src (optionally also the $NEMO/usr tree) a source file program.c (or C++ or Fortran) is looked for, which is compiled with a local Makefile (or a template if none is available). tsf is an example of this type of program.
Finally, if still no source code is found, a directory with the name program is searched for, and a local Makefile is then used to install the program. hackcode1 is am example of this type of program.
After the binary is moved over to $NEMOBIN, the script mkpdoc is called to see if the doc(5) file needs to be updated.
-c CODE search for CODE.c to set the directory for target(s) -n N selection of N-th element from unresolved list  -s DIR root directory to start search [$NEMO/src] -a also search $NEMO/usr -r remove lockfile before starting -d also make doc file (only for true NEMO programs) -t cleanup after having made the binaries -T cleanup before making the binaries -u update your NEMO cvs tree before (re)making -l recompile the library before (re)making -g use gmake, instead of make -v more verbose, it will report version and cvsid of program
firstn nbody code glnemo glnemo graphics gyrfalcON falcON tools (gyrfalcON, mkplum, the acc’s and manip’s) rotcur rotcur program (there is also a confusing rotcur potential(5NEMO))
$NEMO/src/scripts/mknemo.d directory with non-default control files for mknemo $NEMOLIB/NEMORC environment variables $NEMOLIB/makedefs make variables $NEMOLIB/libnemo.a main NEMO library $NEMOLIB/yapp*.o various device drivers $NEMO/src source tree searched for programs/directories $NEMO/adm/install/mknemo.log logfile of all previous installs done $NEMO/adm/install/mknemo.lock lockfile, to prevent multiple usage
21-jun-91 V1.0: doc created PJT 25-jun-91 V1.1: added lockfile PJT 4-apr-01 V1.3: added extension making for NEMO V3 PJT 20-jun-03 V1.4: added -u flag PJT 16-dec-03 V1.5: added -l flag, also cloned sbin/mkstarlab PJT 11-jun-04 V2.4: added -a flag PJT
Table of Contents