PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

/crtbegin.o error ?
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
jkrishnan



Joined: 05 May 2005
Posts: 4

PostPosted: Thu May 05, 2005 2:01 pm    Post subject: /crtbegin.o error ? Reply with quote

Hi:

We recently got a Em64T system and installed PG 5.2-4 on it, when I try to compile a fortran90 code i get the error

"/usr/bin/ld: /crtbegin.o: No such file: No such file or directory"

I copied the crtbegin.o file from the /usr/lib//gcc/x86_64-redhat-linux/3.4.2/32/crtbegin.o to the "/" dir and then I can compile sucessfully, but why is there this problem ? I installed 5.2-4 using the install program accompanying the compiler.

please advise
thanks
-Jay
Back to top
View user's profile
mkcolg



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

PostPosted: Thu May 05, 2005 3:24 pm    Post subject: Reply with quote

Hi Jay,

The compiler gets the path to the crtbegin.o file from configuration information found in the "localrc" file. The localrc file can be found in the "bin" directory of your PGI install path. However, given the GCC version you list below, I'm assuming your on a Fedora Core 3 system. Since FC3 came out after 5.2 was released, it is not offically supported by 5.2. You will need to download a patch to get things working correctly. The patch can be found in the "Known Problems" section at the bottom of the 5.2 release information page (http://www.pgroup.com/support/new_rel_52.htm) Download the patch, un-tar it in your PGI directory, and then re-install the compilers.

Hope this helps,
Mat
Back to top
View user's profile
jkrishnan



Joined: 05 May 2005
Posts: 4

PostPosted: Thu May 05, 2005 9:48 pm    Post subject: Reply with quote

Mat:

Thanks for your help, I was able to compile without any problems. Are you with Portland Group ? Would you know why isn't there a direct link to the support page you mention in your answer anywhere on the support site. Also are there any such links for version 6.0-2?

We are having some MPICH/CMAQ4.4 related problems (which we feel is related to 6.0-2) since it works with 5.2-4 without any issues. We will wait for a 6.0-2 update (hopefully there will be one soon :) )

thank you
-Jay
Back to top
View user's profile
mkcolg



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

PostPosted: Fri May 06, 2005 8:40 am    Post subject: Reply with quote

Hi Jay,

I'm with PGI's application's group and am one of the biggest users of PGI compilers and tools. I enjoy answering other user's questions and like to know what issues people are having. While I hope other users will be more active, until then, I'm more than happy to offer any insight I can (hopefully even useful!)

The link to this page can be found through the FAQ page under the "Installation" section's "What Releases of PGI Compilers work with Each Linux Release" link. Also, information about supported operating systems is included in the compiler's release notes. The 6.0-2 information can be found in the same location as 5.2-4 as well as under the FAQ's Installation section's "What Should I Know About the Latest Release" link.

What problems are you having CMAQ?

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



Joined: 05 May 2005
Posts: 4

PostPosted: Mon May 09, 2005 6:45 pm    Post subject: Reply with quote

Mat,

Thanks for offer to help.

We are having a problem with MM5 (correction not CMAQ) and MPICH, the cause of the problem seems to be very difficult to figure out.

We were able to compile MM5 on an EM64T cluster but when we try to run it through mpirun, we get a SIGSEGV error in the rs.out files, all it says is that there is a p4_error and that the cause of the error is SIGSEGV, we looked through the pgroup MM5 "tips and techniques" and the recommendation is to use -Mswapbyteio and another flag for SGI systems, also there is a mention of SIGSEGV if the stack size is too low , but the user has resources set to unlimitied.

Additionally we looked through the source code to see if we can figure out the point of error and the error seems to be right after mm5.mpp reads in the input and prints out the sort of input (indicated by the first line in the rs.out file as "*************** ONE DOMAIN ONLY!!! ***************" and the second line is a p4_error: interrupt SIGSEGV: 11)

thanks for any advice you can offer
-Jay
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