For my differential equations class, I ended up needing to use the ODE Architect software for part of one of my projects ( the Blood-Brain Pharmacokinetic Model). However, getting the program to run under WINE has a few tricks.
0.) Obtaining ODE Architect
- Navigate to http://www.wiley.com/college/brannan/.
- Select the appropriate “Visit the Companion Sites” link.
- On the right, select Login/Register.
- Enter your registration code.
- Fill out the registration form for new users and respond to the email it sends out.
- Go back to the “Visit the Companion Sites” link and log in.
- On the left there is an option to browse by resource. Select ODE Architect. It will download “odearchitecttool1.exe”.
1.) Installing ODE Architect
Installing and running requires wine. I am running the following version:
$ wine --version wine-1.0.1
If I can accomplish this with a version of wine this old, then I’m sure the newer 1.3 releases will do just fine.
$ wine odearchitecttool1.exe
in the directory where the exe file is.
- Follow all prompts to install.
- Now, navigate to ~/.wine/drive_c/odearch
- Attempt to run
$ wine ODEAT.EXE
- Observe error:
err:dosmem:DOSMEM_MapDosLayout Need full access to the first megabyte for DOS mode
Edit your /etc/sysctl.conf file:
# nano /etc/sysctl.conf
and at this to the bottom:
#odearchitect vm.mmap_min_addr = 0
and run the following command to apply the fix:
# sysctl -p
2.) Running ODE Architect
$ wine ODEAT.EXE
You might see some fixme notes:
fixme:toolhelp:InterruptRegister16 (0000, 0x11df00ba), stub. fixme:toolhelp:InterruptUnRegister16 (0000), stub.
Nothing you can do about that. Those are notes for wine devs. Regardless, I was able to execute the commands in my Blood-Brain Pharmacokinetics page no problem.
But what if I’m on windows?
Theoretically, it should work on windows without a problem. However, we’re now on Windows 7 and this is, from what I can tell, a 16-bit MS-DOS program. I’d say to try running the installer and program within DOS-Box if you can’t get compatibility mode to work for you.