Turn off CPU throttling when installing ATLAS Problem with intel_pstate

hello, I’m trying to install SExtractor, and it necessarily asks me for the ATLAS library, I’m trying to install atlas-lapack but I have problems with cpu throttling.

when i am trying to install sextractor i have this error:

checking for cblas.h... no
checking for atlas/cblas.h... no
checking for atlas/clapack.h... no
checking for clapack.h... no
checking for atlas/cblas.h... (cached) no
checking for atlas/clapack.h... (cached) no
./configure: line 16290: test: too many arguments
configure: error: ATLAS header files not found! Exiting.

and when i am installing atlas-lapack i have the following error:

Vector ISA Extension configured as  AVXMAC (3,488)
/usr/bin/ld: probe_arch.o: en la función `ATL_tmpnam':
/home/martins/.cache/yay/atlas-lapack/src/ATLAS/build/..//CONFIG/src/probe_arch.c:224: aviso: the use of `tmpnam' is dangerous, better use `mkstemp'
/usr/bin/ld: /tmp/ccwNhne2.o: en la función `ATL_tmpnam':
/home/martins/.cache/yay/atlas-lapack/src/ATLAS/build/..//CONFIG/src/backend/archinfo_x86.c:224: aviso: the use of `tmpnam' is dangerous, better use `mkstemp'
ERROR: enum fam=3, chip=2, mach=0
make[3]: *** [Makefile:107: atlas_run] Error 44
make[2]: *** [Makefile:405: IRunArchInfo_x86] Error 2
/usr/bin/ld: /tmp/ccwFmzL1.o: en la función `ATL_tmpnam':
/home/martins/.cache/yay/atlas-lapack/src/ATLAS/build/..//CONFIG/src/backend/archinfo_linux.c:224: aviso: the use of `tmpnam' is dangerous, better use `mkstemp'
make[3]: *** [Makefile:107: atlas_run] Error 139
make[2]: *** [Makefile:400: IRunArchInfo_linux] Error 2

Architecture configured as  UNKNOWNx86 (35)
ERROR: enum fam=3, chip=2, mach=0
make[3]: *** [Makefile:107: atlas_run] Error 44
make[2]: *** [Makefile:405: IRunArchInfo_x86] Error 2

Clock rate configured as 4397Mhz
ERROR: enum fam=3, chip=2, mach=0
make[3]: *** [Makefile:107: atlas_run] Error 44
make[2]: *** [Makefile:405: IRunArchInfo_x86] Error 2

Maximum number of threads configured as  8
/usr/bin/ld: probe_pmake.o: en la función `ATL_tmpnam':
/home/martins/.cache/yay/atlas-lapack/src/ATLAS/build/..//CONFIG/src/probe_pmake.c:224: aviso: the use of `tmpnam' is dangerous, better use `mkstemp'
Parallel make command configured as '$(MAKE) -j 8'
ERROR: enum fam=3, chip=2, mach=0
make[3]: *** [Makefile:107: atlas_run] Error 44
make[2]: *** [Makefile:405: IRunArchInfo_x86] Error 2
CPU Throttling apparently enabled!
It appears you have cpu throttling enabled, which makes timings
unreliable and an ATLAS install nonsensical.  Aborting.
See ATLAS/INSTALL.txt for further information
xconfig exited with 1
==> ERROR: Se produjo un fallo en build().
    Cancelando...
 -> error compilando: atlas-lapack-exit status 4
 -> Ha fallado al instalar los siguientes paquetes. Una intervención manual es requerida:
atlas-lapack - exit status 4

Checking with cpupower returns this:

[martins@pog ~]$ cpupower frequency-info
analyzing CPU 1:
  driver: intel_pstate
  CPUs which run at the same hardware frequency: 1
  CPUs which need to have their frequency coordinated by software: 1
  maximum transition latency:  Cannot determine or is not supported.
  hardware limits: 800 MHz - 4.50 GHz
  available cpufreq governors: performance powersave
  current policy: frequency should be within 800 MHz and 4.50 GHz.
                  The governor "performance" may decide which speed to use
                  within this range.
  current CPU frequency: Unable to call hardware
  current CPU frequency: 2.50 GHz (asserted by call to kernel)
  boost state support:
    Supported: yes
    Active: yes

And even if I do the following command it still doesn’t work. it’s like it never made the switch or it lasted a few seconds

sudo cpupower frequency-set -g performance

I tried to disable intel_pstate and update grub as well as blacklist it but I didn’t really understand how to do it and I had some problems

It would help me a lot if someone has any suggestions, I don’t understand much about arch linux and all this but I need it to use sextractor c:

I’ll be very greatful