# Problem with Execution and switches

**URL:** <https://forums.developer.nvidia.com/t/problem-with-execution-and-switches/130224>\
**Category:** Legacy PGI Compilers (archived)\
**Created:** [January 10, 2006, 5:19pm UTC](https://forums.developer.nvidia.com/t/problem-with-execution-and-switches/130224 "2006-01-10T17:19:28Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![dharman](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@dharman](https://forums.developer.nvidia.com/u/dharman)\
**Post date:** [January 10, 2006, 5:19pm UTC](https://forums.developer.nvidia.com/t/problem-with-execution-and-switches/130224/1 "2006-01-10T17:19:28Z")

</div>

I am using SUSE 10.0 and PGI 6.1. The steps for the installation wew followed as discribed in the documentation. However, i can not get past the following errors.

linux:/local/CODE # pgf90 -dryrun x.f  
Reading rcfile /usr/pgi/linux86/6.1/bin/pgf90rc  
Reading rcfile /usr/pgi/linux86/6.1/bin/pgftnrc  
pgf90-Error-file with unknown suffix ignored: x.f  
linux:/local/CODE # pgf90 -fast -v -o CALMETND CALMETND.F  
pgf90-Warning-Unknown switch: -fast  
pgf90-Warning-Unknown switch: -v  
pgf90-Warning-Unknown switch: -o  
pgf90-Error-file with unknown suffix ignored: CALMETND  
pgf90-Error-file with unknown suffix ignored: CALMETND.F  
linux:/local/CODE #

the shell uses bash. any suggestions??

---

<div class="post-metadata">

**Author:** ![MatColgrove](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/matcolgrove/32/14047_2.png) [@MatColgrove](https://forums.developer.nvidia.com/u/MatColgrove)\
**Post date:** [January 10, 2006, 10:57pm UTC](https://forums.developer.nvidia.com/t/problem-with-execution-and-switches/130224/2 "2006-01-10T22:57:00Z")

</div>

Hi dharman,

Your install most likely failed for some reason. Can you look at your install log or try installing again? Note that if you are on a 64-bit system and the 32-bit GCC compatability libraries are not installed, the PGI 32-bit compilers won’t be installed.

- Mat

---

<div class="post-metadata">

**Author:** ![dharman](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@dharman](https://forums.developer.nvidia.com/u/dharman)\
**Post date:** [January 12, 2006, 1:22pm UTC](https://forums.developer.nvidia.com/t/problem-with-execution-and-switches/130224/3 "2006-01-12T13:22:37Z")

</div>

Since my last post I have run three fresh Linux and compiler installs to ensure no artifacts were left over. I have learned there is a “makelocalrc” that must be run. Here is the latest message i get and have not found any reference to error:

dohm-linux:/local/CalmetTest/CODE # pgf90 -fast -v -o CALMETND CALMETND.F  
pgf90-Error-Required tool as was not found  
pgf90… looked for as at /usr/pgi/linux86-64/6.1/bin/as  
pgf90-Error-Required tool ld was not found  
pgf90… looked for ld at /usr/pgi/linux86-64/6.1/bin/ld

i have tried this on both 32- and 64-bit systems and received the same results.

---

<div class="post-metadata">

**Author:** ![dharman](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@dharman](https://forums.developer.nvidia.com/u/dharman)\
**Post date:** [January 12, 2006, 1:26pm UTC](https://forums.developer.nvidia.com/t/problem-with-execution-and-switches/130224/4 "2006-01-12T13:26:41Z")

</div>

Here is and info line received from the makelocalrc:

dohm-linux:/usr/pgi/linux86-64/6.1/bin # makelocalrc -x /usr/pgi/linux86-64/6.1  
WARNING: g77 not found; this may cause problems during use  
[/quote]

---

<div class="post-metadata">

**Author:** ![MatColgrove](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/matcolgrove/32/14047_2.png) [@MatColgrove](https://forums.developer.nvidia.com/u/MatColgrove)\
**Post date:** [January 12, 2006, 5:26pm UTC](https://forums.developer.nvidia.com/t/problem-with-execution-and-switches/130224/5 "2006-01-12T17:26:08Z")

</div>

Hi dharman,

It appears that you’ve gotten things to install correctly but need to set your your configuration to append “$PATH” your PATH environment variable.

Examples:

```nohighlight
   set up your configuration.
   setenv PGI /usr/pgi
   set path=($PGI/linux86/6.1/bin $path) ! for 32-bit by default
   set path=($PGI/linux86-64/6.1/bin $path) ! for 64-bit by default
   setenv LM_LICENSE_FILE $PGI/license.dat

   or in bash

   export PGI=/usr/pgi
   export PATH=$PGI/linux86/6.1/bin:$PATH ! for 32-bit
   export PATH=$PGI/linux86-64/6.1/bin:$PATH ! for 64-bit
   export LM_LICENSE_FILE=$PGI/license.dat

```

The makelocalrc warning only means that you may have problems interoperating with g77 and using the “-g77libs” flag since you do not have g77 installed or the installer can’t find your installation.

- Mat

---

<div class="post-metadata">

**Author:** ![dharman](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@dharman](https://forums.developer.nvidia.com/u/dharman)\
**Post date:** [January 12, 2006, 10:05pm UTC](https://forums.developer.nvidia.com/t/problem-with-execution-and-switches/130224/6 "2006-01-12T22:05:30Z")

</div>

The PATH and MANPATH were as you indicated. I added the license path and here is what came back:

dohm-linux:/local/CalmetTest/CODE # pgf90 -fast -o CALMETND CALMETND.F  
pgf90-linux86-64: LICENSE MANAGER PROBLEM: your evaluation period has expired; please contact PGI  
or an authorized PGI distributor

This evaluation installation was less than 24 hours ago.

---

<div class="post-metadata">

**Author:** ![MatColgrove](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/matcolgrove/32/14047_2.png) [@MatColgrove](https://forums.developer.nvidia.com/u/MatColgrove)\
**Post date:** [January 12, 2006, 10:55pm UTC](https://forums.developer.nvidia.com/t/problem-with-execution-and-switches/130224/7 "2006-01-12T22:55:40Z")

</div>

Hi dharman,

If it’s ok with you, instead of trying to figure out why your eval license expired, I’ll hit the easy button and send you a demo license via email. Give me a few minutes to get your email address and generate the license, but hopefully we can get you going here shortly.

-Mat
