MAP version

Hi all,

I have a problem trying to make MAP 0.87.06a-mdm ([url]National Wind Technology Center's Information Portal | Wind Research | NREL) work with Python 2.7.x on a Windows Server x64 OS.

I type (inside MAP folder):
python MAP_start.py example_input.map

I receive the next error:
import MAP_win32 as MAP # for Windows (32 bit Python module)
ImportError: DLL load failed: %1 is not a valid application.

What could be the reason to this problem? is there a MAP_win64.dll and corresponding library?

Thanks in advance for your explanations and free work!

Hi Josean,

The problem could be the version of Python is 64 bit and the MAP library is 32 bit (or vise-versa). The MAP library is appended with 32 or 64 in it’s file name to distinguish between 32 or 64 bits. You can double check if the Python installation is 32 or 64 bits by doing:

import platform
print platform.architecture()

Next, make sure the right DLL is being used in the MAP Python module. Let me know if this resolves the problem.