ArrayFire helloworld example error

[Old posts from the commercial version of ArrayFire] Issues and comments for download and installation. Getting up and running.

Moderators: melonakos, pavanky

ArrayFire helloworld example error

Postby machta » Mon Jul 14, 2014 11:41 am

Hi, I downloaded, installed and activated AF under the free license (successfully). Then I tried the basic example (like I was told by the Installation tutorial in documentation), but the program fails with the following error massage:
Code: Select all
C:\Program Files\ArrayFire\v2.1\examples\helloworld\OpenCL>helloworld_debug.exe
here.
Warning: No license file found on the system
Attempting to activate and download your license
ArrayFire v2.1 (OpenCL, 64-bit Windows, build 30fb249)
License: Standalone (unknown)
Platform: AMD Accelerated Parallel Processing, Driver: 1526.3 (VM)
[0]: Tahiti, 3072 MB, OpenCL Version: 1.2
 1 : Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz, 8159 MB, OpenCL Version: 1.2
Compute Device: [0]


create a 5-by-3 matrix of random floats on the GPU
src/license.cpp:460: cannot find license file (unknown)
hit [enter]...



Any idea why?

I've tried so far (without luck):
  • reinstalling ArrayFire
  • enabling the two ports (27000 and 27001) explicitly
  • running the program from VS and from command line with and without administrator permissions

My system specs:
  • Windows 8.1 x64
  • Visual Studio 2012
  • AMD 7970 gpu
  • intel i7 cpu
machta
 
Posts: 4
Joined: Mon Jul 14, 2014 11:13 am

Re: ArrayFire helloworld example error

Postby shehzan » Tue Jul 15, 2014 3:40 pm

Hi

It looks like your license file is not being found. Please make sure AF_PATH is set and the license file is present in either AF_PATH or in C:\User\Username directories.
----
Shehzan
Developer
AccelerEyes
User avatar
shehzan
 
Posts: 121
Joined: Tue Feb 12, 2013 7:20 pm

Re: ArrayFire helloworld example error

Postby machta » Sat Jul 19, 2014 5:47 am

OK, I found the license file in the C:\User\Username directory. I copied it to AF_PATH and the helloword program finally recognizes it... But now I get a different error:

Code: Select all
C:\Program Files\ArrayFire\v2.1\examples\helloworld\OpenCL>helloworld_debug.exe
here.
in get host id
x_flexlm_gethostid() adding ID 14DAE92B2E02
x_flexlm_gethostid() adding ID 08002700508C
ArrayFire v2.1 (OpenCL, 64-bit Windows, build 30fb249)
License: Standalone (C:\Program Files\ArrayFire\v2.1\arrayfire.lic)
Platform: AMD Accelerated Parallel Processing, Driver: 1348.5 (VM)
[0]: Tahiti, 2048 MB, OpenCL Version: 1.2
 1 : Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz, 8159 MB, OpenCL Version: 1.2
Compute Device: [0]


create a 5-by-3 matrix of random floats on the GPU
src/license.cpp:462: host ID (MAC address) does not match license file (C:\Program Files\ArrayFire\v2.1\arrayfire.lic
)
hit [enter]...
machta
 
Posts: 4
Joined: Mon Jul 14, 2014 11:13 am

Re: ArrayFire helloworld example error

Postby pavanky » Sat Jul 19, 2014 1:36 pm

Hi,

Can you email your license key and your mac address to support@arrayfire.com ?
Pavan Yalamanchili,
ArrayFire
--
~ If it is not broken, you have not tried hard enough ~
User avatar
pavanky
Site Admin
 
Posts: 1123
Joined: Mon Mar 15, 2010 7:39 pm
Location: Atlanta, GA

Re: ArrayFire helloworld example error

Postby machta » Sat Jul 19, 2014 1:56 pm

Yes, I can. I sent the license file and the output of ipconfig as attachment.
machta
 
Posts: 4
Joined: Mon Jul 14, 2014 11:13 am

Re: ArrayFire helloworld example error

Postby machta » Mon Jul 21, 2014 2:27 pm

To all that might have the same problem: The activation sometimes (on some systems) generates a wrong license file. The license is apparently bound to one MAC address so that you cannot use it on multiple computers. The run-time compares the actual address with what is saved in the file. This is the place where the problem occurs. The only way to fix this right now is to send on support@arrayfire.com the .lic file and the MAC address and ask them to generate the correct license for you.

I think that if you (the developers) can't fix this quickly, the best thing would be to disable it until you can get it right. The ArrayFire library is a new, interesting and (if the cheesy video on the title page can be believed) powerful tool, but these kinds of problems are just embarrassing...

And thanks to shehzan and pavanky for the help.
machta
 
Posts: 4
Joined: Mon Jul 14, 2014 11:13 am

Re: ArrayFire helloworld example error

Postby pavanky » Mon Jul 21, 2014 4:08 pm

Hi Machta,

Thanks for the feedback. We are a commercial library. We can't have you get a license for one machine and use it on a different machine. This is the reason we've to tie it down to the MAC address.

As for your other concerns, we have been around for a while (2+ years). We are not a new library. We have a few hiccups with activation that we are trying to solve. The problem you faced is only occurring on machines that have virtual network setup (for example, VPN networks). This does not happen on all the machines. This is one of the reasons we have not sent out a quick fix. We will be fixing it before our next release.
Pavan Yalamanchili,
ArrayFire
--
~ If it is not broken, you have not tried hard enough ~
User avatar
pavanky
Site Admin
 
Posts: 1123
Joined: Mon Mar 15, 2010 7:39 pm
Location: Atlanta, GA


Return to [archive-commercial] Download & Installation