PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

Free OpenACC Webinar

PGI 5.2
Goto page 1, 2  Next
 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Licenses and Installation
View previous topic :: View next topic  
Author Message
choingju



Joined: 04 Mar 2008
Posts: 16

PostPosted: Thu Mar 20, 2008 3:35 am    Post subject: PGI 5.2 Reply with quote

Hi!
I format my pc then, install the PGI 5.2 (32bit)

I think all of the setting which I did before.

And excute the pgf90, then error message appear.

This is prompt "pgf90 -r8 -O -g -o dtform.e dtform.f"

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

What is the problem?
Back to top
View user's profile
hongyon



Joined: 19 Jul 2004
Posts: 551

PostPosted: Thu Mar 20, 2008 9:30 am    Post subject: Reply with quote

Hi,

Can you try using gcc with simple hello world program? If gcc does not work , it's probably OS installation is not completed.

Hongyon
Back to top
View user's profile
choingju



Joined: 04 Mar 2008
Posts: 16

PostPosted: Thu Mar 20, 2008 11:36 pm    Post subject: Reply with quote

Hi, Dear
What is "gcc with simple hello world program"?
How I check the installation and how to install?
And this is my install script below

./install

PATH=/PGI/linux86/5.2/bin:$PATH
export PATH
MANPATH=$MANPATH:/PGI/linux86/man
export MANPATH

pgf77 -V -c x.f
pgf90 -V -c x.f

LM_LICENSE_FILE=/PGI/license.dat
export LM_LICENSE_FILE
export PGI=/PGI

export PGI=/PGI
export PATH=$PGI/linux86/5.2/bin:$PATH
export MANPATH=$MANPATH:$PGI/linux86.man
export LM_LICENSE_FILE=$PGI/license.dat

Thank you
Back to top
View user's profile
hongyon



Joined: 19 Jul 2004
Posts: 551

PostPosted: Fri Mar 21, 2008 8:28 am    Post subject: Reply with quote

Hi,

As PGI compilers relies on a system linker/assembler, I would like you to try writing a simple and short program and compiler with gcc to see if it compiles and run. If not, then the problem is with your incomplete installation of the OS.

For example,

% cat >
main () {
printf("Hello World\n");
}
%Control-C
% gcc main.c
% ./a.out

It should print "Hello World" on your screen.

Hongyon
Back to top
View user's profile
choingju



Joined: 04 Mar 2008
Posts: 16

PostPosted: Fri Mar 21, 2008 10:25 pm    Post subject: Reply with quote

My OS is Fedora 3.
I never take this problem during install several times.
I commnad that you descript, but error messae shows,

bash: syntax error near unexpected token '"Hello World\n"'

I tried to install the fedora3 for different type(personal, workstation, server)

It always shows same error message.

Thank you.
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    PGI User Forum Forum Index -> Licenses and Installation 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