- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- F90 - Common block listed in more than one directi...
Operating System - HP-UX
1753481
Members
4582
Online
108794
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2004 05:39 PM
12-07-2004 05:39 PM
F90 - Common block listed in more than one directive
Hi
I am attempting to port code from f90 on a PA-RISC 11.0 to f90 on Itanium 2 running 11.23.
WHen compiling a particular file that has two routines in it the compile fails with the following error:
MK-INFO: Compiling cross.f
/var/tmp/fcpAAAa17946.F
external subroutine CROSS_NEW
external subroutine CROSS_TEL
Error 4210 : At line 221 Common block "noctask" listed in more than one SHARED_CO
MMON directive.
Error 4210 : At line 108 Common block "khctask" listed in more than one SHARED_CO
MMON directive.
Error 4210 : At line 66 Common block "lovtask" listed in more than one SHARED_COM
MON directive.
If I split the file up into two (one file for each subroutine) both files compile ok.
But as I have literally hundreds of source code files, many of which have multiple subroutines in them, I cannot split all of them up to make them all compile.
Although both subroutines have the identical #include files, they are not global, but included only in the scope of each routine.
The line numbers in the error messages refer to the line numbers of the include files.
At line 221 of noctask.inc is:
C$HP$ SHARED_COMMON KEY='nc' /nctask/
At line 108 of khctask.inc is:
C$HP$ SHARED_COMMON KEY='kc' /kctask/
At line 66 of noctask.inc is:
C$HP$ SHARED_COMMON KEY='lo' /lotask/
I am using :
B3909DB B.11.23.08 HP Fortran 90 Compiler and associ
ated products (S800) for HP-UX 11.2x
I'v tried to install a number of patches (although I don't think that is the problem) however the compiler I believe already contains the latest patches.
Finally - everything compile ok on f90 on the PA-RISC. Its only on the Itanium thats causing the problem.
Does anyone have any idea what the problem may be.
See attached sample file: cross.f
The compile flags I'm using are:
f90 -c -Ae -g -O0 +ppu +cpp=yes +save
Thanks in advance
JUP
I am attempting to port code from f90 on a PA-RISC 11.0 to f90 on Itanium 2 running 11.23.
WHen compiling a particular file that has two routines in it the compile fails with the following error:
MK-INFO: Compiling cross.f
/var/tmp/fcpAAAa17946.F
external subroutine CROSS_NEW
external subroutine CROSS_TEL
Error 4210 : At line 221 Common block "noctask" listed in more than one SHARED_CO
MMON directive.
Error 4210 : At line 108 Common block "khctask" listed in more than one SHARED_CO
MMON directive.
Error 4210 : At line 66 Common block "lovtask" listed in more than one SHARED_COM
MON directive.
If I split the file up into two (one file for each subroutine) both files compile ok.
But as I have literally hundreds of source code files, many of which have multiple subroutines in them, I cannot split all of them up to make them all compile.
Although both subroutines have the identical #include files, they are not global, but included only in the scope of each routine.
The line numbers in the error messages refer to the line numbers of the include files.
At line 221 of noctask.inc is:
C$HP$ SHARED_COMMON KEY='nc' /nctask/
At line 108 of khctask.inc is:
C$HP$ SHARED_COMMON KEY='kc' /kctask/
At line 66 of noctask.inc is:
C$HP$ SHARED_COMMON KEY='lo' /lotask/
I am using :
B3909DB B.11.23.08 HP Fortran 90 Compiler and associ
ated products (S800) for HP-UX 11.2x
I'v tried to install a number of patches (although I don't think that is the problem) however the compiler I believe already contains the latest patches.
Finally - everything compile ok on f90 on the PA-RISC. Its only on the Itanium thats causing the problem.
Does anyone have any idea what the problem may be.
See attached sample file: cross.f
The compile flags I'm using are:
f90 -c -Ae -g -O0 +ppu +cpp=yes +save
Thanks in advance
JUP
- Tags:
- f90
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2004 05:45 PM
12-07-2004 05:45 PM
Re: F90 - Common block listed in more than one directive
Actually for the attached files, the error would be:
Error 4210 : At line 221 Common block "nctask" listed in more than one SHARED_COMMON directive.
Error 4210 : At line 108 Common block "kctask" listed in more than one SHARED_COMMON directive.
Error 4210 : At line 66 Common block "lotask" listed in more SHARED_COMMON directive.
(the common block names have changed)
Error 4210 : At line 221 Common block "nctask" listed in more than one SHARED_COMMON directive.
Error 4210 : At line 108 Common block "kctask" listed in more than one SHARED_COMMON directive.
Error 4210 : At line 66 Common block "lotask" listed in more SHARED_COMMON directive.
(the common block names have changed)
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP