Cadfeko error

Altair Forum User
Altair Forum User
Altair Employee
edited October 2020 in Community Q&A

Hi,

 

I received a renewed Student Edition License on 16 May 2018 and have since then been using it regularly with Hyperworks 2017.

Today Runfeko generates the following error when I simulate one of my existing projects e.g. QFH.cfx:

 

ERROR 20032: Error opening the source file 'QFH_fr_1_ada_1.out' for copying.

 

I suspected a license issue and checked the Altair License Utility that gives this message under the license usage tab:

 

6200@3417EB9601C5    Error:LMX_NO_NETWORK_HOST

 

I downloaded and installed FEKO + Winprop 2018, installed the license and still get the same Runfeko error.

 

Can anyone please suggest a fix?

 

Thanks

Francois

 

Tagged:

Answers

  • JIF
    JIF
    Altair Employee
    edited June 2018

    Hello Francois,

     

    The error (at least the main one) is about FEKO not being able to copy the .out file. My first guess regarding this problem would be a network issue. Are you running on a local machine with a local disk or is it a network drive? Is the file for some reason maybe read-only (although I would then not expect an error for copying)? Or is the directory where you are working maybe read-only? I don't think my read-only comments apply, since the licence error also pointed to a network problem.

     

    I suppose you can't share the quadrifilar helix (quess from the name) model, but I also don't think it is a model specific problem.

    Do you other models still work with the same machine and simulation parameters?

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited November 2020

    Hi JIF

     

    Thanks for your response.

     

    I am running Altair on my laptop from my local hard drive. I checked that none of the files or folders have gone read-only and even copied the QFH.cfx file out to a new folder in the root to see if it makes a difference.  All my models cause the same error, so I doubt that it is model-specific, but I attached herewith the QFH model - you are welcome to have a look.  Nothing has changed since last week that I can see.  I have normal internet access, through wifi and ethernet adaptors, for what it is worth.  I made sure that the host ID in the license file is still the same as that of my ethernet adaptor.

     

    This is also the first time that Feko has created files with  '_fr_1_ada_1' appended to the model name in any of my projects.  The fact that it can write these files to the project folder further tells me that there aren't any write-permission issues in the folder.

     

     

    Unable to find an attachment - read this blog

  • JIF
    JIF
    Altair Employee
    edited June 2018

    Hello Francois,

     

    I think we are making progress - I know it does not feel like we are yet.

    Student lincences are are usually node locked licences as far as I know, but your comment above indicates that you are using a floating licence. First, is you machine's name 3417EB9601C5? Or are you using a floating licence server and the server's name is 3417EB9601C5?

     

    If you are not using a floating licence server, but rather a node locked licence, I would expect the value of ALTAIR_LICENSE_PATH to be c:\Program Files\Altair\2018\security\altair_lic.dat or similar (it could be empty - that is the default location).

     

    To narrow down the problem, could you do the following in a FEKO terminal and provide the output:

     dir '%FEKO_HOME%\..\security\' echo %ALTAIR_LICENSE_PATH% hostname ping 3417EB9601C5

    These are 4 different commands that you should run in the FEKO terminal (should have green text) and provide me with the output.

     

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited June 2018

    Hi JIF,

     

    Can I private message you?  I don't know how much of the info I am posting here can be used by hackers.:huh:/emoticons/default_huh.png' title=':huh:' />

     

    I am using a node-locked license that I received by email after registering for the Student Edition. I am not sure why it looks like I am using a license server.

     

    dir '%FEKO_HOME%\..\security\'

    The system cannot find the file specified.


    echo %ALTAIR_LICENSE_PATH%

    There was no environment variable for ALTAIR_LICENSE_PATH.  I just added one manually a few minutes ago.

    Now it returns: c:\Program Files\Altair\2018-edu\security\altair_lic.dat

    The latest license file that I received from Altair is there in that folder.

     

    hostname

    My computer name as also given in Control Panel/System


    ping 3417EB9601C5

    Ping request could not find host 3417EB9601C5 . Please check the name and try again.

    When I opened almutil, 3417EB9601C5 was the value that was listed under the License Usage tab in the LM-X Configuration field.  It does not match any of the MAC addresses listed under the Host ID tab.

    When I ping the correct MAC address of my ethernet controller (Realtek PCIe GBE Family Controller), it returns the same message (could not be found)??

     

    What info should go into the almutil app?  Should I type my ethernet controller's MAC address in somewhere?

     

    Regards

    Francois

     

     

  • JIF
    JIF
    Altair Employee
    edited June 2018

    You can private message me if there is anything sensitive. Thus far, you have not posted anything that you have not already posted and the rest is just info regarding the FEKO installation. ;-) But, I understand your concern. If you want any parts removed from the comments, let me know, I can do that.

     

    I am using a node-locked license that I received by email after registering for the Student Edition. I am not sure why it looks like I am using a license server. 

    This is good and what I expected. The reason for thinking that you may be using a node locked licence is because of '6200@3417EB9601C5' - that looks like port 6200 on machine 3417EB9601C5.

     

    dir '%FEKO_HOME%\..\security\'

    The system cannot find the file specified.

    This is a bit strange. This should basically list the contents of ' c:\Program Files\Altair\2018-edu\security\' (based on some of your other comments).

     

    The latest license file that I received from Altair is there in that folder.

    Just to make sure, did you rename the file that you received from Altair to 'altair_lic.dat'. And if you did (good), but did you set Windows to show the extensions for files - it sometimes happens that Windows does not show it and then users rename the file to 'altair_lic.dat.dat', because they don't see the file extension. The other option is to not rename it, but then make sure that LMX_LICENSE_PATH points to the file with the full path and name.

     

    When I opened almutil, 3417EB9601C5 was the value that was listed under the License Usage tab in the LM-X Configuration field.  It does not match any of the MAC addresses listed under the Host ID tab.

    Please clear this field - remove it.

     

    If none of these resolve the problem, we need more detailed debug info to see what is going on. In a FEKO terminal, set the following environment variables (using the set command in Windows) and then try to start CADFEKO. Then send the files to us.

      
     ALM_LOG_ENABLED=1 ALM_LOG_FACILITY=file:alm_debug.txt ALM_LOG_LEVEL=info

     

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited June 2018

    I created a FEKO_HOME environmental variable just now and pointed it to the feko folder.

    I also created LMX_LICENSE_PATH and set it to C:\Program Files\Altair\2018-edu\security\altair_lic.dat

    I did not change any license filenames. It was delivered to me as altair_lic.dat.

    No change after all the above.

     

    Can I send you the ALM debug + project files to you via email ? Should I include the BOF file (22 MB)?

     

     

     

     

     

  • JIF
    JIF
    Altair Employee
    edited June 2018

    I'll contact you via email.

     

    But, please don't set the FEKO_HOME environment variable - that should be set correctly already by the FEKO environment.

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited June 2018

    Hi JIF,

     

    My IT admin suggested I run Cadfeko as administrator and that solves the problem!

     

    I can honestly not say why it lost admin rights in the first place, since as I said, everything has been working fine until last week and I can't think of anything that might have changed.

     

    My apologies for your unnecessary effort.

     

    Regards

    Francois

  • JIF
    JIF
    Altair Employee
    edited June 2018

    No problem. But, FEKO does not have to be run as administrator. Obviously if you run it as administrator and then later run it as a normal user, you could run into problems due to not having access to the files anymore (either model files or configuration setting files).

     

    I'm glad we (you) finally found and resolved the problem.