PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

Free OpenACC Webinar

I have a question!
Goto page Previous  1, 2, 3  Next
 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Licenses and Installation
View previous topic :: View next topic  
Author Message
hongyon2



Joined: 02 Oct 2006
Posts: 40

PostPosted: Fri Jun 29, 2007 8:52 am    Post subject: Reply with quote

choingjoo,

Assuming you installed PGI compilers in /home/choingjoo/PGI on 64-bit machine, there should be files
/home/choingjoo/PGI/linux86/5.2/bin/makelocalrc and /home/choingjoo/PGI/linux86-64/5.2/bin/makelocalrc.

You need to edit those two files at line 299 from:

if test -f $SPECSFILE; then

to

if test -f "$SPECSFILE"; then


Then, you need to run a makelocalrc script with following commands:

% cd /home/choingjoo/PGI/linux86-64/5.2/bin
% makelocalrc -x /home/choingjoo/PGI/linux86-64/5.2
% cd /home/choingjoo/PGI/linux86/5.2/bin
% makelocalrc -x /home/choingjoo/PGI/linux86/5.2


Hongyon
Back to top
View user's profile
choingjoo



Joined: 20 Apr 2007
Posts: 13

PostPosted: Mon Jul 02, 2007 5:58 am    Post subject: Reply with quote

Thank you. I solve the problem.
But I have a another problem.

In install manual,

Step 7 − types.h check. On many Linux systems, the PGI Workstation installation script copies the header files
/usr/include/sys/types.h/usr/include/bits/types.h
and places modified versions into
$PGI/linux86/5.2/include/sys/types.h
$PGI/linux86-64/5.2/include/sys/types.h
$PGI/linux86/5.2/include/bits/types.h
$PGI/linux86-64/5.2/include/bits/types.h

Could I replace the files? So, I conduct the switching process.

And I have a license.dat file. But it doesn't include the header like this;
SERVER <hostname> <hostid> 7496
DAEMON pgroupd <install_dir>/linux86/bin/pgroupd


step 8. % LM_LICENSE_FILE=/PGI/license.dat
% export LM_LICENSE_FILE
% export PGI=/PGI

step 9. vi /PGI/linux86/5.2/bin/lmgrd.rc. and change the script.

step 10. % lmgrd.rc start
% lmgrd.rc stop

step 11. % cp /PGI/linux86/5.2/bin/lmgrd.rc /etc/rc.d/init.d/lmgrd
% ln -s /etc/rc.d/init.d/lmgrd /etc/rc.d/rc3.d/S90lmgrd

and then. when I reboot the computer, pgf90 was vanished.
what is the problem?
Back to top
View user's profile
mkcolg



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

PostPosted: Mon Jul 02, 2007 12:36 pm    Post subject: Reply with quote

Hi Choingjoo,

In step 7 of the installation process, the installer will determine which version of "types.h" to use and install them automatically. You should not need to modify these files.

I'm not sure what you mean by "when I reboot the computer, pgf90 was vanished". Do you mean that the entire installation was removed? or are the compilers simply not in your PATH environment variable?

- Mat
Back to top
View user's profile
choingjoo



Joined: 20 Apr 2007
Posts: 13

PostPosted: Thu Jul 05, 2007 6:48 am    Post subject: Reply with quote

Install forder '/PGI' remained on computer, But. reboot the system and commnad following sentence;

root@ARL root]# pgf90 -V
-bash : pgf90: command not found


what is the problem?
Back to top
View user's profile
mkcolg



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

PostPosted: Thu Jul 05, 2007 12:41 pm    Post subject: Reply with quote

You need add the path to the PGI "bin" directory to you shell's PATH environment variable (as shown in step 5 of the PGI installation notes). It's best to add this to your local startup files (~/.cshrc, ~/.bashrc) so that the PATH is always set whenever a new shell is opened.

- Mat
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 Previous  1, 2, 3  Next
Page 2 of 3

 
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