Dear All.
I am trying to compile ATLAS 3.8.3 with the PGI compiler suite version version 10.9 but the make command fails.
This is is the configure command I issue:
../configure -C if /opt/pgi/linux86-64/10.9/bin/pgf90 -F if '-fast -Bstatic -tp=x64' -C ic /opt/pgi/linux86-64/10.9/bin/pgcc -F ic "-fast -Bstatic -tp=x64" -b 64 -Si cputhrchk 0 --with-netlib-lapack=/home/zidar/temp/lapack-3.3.0/lapack_LINUX.a --prefix=/home/zidar/temp/atlas-pgi/
The make failes with the following message:
gcc -c -DL2SIZE=4194304 -I/home/zidar/temp/ATLAS/atlas-pgi/include -I/home/zidar/temp/ATLAS/atlas-pgi/..//include -I/home/zidar/temp/ATLAS/atlas-pgi/..//i
nclude/contrib -DAdd_ -DF77_INTEGER=int -DStringSunStyle -DATL_OS_Linux -DATL_ARCH_UNKNOWNx86 -DATL_CPUMHZ=1600 -DATL_SSE3 -DATL_SSE2 -DATL_SSE1 -DATL_USE
64BITS -DATL_GAS_x8664 -DATL_NCPU=16 -O -fomit-frame-pointer -m64 /home/zidar/temp/ATLAS/atlas-pgi/..//tune/sysinfo/masearch.c
/home/zidar/temp/ATLAS/atlas-pgi/..//tune/sysinfo/masearch.c: In function ‘RunTime’:
/home/zidar/temp/ATLAS/atlas-pgi/..//tune/sysinfo/masearch.c:263: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result
/home/zidar/temp/ATLAS/atlas-pgi/..//tune/sysinfo/masearch.c:264: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result
/home/zidar/temp/ATLAS/atlas-pgi/..//tune/sysinfo/masearch.c:265: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result
/home/zidar/temp/ATLAS/atlas-pgi/..//tune/sysinfo/masearch.c:266: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result
/home/zidar/temp/ATLAS/atlas-pgi/..//tune/sysinfo/masearch.c: In function ‘main’:
/home/zidar/temp/ATLAS/atlas-pgi/..//tune/sysinfo/masearch.c:351: warning: incompatible implicit declaration of built-in function ‘exit’
/home/zidar/temp/ATLAS/atlas-pgi/..//tune/sysinfo/masearch.c:360: warning: incompatible implicit declaration of built-in function ‘exit’
/home/zidar/temp/ATLAS/atlas-pgi/..//tune/sysinfo/masearch.c:375: warning: incompatible implicit declaration of built-in function ‘exit’
/home/zidar/temp/ATLAS/atlas-pgi/..//tune/sysinfo/masearch.c:442: warning: incompatible implicit declaration of built-in function ‘exit’
gcc -DL2SIZE=4194304 -I/home/zidar/temp/ATLAS/atlas-pgi/include -I/home/zidar/temp/ATLAS/atlas-pgi/..//include -I/home/zidar/temp/ATLAS/atlas-pgi/..//incl
ude/contrib -DAdd_ -DF77_INTEGER=int -DStringSunStyle -DATL_OS_Linux -DATL_ARCH_UNKNOWNx86 -DATL_CPUMHZ=1600 -DATL_SSE3 -DATL_SSE2 -DATL_SSE1 -DATL_USE64B
ITS -DATL_GAS_x8664 -DATL_NCPU=16 -O -fomit-frame-pointer -m64 -o xmasearch masearch.o
./xmasearch s 6 200
make[7]: Entering directory `/home/zidar/temp/ATLAS/atlas-pgi/tune/sysinfo'
gcc -O -fomit-frame-pointer -m64 -fno-tree-loop-optimize -c muladd.c
gcc -O -fomit-frame-pointer -m64 -o xsmuladd muladd.o time.o
time.o: In function `ATL_walltime':
/home/zidar/temp/ATLAS/atlas-pgi/..//tune/sysinfo/ATL_walltime.c:141: undefined reference to `__pgi_unified_version_selector71'
I was able to find the PGI guide to ATLAS (link) yet I was unable to complete any of the steps, because I was unable to generate the xconfig script/binary.
What am I doing wrong?
The output of the configure command is here.
The output of the make command is here.
Compiling LAPACK (done without a problem) and ATLAS is part of a major effor to compile the CPMD package with PGI compiler suite. The compiled binary will be then deployed on the computer cluster thus the “-Bstatic” flag is of prime importance.
Thanks in advance for any help or tip,
Jernej Zidar