Our sys guy installed the acml library and I was asked to test it…note, we have v. 5.2
for PGF/CC…do the failures below require we upgrade ? Only the lapack stuff in the 32 bit
tests work as expected.
The pgi32 and pgi32_mp fft examples fail to compile (makefile as provided):
master-181 examples>: gmake
Linking program cfft1d_example.o:
pgf77 -tp=k8-32 cfft1d_example.o /export/local/acml2.6.0/pgi32/lib/libacml.a -o cfft1d_example.exe
/export/local/acml2.6.0/pgi32/lib/libacml.a(cfft_trig.o)(.text+0x103): In function cfft_trig_': : undefined reference to __mth_i_sincosx’
/export/local/acml2.6.0/pgi32/lib/libacml.a(cfft_trig.o)(.text+0x531): In function cfft_triga_': : undefined reference to __mth_i_sincosx’
/export/local/acml2.6.0/pgi32/lib/libacml.a(cfft_trig.o)(.text+0x59f): In function cfft_triga_': : undefined reference to __mth_i_sincosx’
/export/local/acml2.6.0/pgi32/lib/libacml.a(cfftsep_trig.o)(.text+0x123): In function cfftsep_trig_': : undefined reference to __mth_i_sincosx’
/export/local/acml2.6.0/pgi32/lib/libacml.a(cfftsep_trig.o)(.text+0xe9d): In function cfftsep_triga_': : undefined reference to __mth_i_sincosx’
/export/local/acml2.6.0/pgi32/lib/libacml.a(cfftsep_trig.o)(.text+0xf11): more undefined references to `__mth_i_sincosx’ foll
ow
gmake: *** [cfft1d_example.exe] Error 2
master-195 examples>: cat acmlinfo.res
FORTRAN STOP
ACML (AMD Core Math Library) version 2.6.0 (Thu Apr 14 09:01:35 BST 2005)
Copyright AMD,NAG 2005
Built using Fortran compiler: pgf77 6.0-2 64-bit target on x86-64 Linux
with flags: -Minform=warn -Mdclchk -Kpic -Mcache_align -Mreentrant -DUSE_OMP -mp -tp=k8-32 -O3 -fast -Mvect=sse -Mscalarsse
and C compiler: pgcc 6.0-2 64-bit target on x86-64 Linux
with flags: -Minform=warn -Kpic -Mcache_align -Mreentrant -DUSE_OMP -mp -tp=k8-32 -O3
master-196 examples>:
master-182 examples>: cd ../../pgi32/examples/
/home/users/faculty/peterp/Test.d/acml_test/pgi32/examples
master-183 examples>: gmake
Linking program cfft1d_example.o:
pgf77 -tp=k8-32 cfft1d_example.o /export/local/acml2.6.0/pgi32/lib/libacml.a -o cfft1d_example.exe
/export/local/acml2.6.0/pgi32/lib/libacml.a(cfft_trig.o)(.text+0x103): In function cfft_trig_': : undefined reference to __mth_i_sincosx’
/export/local/acml2.6.0/pgi32/lib/libacml.a(cfft_trig.o)(.text+0x531): In function cfft_triga_': : undefined reference to __mth_i_sincosx’
/export/local/acml2.6.0/pgi32/lib/libacml.a(cfft_trig.o)(.text+0x59f): In function cfft_triga_': : undefined reference to __mth_i_sincosx’
/export/local/acml2.6.0/pgi32/lib/libacml.a(cfftsep_trig.o)(.text+0x123): In function cfftsep_trig_': : undefined reference to __mth_i_sincosx’
/export/local/acml2.6.0/pgi32/lib/libacml.a(cfftsep_trig.o)(.text+0xe9d): In function cfftsep_triga_': : undefined reference to __mth_i_sincosx’
/export/local/acml2.6.0/pgi32/lib/libacml.a(cfftsep_trig.o)(.text+0xf11): more undefined references to `__mth_i_sincosx’ follow
gmake: *** [cfft1d_example.exe] Error 2
master-184 examples>:
master-190 examples>: cat acmlinfo.res
FORTRAN STOP
ACML (AMD Core Math Library) version 2.6.0 (Thu Apr 14 09:01:08 BST 2005)
Copyright AMD,NAG 2005
Built using Fortran compiler: pgf77 6.0-2 64-bit target on x86-64 Linux
with flags: -Minform=warn -Mdclchk -Kpic -Mcache_align -Mreentrant -tp=k8-32 -O3 -fast -Mvect=sse -Mscalarsse
and C compiler: pgcc 6.0-2 64-bit target on x86-64 Linux
with flags: -Minform=warn -Kpic -Mcache_align -Mreentrant -tp=k8-32 -O3
master-191 examples>:
The pgi64 and pgi64_mp examples (all) fail to compile (makefile as provided):
master-213 examples>: pwd
/home/users/faculty/peterp/Test.d/acml_test/pgi64_mp/examples
master-214 examples>: gmake
Linking program sgetrf_example.o:
pgf77 -mp sgetrf_example.o /export/local/acml2.6.0/pgi64_mp/lib/libacml.a -o sgetrf_example.exe
/export/local/acml2.6.0/pgi64_mp/lib/libacml.a(strsm.o)(.text+0x37f): In function strsm_': : undefined reference to __c_mzero4’
/export/local/acml2.6.0/pgi64_mp/lib/libacml.a(svecpack.o)(.text+0xa4): In function svecpack_': : undefined reference to __c_mzero4’
/export/local/acml2.6.0/pgi64_mp/lib/libacml.a(sgemm.o)(.text+0x37f): In function sgemm_': : undefined reference to __c_mzero4’
/export/local/acml2.6.0/pgi64_mp/lib/libacml.a(sgexblkmatn.o)(.text+0x9c): In function sgexblkmatn_': : undefined reference to __c_mzero4’
/export/local/acml2.6.0/pgi64_mp/lib/libacml.a(sgexblkmatt.o)(.text+0xac): In function sgexblkmatt_': : undefined reference to __c_mzero4’
/export/local/acml2.6.0/pgi64_mp/lib/libacml.a(strsmblkmata.o)(.text+0xac): more undefined references to `__c_mzero4’ follow
gmake: *** [sgetrf_example.exe] Error 2
master-223 examples>: !ca
cat acmlinfo.res
FORTRAN STOP
ACML (AMD Core Math Library) version 2.6.0 (Sat Apr 23 21:51:38 BST 2005)
Copyright AMD,NAG 2005
Built using Fortran compiler: pgf77 6.0-2 64-bit target on x86-64 Linux
with flags: -Minform=warn -Mdclchk -Kpic -Mcache_align -Mreentrant -DUSE_OMP -mp -tp=k8-64 -DIS_64BIT -O3 -fast -Mvect=sse -Mscalarsse
and C compiler: pgcc 6.0-2 64-bit target on x86-64 Linux
with flags: -Minform=warn -Kpic -Mcache_align -Mreentrant -DUSE_OMP -mp -tp=k8-64 -DIS_64BIT -O3
master-224 examples>:
master-215 examples>:
cd ../../pgi64/examples/
/home/users/faculty/peterp/Test.d/acml_test/pgi64/examples
master-216 examples>: gmake
Linking program sgetrf_example.o:
pgf77 sgetrf_example.o /export/local/acml2.6.0/pgi64/lib/libacml.a -o sgetrf_example.exe
/export/local/acml2.6.0/pgi64/lib/libacml.a(strsm.o)(.text+0x3cf): In function strsm_': : undefined reference to __c_mzero4’
/export/local/acml2.6.0/pgi64/lib/libacml.a(svecpack.o)(.text+0xb1): In function svecpack_': : undefined reference to __c_mzero4’
/export/local/acml2.6.0/pgi64/lib/libacml.a(sgemm.o)(.text+0x41f): In function sgemm_': : undefined reference to __c_mzero4’
/export/local/acml2.6.0/pgi64/lib/libacml.a(sgexblkmatn.o)(.text+0xbc): In function sgexblkmatn_': : undefined reference to __c_mzero4’
/export/local/acml2.6.0/pgi64/lib/libacml.a(sgexblkmatt.o)(.text+0xbc): In function sgexblkmatt_': : undefined reference to __c_mzero4’
/export/local/acml2.6.0/pgi64/lib/libacml.a(strsmblkmata.o)(.text+0xcc): more undefined references to `__c_mzero4’ follow
gmake: *** [sgetrf_example.exe] Error 2
master-217 examples>:
master-220 examples>: !cat
cat acmlinfo.res
FORTRAN STOP
ACML (AMD Core Math Library) version 2.6.0 (Sat Apr 23 21:14:09 BST 2005)
Copyright AMD,NAG 2005
Built using Fortran compiler: pgf77 6.0-2 64-bit target on x86-64 Linux
with flags: -Minform=warn -Mdclchk -Kpic -Mcache_align -Mreentrant -tp=k8-64 -DIS_64BIT -O3 -fast -Mvect=sse -Mscalarsse
and C compiler: pgcc 6.0-2 64-bit target on x86-64 Linux
with flags: -Minform=warn -Kpic -Mcache_align -Mreentrant -tp=k8-64 -DIS_64BIT -O3
master-221 examples>:
On the other hand:
master-207 examples>: cd acml_mv/
/home/users/faculty/peterp/Test.d/acml_test/pgi64/examples/acml_mv
master-209 acml_mv>: gmake
Testing: no example difference files were generated.
Test passed OK
master-210 acml_mv>: cd ../../../pgi64_mp/examples/acml_mv/
/home/users/faculty/peterp/Test.d/acml_test/pgi64_mp/examples/acml_mv
master-211 acml_mv>: gmake
Testing: no example difference files were generated.
Test passed OK
master-212 acml_mv>:
Best regards,
Peter