MAP version

Provide feedback, request enhancements, and get help with wind-turbine computer-aided engineering tools.

Moderators: Bonnie.Jonkman, Jason.Jonkman

Josean.Galvan
Posts: 15
Joined: Fri Aug 30, 2013 3:16 am
Organization: Tecnalia R&I
Location: Spain
Location: Parque Tecnológico de Bizkaia, C/ Geldo edif. 700, 48160 Derio (Spain)
Contact:

MAP version

Postby Josean.Galvan » Tue Jan 20, 2015 7:27 am

Hi all,

I have a problem trying to make MAP 0.87.06a-mdm (https://nwtc.nrel.gov/MAP) 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!
Josean Galván

Marine Energy Area
Tecnalia R&I - Energy and Environment Division

Marco.Masciola
Posts: 20
Joined: Fri Apr 12, 2013 3:53 pm
Organization: Siemens Gamesa
Location: In Colorado

Re: MAP version

Postby Marco.Masciola » Wed Jan 21, 2015 8:58 pm

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.
Marco Masciola


Return to “Computer-Aided Engineering Software Tools”

Who is online

Users browsing this forum: No registered users and 1 guest