asamaiyar
Subscriber

Hi 

I use this code to determine the machine list.

mpirun hostname | sort -u > hfss.nodefile

Correction to what slouie said: You can use -auto to run parametric sweeps in parallel. Here is my example run command to solve 5 parameters in parallel:

/path-to-hfss/Linux64/ansysedt -monitor -ng -batchsolve -distributed -machinelist list="${MACHLIST}" -auto NumDistributedVariations=5 -batchoptions $Optns -batchsolve "HFSSDesign1:Nominal:Setup1" example.aedt

And I set $MACHLIST using following command:

setenv MACHLIST ""

@ a = 1
foreach NODE (`cat hfss.nodefile`)
  if ($a == 1) then
    setenv MACHLIST "${MACHLIST}${NODE}:-1:24"
  else
    setenv MACHLIST "${MACHLIST},${NODE}:-1:24"
  endif
  @ a = $a + 1
end

Hope this helped!

Aman