IPA: /kəmˈpʌlsərɪli/
KK: /kəmˈpʌlsərɪli/
In a way that is required or mandatory, not optional.
Students must attend the training sessions compulsorily to complete the course.
Compulsorily → It is formed from "compuls-" (from Latin "compellere", meaning to drive together or force) and "-ory" (meaning relating to or characterized by). The word "compulsorily" means in a manner that is forced or required.
Think of being 'driven together' ('compuls-') to do something 'relating to' ('-ory') a requirement — that's why compulsorily means you must do it.