Verify the release number of the products you have installed

Hi.
I have a little problem to install the PGF 7.1-6
OS : fedora 7 x86_64
After installing, execute the command ‘touch x.f’ fot pgf and ‘touch x.c’ for pgcc.
Is it correct output for installation?
I think that some errors occured.


[choingjoo@ARL pgi]# pgf77 -V -c x.f

pgf77 7.1-6 64-bit target on x86-64 Linux -tp p7-64
Copyright 1989-2000, The Portland Group, Inc. All Rights Reserved.
Copyright 2000-2007, STMicroelectronics, Inc. All Rights Reserved.
PGFTN/x86-64 Linux 7.1-6
Copyright 1989-2000, The Portland Group, Inc. All Rights Reserved.
Copyright 2000-2007, STMicroelectronics, Inc. All Rights Reserved.
[choingjoo@ARL pgi]# pgf90 -V -c x.f

pgf90 7.1-6 64-bit target on x86-64 Linux -tp p7-64
Copyright 1989-2000, The Portland Group, Inc. All Rights Reserved.
Copyright 2000-2007, STMicroelectronics, Inc. All Rights Reserved.
PGF90/x86-64 Linux 7.1-6
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.1-6: compilation completed with warnings
PGF90/x86-64 Linux 7.1-6
Copyright 1989-2000, The Portland Group, Inc. All Rights Reserved.
Copyright 2000-2007, STMicroelectronics, Inc. All Rights Reserved.
[choingjoo@ARL pgi]# pgCC -V -c x.c

pgCC 7.1-6 64-bit target on x86-64 Linux -tp p7-64
Copyright 1989-2000, The Portland Group, Inc. All Rights Reserved.
Copyright 2000-2007, STMicroelectronics, Inc. All Rights Reserved.
Edison Design Group C/C++ Front End, version 3.6 (Jan 23 2008 12:38:28)
Copyright 1988-2006 Edison Design Group, Inc.

PGCC/x86 Linux 7.1-6
Copyright 1989-2000, The Portland Group, Inc. All Rights Reserved.
Copyright 2000-2007, STMicroelectronics, Inc. All Rights Reserved.
[choingjoo@ARL pgi]# pgcc -V -c x.c

pgcc 7.1-6 64-bit target on x86-64 Linux -tp p7-64
Copyright 1989-2000, The Portland Group, Inc. All Rights Reserved.
Copyright 2000-2007, STMicroelectronics, Inc. All Rights Reserved.
PGC/x86-64 Linux 7.1-6
Copyright 1989-2000, The Portland Group, Inc. All Rights Reserved.
Copyright 2000-2007, STMicroelectronics, Inc. All Rights Reserved.
PGC-W-0006-Empty translation unit (x.c)
PGC/x86-64 Linux 7.1-6: compilation completed with warnings
[choingjoo@ARL pgi]#

Thank you!

Hi choingju,

Assuming the files x.f and x.c are empty, then the warnings are valid and the compiler is working as expected.

  • Mat

Then…
Does it mean that the compiler is working, without causing the problem?
If the answer is ‘No’,what should I do for fixing the problem?

choingjoo

Hi Choingju,

What error do you think occured? The only thing I see is that you’re trying to compile an empty file. Try compiling a simple ‘Hello World’ program:

% cat hello.f90
print *, 'Hello World'
end
% pgf90 hello.f90 -o hello.out
% hello.out
Hello World
%
  • Mat