[MITgcm-devel] Re: pgf90

Ed Hill ed at eh3.com
Wed Sep 3 07:41:35 EDT 2003


On Wed, 2003-09-03 at 16:21, Patrick Heimbach wrote:
> Hi Chris,
> 
> quick question.
> On which lcs machine is one supposed to use pgf90?
> I see it in my path
>  > which pgf90
> /usr/local/bin/pgf90
> 
> but can't run it on neither faulks nor twain:
> pgf90 -c mydriver.f90
> pgf90-linux86: LICENSE MANAGER PROBLEM: Cannot find license file (-1,359:2
> "No such file or directory")


Hi Patrick,

I recently had the same problem.  You need to set the PGI environment
variable using:

  bash:
    export PGI=/usr/local/pkg/pgi/current  #faulks
    export PGI=/usr/local/pgi   # cg01

  tcsh:
    setenv PGI /usr/local/pkg/pgi/current  #faulks
    setenv PGI /usr/local/pgi   # cg01

as described at:

  http://mitgcm.org/projects/MITGCM_CLUSTER/faq.htm


The PGI compilers will work on faulks (though I get some warnings):

  [faulks edhill]: pgf77 test.f -o test
    /usr/local/pkg/pgi/current/linux86/lib/libpgftnrtl.a(cnfg.o): In 
    function `__fio_scratch_name':
    cnfg.o(.text+0x33): the use of `tempnam' is dangerous, better 
    use `mkstemp'
  [faulks edhill]: ./test
    hi!
  [faulks edhill]:

Ed

-- 
Edward H. Hill III, PhD
office:  MIT Dept. of EAPS;  Room 54-1424;  77 Massachusetts Ave.
            Cambridge, MA 02139-4307
email:   eh3 at mit.edu,  ed at eh3.com
URL:     http://web.mit.edu/eh3/
phone:   617-253-0098
fax:     617-253-4464
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://mitgcm.org/pipermail/mitgcm-devel/attachments/20030903/41da3d68/attachment.sig>


More information about the MITgcm-devel mailing list