To install NGSolve together with Netgen, you have to obtain first both packages from www.sfb013.uni-linz.ac.at/joachim/netgen. It is recommended to use CVS checkout:
setenv CVS_RSH ssh cvs -d :ext:firstname.lastname@example.org:/cvs/netgen co netgen
This should give you the directory tree netgen. After that, change into netgen, and checkout ngsolve:
cvs -d :ext:email@example.com:/cvs/netgen co ngsolve
You have to change a few files to compile and initialize the NGSolve module:
appngs = lib/$(MACHINE)/*.o -lngsolvebasicis commented in (currently line 63). This will link the necessary object and library files.
Comment in the line (currently line 91)
cd ngsolve; $(MAKE);to compile the NGSolve package.
#define NGSOLVEis commented in (currently line 232).
After that, you compile Netgen/NGSolve as you compile Netgen:
> cd netgen > setenv MACHINE LINUX > make
The make includes the machine dependent makefile libsrc/makefile.mach.$(MACHINE). Please set MACHINE to the environment most similar to yours.
This should give you the binary ng.