I searched through the forum and website but didn't found any information about OpenMP. Thanx in advance.
On Fri, Mar 27, 2009 at 3:40 AM, olinews <wineforum-user at winehq.org> wrote:> I searched through the forum and website but didn't found any information about OpenMP.Try it and find out. -- -Austin
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: 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: 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... [Mr. Green] Hope this can help someone.
On Fri, Mar 27, 2009 at 5:22 AM, olinews <wineforum-user at winehq.org> 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
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]
After reading this (http://kenny-tm.xanga.com/651048063/parallel-programming-using-openmp-with-visual-c-2008-express/) it seems that vcomp90.dll is available from Microsoft Visual C++ 2008 Redistributable Package (http://www.microsoft.com/downloads/details.aspx?familyid=9B2DA534-3E03-4391-8A4D-074B9F2BC1BF&displaylang=en)
If i dont copy vcomp90.dll along with my program i get this error: Code: xxxx at 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. :?