ASPENSMONSTER

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 http://www.wiley.com/college/brannan/.
  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
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.

  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:

#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.

Leave a Comment »

No comments yet.

RSS feed for comments on this post.

Leave a Reply

Your email address will not be published. Required fields are marked *

19,557 Spambots Blocked by Simple Comments

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>