- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Error compiling Hello World on HPUX Fortran90 - HP...
Categories
Company
Local Language
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
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
Community
Resources
Forums
Blogs
- 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
10-13-2011 05:36 PM
10-13-2011 05:36 PM
Error compiling Hello World on HPUX Fortran90 - HP9000 rp5470
Hello all!
I can't compile anything with Fortran90 in HPUX 11.23 running on a rp5470 7G RAM, 4x550Mhz. I wrote with vi the simplest program
This is no exact lines, but the real file was copied from manuals.:
PROGRAM hello
PRINT *,"Hello World"
END PROGRAM hello
and returns every kind of errors:
Even without the line PRINT... there is errors. The installation was fine... What could be happen?
Best regards and thank you in advance.
main program
program hello
Error 714 at (1:test.f) : invalid label field
Error 715 at (1:test.f) : invalid continuation line
Error 707 at (1:test.f) : incomplete statement
print *,"hello world"
Error 714 at (2:test.f) : invalid label field
Error 724 at (2:test.f) : syntax error
end program hello
Error 716 at (3:test.f) : label field must be blank
print *,"hello world"
Error 720 at (2:test.f) : invalid octal constant
Error 738 : END statement is missing
8 Errors
f90: error 213: Errors detected, no link.
# f90 hello.f
- Tags:
- f90
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2011 06:55 PM
10-13-2011 06:55 PM
Re: Error compiling Hello World on HPUX Fortran90 - HP9000 rp5470
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-14-2011 12:40 PM
10-14-2011 12:40 PM
Re: Error compiling Hello World on HPUX Fortran90 - HP9000 rp5470
Hello Steven, thank you a lot for your aid. Yes, I need to read a lot of manuals :-)
The code was
program hello
print *, "Hello World!"
end program hello
I said that didn't have the exact code because as returned errors, tested several variations of the above. May be indentation as you noted.
I compiled with # f90 hello.f. Maybe it needs some command line extras...
I'm not near to the rp5470, it is at an office where I'll go this week end. After testing, I comment to you.
Sorry for my english...
Best regards!