Compile and link the TUSTEP programs
- unpack tustep_cmplnk.zip into an empty directory
- Windows:
- open a MS-DOS command window, use the cd command to make
this directory the current directory
- adjust the contents of the f-cmp.bat file;
it must contain the call of the Fortran-compiler for compiling.
- adjust the contents of the c-cmp.bat file;
it must contain the call of the C-compiler for compiling.
- adjust the contents of the f-lnk.bat file;
it must contain the call of the linker for Fortran programs.
- adjust the contents of the c-lnk.bat file;
it must contain the call of the linker for C programs.
- adjust the contents of the ./all/version.h file:
"?????????" must be replaced by a version identifier
(e.g. "Uni Town 2022") for the TUSTEP version to create.
The identifier may comprise up to 40 characters.
- start cmplnk.bat
- Linux and macOS:
- in a terminal window, use the command cd to make this
directory the current directory
- adjust the contents of the f-cmp file;
it must contain the call of the Fortran-compiler for compiling.
- adjust the contents of the c-cmp file;
it must contain the call of the C-compiler for compiling.
- adjust the contents of the f-lnk file;
it must contain the call of the linker for Fortran programs.
- adjust the contents of the c-lnk file;
it must contain the call of the linker for C programs.
- adjust the contents of the ./all/version.h file:
"?????????" must be replaced by a version identifier
(e.g. "Uni Town 2022") for the TUSTEP version to create.
The identifier may comprise up to 40 characters.
- run the shell-script ./cmplnk linux
resp. ./cmplnk macos
- After this, in the directory ./tustep, TUSTEP should be ready for execution.