I receive an error during the "make build" step. I've attached the log file.
To add a bit of information. I am using the Portland Group compilers. The errors are associated with this step:
/opt/pgi/linux86-64/13.2/bin/pgcc -fomit-frame-pointer -mfpmath=sse -O2 -fno-schedule-insns2 -mavx -m64 -x assembler-with-cpp -DL2SIZE=4194304 -I/home/jn_petersen/atlas/ATLAS3.10.1/my_build_dir/include -I/home/jn_petersen/atlas/ATLAS3.10.1/my_build_dir/..//include -I/home/jn_petersen/atlas/ATLAS3.10.1/my_build_dir/..//include/contrib -DAdd_ -DF77_INTEGER=int -DStringSunStyle -DATL_OS_Linux -DATL_ARCH_Corei2 -DATL_CPUMHZ=2001 -DATL_AVX -DATL_SSE3 -DATL_SSE2 -DATL_SSE1 -DATL_USE64BITS -DATL_GAS_x8664 -m64 -DATL_FULL_LAPACK -DATL_NCPU=24 -DDREAL -o ATL_dset_xp1yp0aXbX.o -c ATL_dset_xp1yp0aXbX.c
pgcc-Error-Unknown switch: -fomit-frame-pointer
pgcc-Error-Unknown switch: -mfpmath=sse
pgcc-Error-Unknown switch: -fno-schedule-insns2
pgcc-Error-Unknown switch: -mavx
pgcc-Error-Unknown switch: -x
make: *** [ATL_dset_xp1yp0aXbX.o] Error 1
These are options for gcc, but the pgcc compiler does not know what to do with them and, therefore, stops.
Yes, ATLAS requires gcc in order to assemble assembly files, even if you want to use another compiler for compiling all your C files.
Is there some reason you can't install gcc?
If you can't, and portland group C can't take gcc's flags, then ATLAS will fail in try to assemble a lot of assembly files.
It's been a long time since I checked, but pgcc used to be quite a bit slower than gcc for ATLAS/x86.
Let me know,
Using open-postponed while waiting for a reply...
Closing: never got answer on why gcc cannot be used, which is the supported case.
Log in to post a comment.