PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

Free OpenACC Webinar

fftw --enable-sse2?

 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Programming and Compiling
View previous topic :: View next topic  
Author Message
boukeB



Joined: 06 Apr 2005
Posts: 5

PostPosted: Tue Oct 25, 2005 5:34 am    Post subject: fftw --enable-sse2? Reply with quote

Hello,

I'm trying to compile fftw 3.0.1 with the PGI compilers. Is there a FAQ somewhere that explains how to get the --enable-sse2 switch working?

right now the options i use are:
./configure CC=pgcc --enable-threads --enable-float --enable-shared \
CFLAGS="-O3 -fastsse -Mvect=sse -tp k8-64" \
F77=g77 \
FFLAGS="-O3 -m64"

but i would like to use F77=pgf90 and --enable-sse2
any tips are welcome...
Back to top
View user's profile
mkcolg



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

PostPosted: Tue Oct 25, 2005 8:15 pm    Post subject: Reply with quote

Hi boukeB,

If I remember correctly, the FFTW build option "--enable-sse2" uses extended asm statements to include the SSE2 instructions. While we are adding this feature for the 6.1 release, we currently do not support extended asm statements. However, the "-fastsse" option generates SSE2 instructions by default so I don't believe you actually need to use "--enable-sse2" at all.

Hope this helps,
Mat
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
Page 1 of 1

 
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