Matlab OS Checks

Matlab, at least on Linux, is pretty firm on which versions it will run on. You may see glibc warnings when you try and run on older distributions. The problem is, as long as the distro isn't too old, Matlab will probably run fine. When you run Matlab interactively, you can simply accept the warning and continue on. But this doesn't work if you want to run scripts in batch mode. To get around this, you can set an environment variable to skip the OS check. If you use bash, simply use

   export OSCHECK_ENFORCE_LIMITS=0

This should let you go ahead and run your script without pausing. Hope this helps.

No comments:

Post a Comment