- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Compiled Fortran File from another OS...
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
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
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
тАО01-30-2003 11:23 AM
тАО01-30-2003 11:23 AM
Compiled Fortran File from another OS...
I've a little problem here... I've an IBM workstation running AIX 4.3.2 and XLfortran.... On that machine, some users have compiled Fortran progs, and now I have change my IBM for and HP Visualize B2600 running HP-UX 11i and without a Fortran compiler...
What I have done, is moved the file from the IBM on the HP station, with the same rights of rwx on each file.... The problem is when I call on compiled app, it says to me:
/elec/bin/excu[57]: //elec/bin/exec/zturb: cannot execute
What's on the line in my "excu" script on line 57, is to run that prog "zturb"....
any clue.?.?.? or somebody know why this program is not executable... is it really because of the compilation on an IBM machine???
Regards
Jonathan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-30-2003 11:30 AM
тАО01-30-2003 11:30 AM
Re: Compiled Fortran File from another OS...
Different compiler, different architecture: it's definitely not going to work.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-30-2003 11:38 AM
тАО01-30-2003 11:38 AM
Re: Compiled Fortran File from another OS...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-30-2003 11:39 AM
тАО01-30-2003 11:39 AM
Re: Compiled Fortran File from another OS...
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-30-2003 11:43 AM
тАО01-30-2003 11:43 AM
Re: Compiled Fortran File from another OS...
I just hit the gcc web site and it says it will compile fortran. I've never tried it before. Sounds like fun!
http://gcc.gnu.org/onlinedocs/gcc-3.2.1/gcc/G---and-GCC.html#G++%20and%20GCC
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-30-2003 11:50 AM
тАО01-30-2003 11:50 AM
Re: Compiled Fortran File from another OS...
http://hpux.cs.utah.edu/hppd/hpux/Gnu/gcc-3.2/
Or the GCC compiler depot from HP:
http://h21007.www2.hp.com/dspp/tech/tech_TechSoftwareDetailPage_IDX/1,1703,547,00.html
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-30-2003 11:52 AM
тАО01-30-2003 11:52 AM
Re: Compiled Fortran File from another OS...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-30-2003 12:01 PM
тАО01-30-2003 12:01 PM
Re: Compiled Fortran File from another OS...
If your code is written in f90 standards, the compile will most likely fail.
The HP fortran compiler has both f77 and f90, so definately a safer route if your not sure.
You can download egcs from the HP porting center. http://hpux.cs.utah.edu/hppd/hpux/
Good luck!
Shannon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-30-2003 12:08 PM
тАО01-30-2003 12:08 PM
Re: Compiled Fortran File from another OS...
Does the g77 compiler support the "old" f77 extensions of do...while and do...until constructs ??
It's been about 20 years since I've written an F77 program!
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-30-2003 12:11 PM
тАО01-30-2003 12:11 PM
Re: Compiled Fortran File from another OS...
My curiousity is peaked also. I took a Fortran programming class a LONG time ago when I was in college. I won't say how long ago, but the U.S. president at the time was a former Southern governor, and not from Arkansas! :)
JP