Altair Embed Code Generation "Access denied"

MohammadQ_21923
MohammadQ_21923 New Altair Community Member
edited December 2023 in Community Q&A

I installed Altair Embed through a student request and recived the licence file, followed instruction on licene setup and it seems to work, but when I ever try to generate code for any file I get the following error " can't open..._file_nale_.. acess denied " 

I have the software installed in C:/program files. not sure if this is a licence related issue, but maybe I don;t have code generation licence. 

I have attached a screenshoot of the error and the licence file. 

 I'm just getting started with Embed and any help is reallly appreciated,

Tagged:

Answers

  • Andrei Urtmintsev
    Andrei Urtmintsev
    Altair Employee
    edited December 2023

    What looks suspicious for me is the path on your screenshot.

    It is \Program Files\ etc. Embed uses the \cg directory for code generation, but Windows restricts access to \Program Files. Try to change the path first. It may not help because \cg contains compilation scripts along with generated .c files. Otherwise, reinstall Embed in the root like c:\altair\etc. so that Windows does not block access.

  • MohammadQ_21923
    MohammadQ_21923 New Altair Community Member
    edited December 2023

    What looks suspicious for me is the path on your screenshot.

    It is \Program Files\ etc. Embed uses the \cg directory for code generation, but Windows restricts access to \Program Files. Try to change the path first. It may not help because \cg contains compilation scripts along with generated .c files. Otherwise, reinstall Embed in the root like c:\altair\etc. so that Windows does not block access.

    Thanks for the help, I suspected that, problem solved by reinstalling to the c:\altair