Does WineHQ support OpenMP ?

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
olinews
Level 1
Level 1
Posts: 5
Joined: Fri Mar 27, 2009 3:35 am

Does WineHQ support OpenMP ?

Post by olinews »

I searched through the forum and website but didn't found any information about OpenMP.

Thanx in advance.
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

Does WineHQ support OpenMP ?

Post by austin987 »

On Fri, Mar 27, 2009 at 3:40 AM, olinews <[email protected]> wrote:
I searched through the forum and website but didn't found any information about OpenMP.
Try it and find out.

--
-Austin
olinews
Level 1
Level 1
Posts: 5
Joined: Fri Mar 27, 2009 3:35 am

Does WineHQ support OpenMP ?

Post by olinews »

I actually searched through the website and didn't found anything about OpenMP nor vcomp.dll wich is the regular dll to support OpenMP on windows native system.

Finally i just wrote a little "hello world" program on windows with VS2008:

Code: Select all

int wmain(int argc, WCHAR* argv[])
{
   #pragma omp parallel
   { 
       printf("Hello World\n");
   }
  return 0;
}
To make it work on my Ubuntu i had to use winetricks (http://wiki.winehq.org/winetricks):

Code: Select all

wget http://www.kegel.com/wine/winetricks
sh winetricks corefonts vcrun2008
Then i had to copy the vcomp90.dll along with my sample executable. This dll is the regular OpenMP support for VS2008. It seems not to be installed with VS2008 redistribuable package.

And it worked :P
So, as far as i can see, OpenMP compliant software works fine with WineHQ on Ubuntu.
Need more realistic test now... :mrgreen:

Hope this can help someone.
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

Does WineHQ support OpenMP ?

Post by austin987 »

On Fri, Mar 27, 2009 at 5:22 AM, olinews <[email protected]> wrote:
wget http://www.kegel.com/wine/winetricks
sh winetricks corefonts vcrun2008




Then i had to copy the vcomp90.dll along with my sample executable. This dll is the regular OpenMP support for VS2008. It seems not to be installed with VS2008 redistribuable package.
Is there a microsoft download that does have it?

--
-Austin
olinews
Level 1
Level 1
Posts: 5
Joined: Fri Mar 27, 2009 3:35 am

Post subject: Does WineHQ support OpenMP ?

Post by olinews »

vcomp90.dll was installed along with my VS2008 PRO.
I am not sure but maybe it can be obtained from a fresh install of VS2008 Express edition which is free.

Now its up to you to try it and find out :wink:
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

Does WineHQ support OpenMP ?

Post by austin987 »

On Fri, Mar 27, 2009 at 11:18 AM, olinews <[email protected]> wrote:
vcomp90.dll  was installed along with my VS2008 PRO.
I am not sure but maybe it can be obtained from a fresh install of VS2008 Express edition which is free.
That's a bit heavy of an app...If you can find a small app that
bundles it, I'll see if I can add it to winetricks.


--
-Austin
olinews
Level 1
Level 1
Posts: 5
Joined: Fri Mar 27, 2009 3:35 am

Post by olinews »

After reading this it seems that vcomp90.dll is available from Microsoft Visual C++ 2008 Redistributable Package
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

Does WineHQ support OpenMP ?

Post by austin987 »

On Fri, Mar 27, 2009 at 11:41 AM, olinews <[email protected]> wrote:
After reading this (http://kenny-tm.xanga.com/651048063/par ... 8-express/) it seems that vcomp90.dll is available from Microsoft Visual C++ 2008 Redistributable Package (http://www.microsoft.com/downloads/deta ... laylang=en)
That's what winetricks vcrun2008 installs...


--
-Austin
olinews
Level 1
Level 1
Posts: 5
Joined: Fri Mar 27, 2009 3:35 am

Post by olinews »

If i dont copy vcomp90.dll along with my program i get this error:

Code: Select all

xxxx@xxxx-desktop-ubuntu:~$ wine /home/xxxx/.wine/drive_c/"Program Files"/DVBSub/DVBSubOpenMp.exe
err:module:import_dll Library VCOMP90.DLL (which is needed by L"C:\\Program Files\\DVBSub\\DVBSubOpenMp.exe") not found
err:module:LdrInitializeThunk Main exe initialization for L"C:\\Program Files\\DVBSub\\DVBSubOpenMp.exe" failed, status c0000135
If i copy vcomp90.dll along with my program it works fine.

I cannot figure out why vcomp90.dll is not detected with only the Microsoft Visual C++ 2008 Redistributable Package installed via winetricks. :?
Locked