@dale.roberts has written a new post on the CLEX CMS blog: a very comprehensive guide to building your applications in the environment provided by NCI on gadi:
https://coecms.github.io/posts/2022-12-05-building-on-gadi.html
This is a must-read for anyone who builds on gadi, particularly if you are porting code that has not previously been configured to build at NCI.