Installation on MS Windows (Watcom version)
This version provides an Interactive Development Environment to do
program modifications, if you have the free Open Watcom compiler.
However, you cannot get my tools this way. (Though you could install
them from ranlib.zip and tools.zip of the other Windows installation
page.)
Getting the code
Make a folder for the code. You need
the source code with my bug fixes. Save this link to
your code directory, unzip and it will create a folder "mdwat0" with
many subfolders. You also need the actual program
directory with my mods. If you unzip this, it will create
another folder, "mdexe", in addition to mdwat0.
Running the code
To run the program
- Create a coord.d file using the separate program chiral,
maketube, or other. Put it in the mdexe folder.
(There is a diamond.d file in mdwat0, but that one crashes for some
reason.)
- Edit input.d in the mdexe folder to set the run parameters.
- Run main.exe. Or, to avoid the screen disappearing on termination,
run main.bat instead.
- Examine output.d (and other files) for the results.
Making changes
If you need to make changes in the code (increasing storage,
changing parameters, ...), you will need to rebuild the main.exe
executable. You can do that as follows:
- Download and install the Open Watcom Fortran compiler, available
for free from Open Watcom.
- In Windows 95-ME, you may need to declare some more environment
space using the line:
shell=c:\command.com /e:1024 /p
in your config.sys file.
- Make sure you:
call c:\watcom\setvars.bat
in your autoexec.bat file or elsewhere.
- Reboot
- Enter the Watcom IDE. Turn off the "unreferenced variable"
warnings in Options/Fortran Compiler Switches. Open the project
main.wpj in the mdwat directory. Select 'Make All'.
Return