Ansys Learning Forum Forums Installation and Licensing Ansys Products The COM engine is not registered or registered incorrectly Reply To: The COM engine is not registered or registered incorrectly

randyk
Ansys Employee

Hi Nkirby,

Please do the following:

1. make sure the version on your Windows is exactly the same as the Linux:
Linux: cat /home/AnsysEM/v242/Linux64/product.info
Windows:  type  "C:\Program Files\AnsysEM\v242\Win64\product.info"

2. On Linux, make sure the default tempdirectory is referencing a writable location - like /tmp
This is specified in file:   /home/AnsysEM/v242/Linux64/config/default.cfg

3. On Linux, confirm solver functionallity:
mkdir ~/anstest


cd ~/anstest

cp /home/AnsysEM/v242/Linux64/schedulers/diagnostics/Projects/HFSS/OptimTee-DiscreteSweep-FineMesh.aedt   ~/anstest/OptimTee-DiscreteSweep-FineMesh.aedt

/home/AnsysEM/v242/Linux64/ansysedt -ng -monitor -useelectronicsppe=1 -distributed -machinelist list=localhost:-1:4:90% -auto -batchoptions "" -batchsolve TeeModel:Nominal:Setup1  ~/anstest/OptimTee-DiscreteSweep-FineMesh.aedt

Examine the ~/anstest/OptimTee-DiscreteSweep-FineMesh.aedt.batchinfo/*.log    to confirm successful completion  (should solve 3-5 min)

If success, clear all but the ~/anstest/OptimTee-DiscreteSweep-FineMesh.aedt

rerun with the following change:
/home/AnsysEM/v242/Linux64/ansysedt -ng -monitor -useelectronicsppe=1 -distributed -machinelist list=$(hostname):-1:4:90% -auto -batchoptions "" -batchsolve TeeModel:Nominal:Setup1  ~/anstest/OptimTee-DiscreteSweep-FineMesh.aedt

Is this successful?

If so, make sure:
1. Passwordless SSH is enabled on Linux
2. all firewalls are disabled on both Windows and Linux (for this test)
3. both machines are on the same network
4. Open AEDT in Windows and run:

Copy "C:\Program Files\AnsysEM\v242\Win64\schedulers\diagnostics\Projects\HFSS\OptimTee-DiscreteSweep-FineMesh.aedt"  to  c:\temp

Open C:\temp\OptimTee-DiscreteSweep-FineMesh.aedt

AEDT : Tools->Options-> General Options->Remote Analysis
         [x] Specified User
         Username: 
         Password: 
         Domain:  blank

AEDT : Tools->Options->HPC and Analysis options
Design type: HFSS
[Copy]
Configuration name:
[x] Use automatic settings
Num variations to distribute [1]
Select/rename "localhost"  to the name of your Linux hostname
Cores=4
GPUs=0
RAM Limit=90%
Enabled [x]
[OK]
[Make Active]
[Ok]

Expand the project -> Analysis -> Setup1 
rt-click on "sweep"  and select "Analyze"

Is this successful?

If so and you require firewalls on your Windows machine - there are multiple options:
1. you could open all ports between your Windows and Linux machine
2. you could open all ephemeral ports with something like (assuming Windows Defender FW)
From Elevated CMD (rt-click and "run as admin"):
   netsh advfirewall firewall add rule name=HFSS dir=in protocol=tcp localport=49152-65535 action=allow
3. recursively add all binaries from the AnsysEM installation to your firewall exceptions


thanks
Randy