Wednesday, January 28, 2009

Matlab and AMD Athlon

So, I've finally made the transition to Vista, and while the OS isn't too bad, a glaring problem right off the bat was the MATLAB 7.0 conflict with AMD.

I would open the program up, and after it finished initializing, it would close. This was obviously a problem.

So I searched the web for a little bit (all of ten seconds) and came across: http://asadasif.com/index.php?itemid=2 which is as far as I know, the first post on the subject.

I attempted his fix, but that ended in the same result. So I fiddled around with it and discovered that the following line in BLAS.SPEC would yield the required result (at least for my processor, an AMD Athlon X2 64 Dual Core-62 something or other)

AuthenticAMD Family * Model * atlas_Athlon.dll

I'm assuming that this tells the program that for any family or model in the AMD family, use the atlas_Athlon.dll

This means the program won't look for just those families/models specified in the file, and will therefore work on any AMD processor.

If this is not the case, please let me know.