EDEMCal Problem
Best Answer
-
Hi Joshua,
When EDEM Cal runs the simulations (rather than creating the files which is a different process) it calls and runs EDEM in the background. When it calls EDEM it checks the Environment Variables/PATH to specify which version of EDEM to run. The PATH environment variable is not automatically set and has to be specified by the users.
What I believe is happening in this case is the initial EDEM file is created with the latest version of EDEM you have installed, this is then edited/duplicated with EDEM Cal and when it comes to run it is likely picking up an older version of EDEM to try and run the files or not recognising EDEM as a command.
To update can you edit your System Environment Variables > Path to include the bin and lib folder for EDEM. For example:
C:\Program Files\Altair\2021.1\EDEM2021.1\bin\
C:\Program Files\Altair\2021.1\EDEM2021.1\lib\
You may have a different install location or version so ensure this is correct for your specific machine. Also note that best way to ensure environment variables have taken effect is to restart the machine.
Just to note you can also use the "generate files for distributed simulation" which if the environment variables option doesn't work this creates a batch file with all the simulation files to run. You can edit the batch file with a text editor and wold have to do a similar process, any reference to 'edem' would have to be replaced with "C:\Program Files\Altair\2021.1\EDEM2021.1\bin\edem.exe" to force it to pickup the correct version when running the batch file.Regards
Stephen
0
Answers
-
Hi Joshua,
When EDEM Cal runs the simulations (rather than creating the files which is a different process) it calls and runs EDEM in the background. When it calls EDEM it checks the Environment Variables/PATH to specify which version of EDEM to run. The PATH environment variable is not automatically set and has to be specified by the users.
What I believe is happening in this case is the initial EDEM file is created with the latest version of EDEM you have installed, this is then edited/duplicated with EDEM Cal and when it comes to run it is likely picking up an older version of EDEM to try and run the files or not recognising EDEM as a command.
To update can you edit your System Environment Variables > Path to include the bin and lib folder for EDEM. For example:
C:\Program Files\Altair\2021.1\EDEM2021.1\bin\
C:\Program Files\Altair\2021.1\EDEM2021.1\lib\
You may have a different install location or version so ensure this is correct for your specific machine. Also note that best way to ensure environment variables have taken effect is to restart the machine.
Just to note you can also use the "generate files for distributed simulation" which if the environment variables option doesn't work this creates a batch file with all the simulation files to run. You can edit the batch file with a text editor and wold have to do a similar process, any reference to 'edem' would have to be replaced with "C:\Program Files\Altair\2021.1\EDEM2021.1\bin\edem.exe" to force it to pickup the correct version when running the batch file.Regards
Stephen
0 -
Hi Sthephen,
Where I can find that menu?
thanks a lot
0 -
Hi Joshua,
if you go to Windows search and type 'env' it should come up with the option to edit environment variables.
To ensure they have applied best practice is to restart your machine after making the change.
Regards
Stephen
0 -
Thanks Stephen;
Now the program try to work, but in every simulation obtein this error
0 -
Hello again;
All problems are solved. The ferst one was the antivirus, and the problem with the license was the unit's number limit
Thanks for the answeres
0