This document is to help a CMISS user create their own local version of CMISS.
The primary use of this is to link in a CMISS user module (primary example being
to link in cell modules to CMISS).
It works by compiling the user module in a local directory and then linking this in with the main CMISS objects to create a local executable. This linking can be done statically (all objects, libraries are compiled into the executable) or dynamically (objects, libraries loaded at run time). There are also options to create multiprocessing, optimised and 64/n32 bit executables.
setenv CMISS_ROOT /usr/local/cmissIf, for example, you are using a C shell. You may want to put this in your .cshrc (or whatever) file.
cd ~ mkdir mycm cd mycm
cp $CMISS_ROOT/mycm/Makefile .
cp $CMISS_ROOT/mycm/source/feuser_cell.f source/
gmakeThis will create a dso directory (dynamic - see below) or bin directory (static) with your executable in it. Subsequent alterations to the source should be followed by re-executing gmake.
There are now a few Makefile macros/targets that you can use to create different executables/linking options, clean up, or generate help. These macros/options are outlined here: