PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

cannot find license file error while trying to compile MM5

 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Licenses and Installation
View previous topic :: View next topic  
Author Message
arnico



Joined: 16 Oct 2004
Posts: 1

PostPosted: Fri Sep 30, 2005 5:17 pm    Post subject: cannot find license file error while trying to compile MM5 Reply with quote

Hi. I am trying to rebuild a linux RH9 workstation (2 x 2 ghz athlon processors) from scratch after the HD with the OS crashed.

So far did the following: downloaded and installed PGI Workstation version 5.0-2 (the one I'd paid for) at the default location. Had to log in as root and create a write-able directory /usr/pgi for the installation to proceed.

Added the following lines to my .bashrc file:

PATH=/usr/pgi/linux86/5.0/bin:$PATH
export PATH
MANPATH=$/MANPATH:/usr/pgi/linux86/5.0/man
export MANPATH


Then tried the tests in step 6 of the installation guide.

First sign of SUSPICIOUS BEHAVIOR:

The tests worked fine for pgf90, pghpf and pgCC. For example:

pgf90 5.0-2
Copyright 1989-2000, The Portland Group, Inc. All Rights Reserved.
Copyright 2000-2003, STMicroelectronics, Inc. All Rights Reserved.
PGF90/any Linux/x86 5.0-2
Copyright 1989-2000, The Portland Group, Inc. All Rights Reserved.
Copyright 2000-2003, STMicroelectronics, Inc. All Rights Reserved.
PGF90-F-0002-Unable to open source input file: x.f
PGF90/any Linux/x86 5.0-2: compilation aborted

BUT for pgf77 and pgcc I get error messages. For example.

pgf77 5.0-2
Copyright 1989-2000, The Portland Group, Inc. All Rights Reserved.
Copyright 2000-2003, STMicroelectronics, Inc. All Rights Reserved.
pgf77-linux86: LICENSE MANAGER PROBLEM: Cannot find license file (-1,359:2 "No such file or directory")
[arnico@Manang arnico]$


Going on to MM5V3/TERRAIN and trying to compile it, I get a similar license manage problem. For example here's an excerpt from the make log:

pgf90 -c -I. -byteswapio data_area.f
pgf90-linux86: LICENSE MANAGER PROBLEM: Cannot find license file (-1,359:2 "No such file or directory")
make[1]: [data_area.o] Error 2 (ignored)
/bin/rm -f data_area.f
/bin/rm -f data_area.exe
pgf90 -o data_area.exe latlon.o llxy.o mxmnll.o nestll.o rflp.o setup.o outpt.o vtran.o search.o data30s.o data_area.o -L/lib -L/usr/X11R6/lib -lncarg -lncarg_gks -lncarg_c -lX11 -L/linux86/lib -L/usr/lib -lf2c
/usr/bin/ld: cannot open latlon.o: No such file or directory
make[1]: [data_area.exe] Error 2 (ignored)
/bin/rm -f cr30sdata.o
cut -c1-72 cr30sdata.F | /lib/cpp -I. -C -traditional -DNCARG -DRECLENBYTE -DSGI > cr30sdata.f
pgf90 -c -I. -byteswapio cr30sdata.f
pgf90-linux86: LICENSE MANAGER PROBLEM: Cannot find license file (-1,359:2 "No such file or directory")
make[1]: [cr30sdata.o] Error 2 (ignored)

the same error message keeps repeating.

So what am I missing?

I'd appreciate any help.

Thanks a lot.

Arnico.

arnico (at) mit (dot) edu
Back to top
View user's profile
mkcolg



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

PostPosted: Fri Sep 30, 2005 8:29 pm    Post subject: Reply with quote

Hi Arnico,


You most likely need to set the environment variable LM_LICENSE_FILE to the location of your license file. It's typically located at the root of your PGI directory.

Example: export LM_LICENSE_FILE=/usr/pgi/license.dat

Hope this helps,
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
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