PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

Free OpenACC Webinar

ACML v. 2.6.0
Goto page 1, 2  Next
 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Programming and Compiling
View previous topic :: View next topic  
Author Message
peterp



Joined: 16 Apr 2005
Posts: 11

PostPosted: Thu Jun 09, 2005 8:00 am    Post subject: ACML v. 2.6.0 Reply with quote

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
Back to top
View user's profile
mkcolg



Joined: 30 Jun 2004
Posts: 6215
Location: The Portland Group Inc.

PostPosted: Thu Jun 09, 2005 10:44 am    Post subject: Reply with quote

Hi Peter,

The 6.0 release includes some new faster math intrinsic functions. Because ACML 2.6.0 was built with 6.0 and compiled with "-fast -Mscalarsse -Mvect=sse", the new intrinsics are used. So yes you must use the 6.0 compilers with ACML 2.6.0.

We do include the ACML 2.1 library (serial only) with the 5.2 release so if you just need an ACML library and not 2.6.0 in particular, you can use the included version.

- Mat
Back to top
View user's profile
peterp



Joined: 16 Apr 2005
Posts: 11

PostPosted: Thu Jun 09, 2005 11:10 am    Post subject: Reply with quote

Well, microway sold us PGI Workstation for 64/32 bit Academic version ($699$) and
1 year subscription ($220), i.e., no media, but "forgot" to install the acml.

In any case, does our purchase of the software/subscription include upgrading to version
6.0-4 ?

Thanks,
Peter
Back to top
View user's profile
mkcolg



Joined: 30 Jun 2004
Posts: 6215
Location: The Portland Group Inc.

PostPosted: Thu Jun 09, 2005 11:34 am    Post subject: Reply with quote

Yes, customers with current subscriptions can upgrade to 6.0 at no additional cost. Please contact sales@pgroup.com for the specifics about your account. Be sure to include you PIN number.

Thanks,
Mat
Back to top
View user's profile
peterp



Joined: 16 Apr 2005
Posts: 11

PostPosted: Thu Jun 09, 2005 1:41 pm    Post subject: Reply with quote

If we upgrade, will we have to recompile mpich and the rest of the stuff compiled
with v. 5.2 ?

Thanks,
Peter[/quote]
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    PGI User Forum Forum Index -> Programming and Compiling All times are GMT - 7 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © phpBB Group