PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

Udefined reference to BSS1, BSS4, BSS5

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



Joined: 17 May 2006
Posts: 4

PostPosted: Fri Jul 07, 2006 9:47 am    Post subject: Udefined reference to BSS1, BSS4, BSS5 Reply with quote

I have an old program. It has been compiled with PGI compiler version I am not sure of. I can run this program if I don't recompile it. I had PGI 3.5 version. I get:
"Udefined reference to BSS1"
"Udefined reference to BSS4"
"Udefined reference to BSS5"
these error messages.

Then I downloaded PGI 6.0. I am still getting the same errors.

Is anybody had the same error. ?
Back to top
View user's profile
mkcolg



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

PostPosted: Fri Jul 07, 2006 10:22 am    Post subject: Reply with quote

Hi Ceren,

What OS are you using? Which minor release of 6.0 are you using? (i.e. the output of "pgf90 -V").

One user had a similar issue when compiling on a SuSE 10.0 system using older compilers. The linker changed quite a bit with SuSE 10 and we didn't support these changes until 6.0-8.

- Mat
Back to top
View user's profile
Ceren



Joined: 17 May 2006
Posts: 4

PostPosted: Fri Jul 07, 2006 11:53 am    Post subject: Reply with quote

I use Windows 32 bit version of PGI. I have Windows XP. I changed the dimensions of some common blocks, then this error disappeared. What is the limit on those memory blocks? What command line option should I use to increase the memory allocation? I was using PGI 3.3, then 6.0 versions. PGI 6.0 version error messages were more elaborate than the 3.3 version. When the problem didn't go away with the newer version of PGI (it was under trial lisance) I uninstalled it. I am back to 3.3
Back to top
View user's profile
mkcolg



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

PostPosted: Mon Jul 10, 2006 9:11 am    Post subject: Reply with quote

Quote:
What is the limit on those memory blocks?


2Gb which is a limit of the small memory model.

Code:
What command line option should I use to increase the memory allocation?


In 64-bits, you would add "-mcmodel=medium" but in 32-bits, 2Gb is a hard limit.

Can you please send an example of the problem to trs@pgroup.com?

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