Thanks for reaching out to Microsoft Q&A Platform.
It might be that those machines may have Hyper-threaded enabled, that is why taking half the cores count.
You can try changing the cyclecloud.conf to match CPUs and ThreadsPerCore=1 and then restart slurmctld.
But these changes will get removed once you put remove_nodes/scale command. Check using "scontrol show nodes" and check "CPUTot".
Hope this helps.
Please 'Accept as answer' if the provided information is helpful, so that it can help others in the community looking for help on similar topics.