ASPENSMONSTER Just another WordPress site

May 20, 2011

Running ODE Architect under WINE in Linux

Filed under: Uncategorized — aspensmonster @ 10:01 pm

Flattr this!

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

  1. Navigate to
  2. Select the appropriate “Visit the Companion Sites” link.
  3. On the right, select Login/Register.
  4. Enter your registration code.
  5. Fill out the registration form for new users and respond to the email it sends out.
  6. Go back to the “Visit the Companion Sites” link and log in.
  7. 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

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.

  1. Run
    $ wine odearchitecttool1.exe

    in the directory where the exe file is.

  2. Follow all prompts to install.
  3. Now, navigate to ~/.wine/drive_c/odearch
  4. Attempt to run
    $ wine ODEAT.EXE
  5. Observe error:
    err:dosmem:DOSMEM_MapDosLayout Need full access to the first megabyte for DOS mode

The Fix

Edit your /etc/sysctl.conf file:

# nano /etc/sysctl.conf

and at this to the bottom:

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.

No Comments »

No comments yet.

RSS feed for comments on this post.

Leave a comment