Gcc x86 instrinsics support

Has anyone tried to use AVX intrinsics on CARC? I am using gcc-8.3.0 on CARC and using “-march=native”, but gcc says is does not support x86 intrinsics, which is quite unlikely for high performance cluster.
Here is what I did:

#include <inttypes.h>
#include <stdio.h>
#include <x86intrin.h>

int main(void) {
    printf("%" PRIu32 "\n", _mm_crc32_u32(42, 2534474250));
    return 0;
}

The command I used:

$ gcc -march=native test.c
...
In file included from /spack/apps/pgi/2020_207/Linux_x86_64/20.7/compilers/include/x86intrin.h:92,
                 from ../test-intrisic.c:3:
/spack/apps/pgi/2020_207/Linux_x86_64/20.7/compilers/include/clzerointrin.h:24:2: error: #error "<clzerointrin.h> is not supported by this compiler."
 #error "<clzerointrin.h> is not supported by this compiler."
  ^~~~~
/spack/apps/pgi/2020_207/Linux_x86_64/20.7/compilers/inc

I think I figured it out.
I had to remove modul ‘nvidia-hpc-sdk’.
It works after removing that module.