Intel® oneAPI Threading Building Blocks
Ask questions and share information about adding parallelism to your applications when using this threading library.

Running sample application

tadzys
Beginner
339 Views
Hello,

I have downloaded TBB library built a sample (getting started), run it successfully on my machine, now i want to try it on a machine with 4 CPU's. I have copied exe and tbb.dll onto that machine. When i try to run it I get error message "The system cannot execute the specified program.". With Process monitor I can see that it loads my sample app than ntdll.dll and exits with a status (-1072365566). Can anyone tell me what I am misssing?

Thanks Tadas
0 Kudos
3 Replies
Alexey-Kukanov
Employee
339 Views

I might be wrong, but I would assume that you are trying to run a 64-bit app on a 32-bit machine. Another reason off the top of myhead is that you might not have a proper MSVC runtime DLL on the second machine, though the error message for that would be different I think.

0 Kudos
tadzys
Beginner
339 Views
I guess if it would be 64bit build it wouldn't run on my machine either (mine is 32bit). And I have definately installed MSVC runtime. I have tried to run it on other machine which has MS VS installed. Same error. I am puzzled.
0 Kudos
robert-reed
Valued Contributor II
339 Views
I assume you're using VS.NET 2005 for your development. I'd guess that you have not installed VS.NET on your 4-core machine. The message you quote is one that has bitten me several times when migrating Windows binaries to other machines. If you search the machine on which you built the code, you should find a set of redistribution packages ("redist"-something or other). There's an installer you can copy to your 4-core machine which should add the libraries you need to avoid that error. There's something about it here.
0 Kudos
Reply