[MacPorts] #63582: openblas @0.3.18_0+gcc11+lapack [+native] : (Intel) does not build because MAX_CPU_NUMBER is undefined
MacPorts
noreply at macports.org
Wed Oct 20 04:43:09 UTC 2021
#63582: openblas @0.3.18_0+gcc11+lapack [+native] : (Intel) does not build because
MAX_CPU_NUMBER is undefined
--------------------------+-------------------------
Reporter: snarkhunter | Owner: NicosPavlov
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.7.1
Resolution: | Keywords:
Port: openBLAS |
--------------------------+-------------------------
Comment (by NicosPavlov):
Based on the logs, it seems that occasionally the script used to detect
the cpu architecture (getarch) sometimes fails, such as in openblas.log3.
That what led MAX_CPU_NUMBER to be undefined too.
Then, the other errors occur during testing phase (error 137).
{{{
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_OpenBLAS/OpenBLAS/work/compwrap/fc/opt/local/bin
/gfortran-mp-11 -Os -m64 -O3 -m128bit-long-double -Wall -frecursive -fno-
optimize-sibling-calls -m64 -msse3 -mssse3 -msse4.1 -mavx -mavx2 -mavx2
-O3 -m128bit-long-double -Wall -frecursive -fno-optimize-sibling-calls
-m64 -msse3 -mssse3 -msse4.1 -mavx -mavx2 -mavx2 -fno-tree-vectorize
-L/opt/local/lib -Wl,-headerpad_max_install_names
-Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk
-arch x86_64 -o zblat3 zblat3.o ../libopenblas-r1.a -lpthread -lgfortran
-lpthread -lgfortran
rm -f ?BLAT3.SUMM
OPENBLAS_NUM_THREADS=1 OMP_NUM_THREADS=1 ./sblat3 < ./sblat3.dat
make[1]: *** [level1] Killed: 9
make[1]: *** Waiting for unfinished jobs....
/bin/sh: line 1: 12687 Killed: 9 OPENBLAS_NUM_THREADS=1
OMP_NUM_THREADS=1 ./sblat2 < ./sblat2.dat
make[1]: *** [level2] Error 137
/bin/sh: line 1: 12702 Killed: 9 OPENBLAS_NUM_THREADS=1
OMP_NUM_THREADS=1 ./sblat3 < ./sblat3.dat
make[1]: *** [level3] Error 137
make[1]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_OpenBLAS/OpenBLAS/work
/xianyi-OpenBLAS-efe4248/test'
make: *** [tests] Error 2
}}}
For this type of errors, I suspect reporting it upstream
[https://github.com/xianyi/OpenBLAS/issues] would probably be more useful
to find a solution. I will not report it myself though, as I would not be
able to then provide details about the machine and error types as I can't
reproduce the error.
--
Ticket URL: <https://trac.macports.org/ticket/63582#comment:7>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list