Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29235 Discussions

Port of Alpha OpenVMS Fortran program to Visual Fortran/Win2000

robsoti
Beginner
651 Views
Original program was written with OpenVMS Fortran on Alpha platform. I have ported the program to Windows 2000 platform using Visual Fortran. The program generates "Unformatted" data files of "Variable" record type with an RECL=4096. I want to FTP these files back over to the Alpha platform where they will be read by another application. Does anyone have an idea of what is involved in converting the data files from Windows platform back to Alpha?
Tim.
0 Kudos
2 Replies
TimP
Honored Contributor III
651 Views
In the .html help documentation which comes with the Intel 8.0 Fortran compiler, there is a section on how to use environment variables todesignate by unit number whether files should be written big-endian. A newer alternative is OPEN(convert=...) which gives access to a variety of formats, including VAX D or G format. If you wished to convert an already written file, you would need to read it in little-endian and write it out with the appropriate convert=, using the same data types with which it was written originally.
0 Kudos
Steven_L_Intel1
Employee
651 Views
See this article, and in particular the section on OpenVMS. You will need to run a program (pointer provided) on the VMS side to convert the file into a format VMS Fortran will understand.
0 Kudos
Reply