Skip to content

up to new api: Sim_readLicenseFile -> SimLicense_start #42

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Thomas-Ulrich
Copy link
Contributor

@Thomas-Ulrich Thomas-Ulrich commented Feb 11, 2022

rebased and cleaned PR. More info is below:

Effectivement j'ai fait cette modif sur la suggestion du support SimModeler, qui nous informait de l'obsolescence de l'ancienne API.
Mais bizarrement, vous ne semblez pas avoir ce problème pourtant avec la même version que nous... Je n'ai pas d'explication rationnelle à ce point.
(ou alors une possible retro-compatibilité des anciennes compilations, dont je n'ai pas bénéficié car je compilait tout from scratch ?)
Concernant l'usage de l'option -f (qui devrait d'ailleurs permettre de ne pas bloquer un jeton de licence pour tous les modules à la fois, contrairement à l'ancienne méthode) il faut utiliser les noms complets des modules :
/opt/PUMGen/build/pumgen -s simmodsuite -l /simmodsuite/16.0-220101/simmodsuite.lic -f geomsim_core,geomsim_discrete,geomsim_discretemodeling,meshsim_surface,meshsim_volume,meshsim_parallelmeshing

@krenzland
Copy link
Contributor

For the non-french speaking people (includes me), here's a quick deepl translation:

Indeed I made this modification on the suggestion of the SimModeler support, which informed us about the obsolescence of the old API.
But strangely, you don't seem to have this problem though with the same version as us... I don't have a rational explanation for this.
(or a possible backward compatibility of the old compilations, which I did not benefit from because I compiled everything from scratch?)
Concerning the use of the -f option (which should allow not to block a license token for all the modules at the same time, contrary to the old method) it is necessary to use the complete names of the modules:
/opt/PUMGen/build/pumgen -s simmodsuite -l /simmodsuite/16.0-220101/simmodsuite.lic -f geomsim_core,geomsim_discrete,geomsim_discretemodeling,meshsim_surface,meshsim_volume,meshsim_parallelmeshing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants