Thank you for posting in Intel Communities.
The issue is because you are trying the oneapi-cli command from login node. You can run the same command from the compute node without any issue.
Login to the compute node with the below command:
If this resolves your issue, make sure to accept this as a solution. This would help others with similar issue.
For your information, login node uses a lightweight general-purpose processor. Login nodes should not be used for development or execution of programs. It is an interface node that helps to connect or submit jobs to compute nodes.
If you need any additional information, please post a new question as this thread will no longer be monitored by Intel.