Generate a working directory, e.g.
Copy your input file (your.inp) into this directory. Note that the name
of the input file in the working directory must be deMon.inp.
Also copy or link the AUXIS, BASIS, D3CFS, ECPS, FFDS and MCPS files into this directory.
These files are located in the $CREX_ROOT/deMon directory
(see Figure 1, right panel). Assuming the default value /usr/local
for $CREX_ROOT, you should execute the commands
cp your.inp /tmp/job/deMon.inp
cp /usr/local/deMon/AUXIS /tmp/job/AUXIS
cp /usr/local/deMon/BASIS /tmp/job/BASIS
cp /usr/local/deMon/ECPS /tmp/job/ECPS
cp /usr/local/deMon/FFDS /tmp/job/FFDS
cp /usr/local/deMon/MCPS /tmp/job/MCPS
cp /usr/local/deMon/D3CFS /tmp/job/D3CFS
Change to the directory
Start the execution of deMon2k by typing
The * denotes the kind of deMon2k version, e.g. opt,
you are using for your calculation. If you want to run the program in the
background in order to continue working in the foreground you have to start
the executable by typing
nohup /usr/local/deMon/x.y.z/object.*/deMon.x.y.z.* &
In case of the parallel executable (* = mpi) the execution has to be
started according to the rules of the installed MPI system. In case of MPICH
or OpenMPI the execution has to be started by typing
mpirun -np N /usr/local/deMon/x.y.z/object.mpi/deMon.x.y.z.mpi
Here N denotes the number of CPU cores one wants to use. If the calculation
is spread over physically different nodes, one has to assure that the working
directory exists on each node.
Output from the calculation is in the file deMon.out.