Hi, when compiling OpenBLAS-0.3.10 with PGI 20.1, it cannot find “stdatomic.h”. Then, I try to seek in gnu’s header files, and it show another errors,
"blas_server_omp.c", line 325: error: identifier "__auto_type" is undefined
Can this be solved by just adding some PGI compile flags? A related question is that does the PGI-bundled blas/lapack support OpenMP ? If it does, I don’t have to build my own openblas :)
Here is how I compile OpenBLAS:
make CC=pgcc FC=pgfortran USE_OPENMP=1 CFLAGS=-I/opt/gcc/7.3.0/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include
Thanks for the help.