Compile and link the TUSTEP programs
- unpack tustep_cmplnk.zip into an empty directory
- Windows:
- Recommended compilers:
Microsoft Visual Studio for C programs (free of charge)
Intel Fortran Compiler for Fortran programs (free of charge)
- 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 2026") for the TUSTEP version to create.
The identifier may comprise up to 40 characters.
- start .\cmplnk.bat
- Linux and macOS:
- Recommended compilers: gfortran
- 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 2026") 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.