PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

PGI 5.2 Install
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
choingjoo



Joined: 20 Apr 2007
Posts: 13

PostPosted: Mon Jun 04, 2007 7:23 pm    Post subject: PGI 5.2 Install Reply with quote

Hi.
I want to install PGI 5.2 in red hat 9.0
But, it didn't work.

Install complete message is shown, but I command 'whereis pgf90'
It is not found.

What is the problem? Please help~

OS : red hat linux 9.0
CPU : Pentium D 3.2
Ram : 1G
Mainboard : Intel
Back to top
View user's profile
mkcolg



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

PostPosted: Tue Jun 05, 2007 12:18 pm    Post subject: Reply with quote

Hi choingjoo,

While I don't use the 'whereis' command nor know much about it, I do believe that it only looks in certain system directories such as /usr/bin. If you used the defaults, then you PGI install should be located in /usr/pgi, otherwise it's in the location which you specified during the installation. We recommend that you set the environment variable "PGI" to this base directory.

To use the compilers you need to set your PATH variable to include $PGI/linux86/5.2/bin and your MANPATH to include $PGI/linux86/5.2/man. You'll also need to set the location of your license file by setting LM_LICENSE_FILE to $PGI/license.dat.

- Mat
Back to top
View user's profile
choingjoo



Joined: 20 Apr 2007
Posts: 13

PostPosted: Fri Jun 08, 2007 12:23 am    Post subject: Reply with quote

Thank you for answering my question.
I tried as you mention that set a default directory /PGI and install PGI.
And recieve trail license.

But, "set path =(/PGI/linux86/5.2/bin $path" is error
so,

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

I think it is done. And next step is to verify the release number of the products.

pgf77 -V x.f
--------------
PGFTN-F-0002-Unable to open source input file: x.f

pgf90 -V x.f
--------------
PGF90-F-0002-Unable to open source input file: x.f
PGF90/any linux/x86 5.2-4: compliation aborted


What is the problem?
Thank you for reading my message
Back to top
View user's profile
mkcolg



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

PostPosted: Fri Jun 08, 2007 11:51 am    Post subject: Reply with quote

You need to either remove the file, or replace it with one that exists.
Code:

% pgf90 -V

pgf90 7.0-5 64-bit target on x86-64 Linux
Copyright 1989-2000, The Portland Group, Inc.  All Rights Reserved.
Copyright 2000-2007, STMicroelectronics, Inc.  All Rights Reserved.

% touch x.f
% pgf90 -V -c x.f

pgf90 7.0-5 64-bit target on x86-64 Linux
Copyright 1989-2000, The Portland Group, Inc.  All Rights Reserved.
Copyright 2000-2007, STMicroelectronics, Inc.  All Rights Reserved.
PGF90/x86-64 Linux 7.0-5
Copyright 1989-2000, The Portland Group, Inc.  All Rights Reserved.
Copyright 2000-2007, STMicroelectronics, Inc.  All Rights Reserved.
PGF90-W-0006-Input file empty (x.f)
PGF90/x86-64 Linux 7.0-5: compilation completed with warnings
PGF90/x86-64 Linux 7.0-5
Copyright 1989-2000, The Portland Group, Inc.  All Rights Reserved.
Copyright 2000-2007, STMicroelectronics, Inc.  All Rights Reserved.
Back to top
View user's profile
choingjoo



Joined: 20 Apr 2007
Posts: 13

PostPosted: Sat Jun 09, 2007 10:33 pm    Post subject: Reply with quote

Dear Mat

[root@ARL PGI]# pgf90 -V -c x.f

pgf90 5.2-4
Copyright 1989-2000, The Portland Group, Inc. All Rights Reserved.
Copyright 2000-2004, STMicroelectronics, Inc. All Rights Reserved.
PGF90/any Linux/x86 5.2-4
Copyright 1989-2000, The Portland Group, Inc. All Rights Reserved.
Copyright 2000-2004, STMicroelectronics, Inc. All Rights Reserved.
NOTE: your evaluation license will expire in 14 days, 23.9 hours.
For a permanent license, please read the order acknowledgement
that you received. Connect to https://www.pgroup.com/License with
the username and password in the order acknowledgement.

Name: choingjoo
User: choingjoo
Email: choing-joo@hanmail.net
Hostid: PGI=000EE8E0F19E77E06384F8
PGF90-W-0006-Input file empty (x.f)
PGF90/any Linux/x86 5.2-4: compilation completed with warnings
NOTE: your evaluation license will expire in 14 days, 23.9 hours.
For a permanent license, please read the order acknowledgement
that you received. Connect to https://www.pgroup.com/License with
the username and password in the order acknowledgement.

Name: choingjoo
User: choingjoo
Email: choing-joo@hanmail.net
Hostid: PGI=000EE8E0F19E77E06384F8
PGF90/x86 Linux/x86 5.2-4
Copyright 1989-2000, The Portland Group, Inc. All Rights Reserved.
Copyright 2000-2004, STMicroelectronics, Inc. All Rights Reserved.


and then,

I open the folder /usr/include/sys/ and /usr/include/bits.
and replace the files /PGI/linux86/5.2/include/sys/types.h and /PGI/linux86/5.2/include/bits/types.h to each files.
In my manual 'ifdef _GNUC_' or 'ifdef GLIBC_HAS_LONG_LONG' will show. But, I didn't read any message.
So, I

[root@ARL PGI]# cd /PGI/linux86/5.2/include
[root@ARL include]# diff ./sys/types.h /usr/include/sys/types.h
[root@ARL include]# diff ./bits/types.h /usr/include/bits/types.h

Is it done? And I have a license, How can I replace the trail license to real one?
the file name is 'license.dat' and 1.7kilobytes

Thank you for reading my message.[/code]
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