PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

Flags for AMD64

 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Programming and Compiling
View previous topic :: View next topic  
Author Message
lionel@imhd.net



Joined: 09 Feb 2005
Posts: 5

PostPosted: Tue Oct 18, 2005 3:35 pm    Post subject: Flags for AMD64 Reply with quote

Hi,

I'm trying to compile this simple program:

http://haven.adnc.net/~lionel/loop1.f

I'm running Linux 2.6.8 (Debian sarge AMD64) on a dual Opteron.
The compiler version is 6.0.5

I tried these flags:

pgf90 -fastsse -Mipa=fast,inline loop1.f -o loop1_pg

pgf90 begins to allocate more and more memory (I have 2 GB) . I stop it when it reaches 40% or so.

It works when I don't use the -Mipa=fast,inline flag, but I'm trying to make it as fast as possible and I read on this forum that you recommend that for the Xeon. Any ideas?

Thanks!
Back to top
View user's profile
brentl



Joined: 20 Jul 2004
Posts: 132

PostPosted: Wed Oct 19, 2005 11:39 am    Post subject: Reply with quote

Hi Lionel,

I don't know, it works for me.

brentl@october:~> pgf90 -V -fastsse -Mipa=fast,inline loop1.f -o loop1_pg

pgf90 6.0-5 64-bit target on x86-64 Linux
Copyright 1989-2000, The Portland Group, Inc. All Rights Reserved.
Copyright 2000-2005, STMicroelectronics, Inc. All Rights Reserved.
PGF90/any Linux/x86-64 6.0-5
Copyright 1989-2000, The Portland Group, Inc. All Rights Reserved.
Copyright 2000-2005, STMicroelectronics, Inc. All Rights Reserved.
PGF90/x86 Linux/x86-64 6.0-5
Copyright 1989-2000, The Portland Group, Inc. All Rights Reserved.
Copyright 2000-2005, STMicroelectronics, Inc. All Rights Reserved.
IPA: Recompiling loop1.o: stale object file

pgf90 6.0-5 64-bit target on x86-64 Linux
Copyright 1989-2000, The Portland Group, Inc. All Rights Reserved.
Copyright 2000-2005, STMicroelectronics, Inc. All Rights Reserved.
PGF90/any Linux/x86-64 6.0-5
Copyright 1989-2000, The Portland Group, Inc. All Rights Reserved.
Copyright 2000-2005, STMicroelectronics, Inc. All Rights Reserved.
PGF90/x86 Linux/x86-64 6.0-5
Copyright 1989-2000, The Portland Group, Inc. All Rights Reserved.
Copyright 2000-2005, STMicroelectronics, Inc. All Rights Reserved.
MAIN:
83, function saxpy1 not inlined -- argument type mismatch
119, function saxpy3 not inlined -- argument type mismatch
brentl@october:~>

Maybe it has something to do with the Debian installation?

Compile with -v and post the output. Also, there should be a localrc file in the bin directory under /usr/pgi (or $PGI), where the pgf90 command is, that might hold some clues.
Back to top
View user's profile
lionel@imhd.net



Joined: 09 Feb 2005
Posts: 5

PostPosted: Wed Oct 19, 2005 12:23 pm    Post subject: Reply with quote

gilthoniel-lionel:pgf90 -V -fastsse -Mipa=fast,inline loop1.f -o loop1_pg
pgf90 6.0-5 64-bit target on x86-64 Linux
Copyright 1989-2000, The Portland Group, Inc. All Rights Reserved.
Copyright 2000-2005, STMicroelectronics, Inc. All Rights Reserved.
PGF90/any Linux/x86-64 6.0-5
Copyright 1989-2000, The Portland Group, Inc. All Rights Reserved.
Copyright 2000-2005, STMicroelectronics, Inc. All Rights Reserved.
PGF90/x86 Linux/x86-64 6.0-5
Copyright 1989-2000, The Portland Group, Inc. All Rights Reserved.
Copyright 2000-2005, STMicroelectronics, Inc. All Rights Reserved.
cleaning up after signal(2)...

I have to kill it when pgipa hogs %40 of my 2GB of memory.

This is my localrc:

set LFC=-lg2c;
set LDSO=/lib64/ld-linux-x86-64.so.2;
set GCCDIR=/usr/lib/gcc-lib/x86_64-linux/3.3.5;
set GCCINC=/usr/lib/gcc-lib/x86_64-linux/3.3.5/include;
set G77DIR=/usr/lib/gcc-lib/x86_64-linux/3.3.5;
set THROW=__THROW=;
# makelocalrc executed by root Fri Aug 5 17:01:13

Thanks!
Back to top
View user's profile
mkcolg



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

PostPosted: Mon Oct 24, 2005 11:18 am    Post subject: Reply with quote

Hi Lionel,

We've tried several different systems and all seem to work correctly. However, we do not have Debian installed here so we're unable to recreate your environment. What is the output when compiled with "-v"? (little "-v" means verbose, "-V" means version) If you don't kill the process, does it finish? Have you tried a different OS?

Thanks,
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