Type: command
vemcompile - compiles a VECFEM FORTRAN program
vemcompile <workpiece> [<target_file>]
vemcompile compiles the FORTRAN program <workpiece>.f, which calls subroutines of the VECFEM (e.g. generated by vembuild or xvem). The default output file is the executable a.out, which can be started via vemrun. The optional parameter <target_file> specifies the name of the executable program. If <target_file> is not specified, the executable gets the name 'a.out'. In the vemcompile has to be called from the ksh shell.
By entering
~> vemcompile pde
into the shell pde.f is compiled and it is produced a.out.
The following variables are set by the executable script 'vempfade', which has be located in the path of executables (see PATH-variable). The following six variables has to be set by vempfade:
$VECFEM_ROOT |
path of the VECFEM root. |
$VECFEM_ALGABRA |
name of the used algebra program package used
|
$VECFEM_ARCH |
used computer architecture
The list may not be completed. |
$VEMRUN_OPTIONS |
options to start the program |
$VECFEM_SHELL |
used shell to execute command from (e.g ksh) |
$VECFEM_AWK |
used awk program:
|
<workpiece>.f |
FORTRAN program |
a.out |
generated executable |
<target_file> |
generated executable |
$VECFEM_ROOT/include/$VECFEM_ARCH/*.h |
include files |
$VECFEM_ROOT/$VECFEM_ARCH/libVECFEM3.a |
the VECFEM library |
In fact vemcompile executes the command
~> f77 -I $(VECFEM_ROOT)\include\$(VECFEM_ARCH) -L $(VECFEM_ROOT)\$(VECFEM_ARCH) -I $(VECFEM_ROOT)\$(VECFEM_ARCH) -lVECFEM3 pde.f
to compile pde.f .
VECFEM, xvem, vembuild, vemrun, vemhint
Program by L. Grosz, 1994-1996 Copyrights by Universitaet Karlsruhe 1989-1996. Copyrights by Lutz Grosz 1996. All rights reserved. More details see VECFEM..
By L. Grosz, Auckland, 31 May, 2000.