I'm running HPC Pack 2016 Update 3 on premise and want to use the Activation FlexLM from hpcpack-samples as Job Template Level Activation Filter for our COMSOL Multiphysics license server. In VS 2019 the sample compiles without any problem. I configured the filter in the way it is described here. The lmutil.exe is in "C:\Program Files\Microsoft HPC Pack 2016\Bin\". The "Activation FlexLM.dll" is in "C:\Program Files\Microsoft HPC Pack 2016\Data\FlexLM_COMSOL". At least I configured a job template with activation filter and point the activation filter to "FlexLM_COMSOL\Activation FlexLM.dll".
In a new job I defined under licenses the values for a COMSOL Multiphysics job with the values:
ACDC = 1
COMSOL = 1
CLUSTERNODE = 1
COMSOLUSER = 1
After submitting the job it is in queued state with the Pending Reason: The job is beeing held by the activation filter until <date> <time>
After 30 seconds the the job changes its Peding Reason to: The job is beeing held by the user <date> <time>
I also tried a app.config file like the FlexLM.exe.config from the exe example with customized values. I named it "Activation FlexLM.dll.config" and put it in the same directory as the dll. Also the same result. I don't know what to do so that the activation filter will work like expected.