It’s good news that some examples are working. I’m guessing there is something wrong in your software stack, all these examples are basically the same, it’s not normal that some work while others don’t. Consider updating your Intel modules and GNU compilers.