VAX README
[ UWXAFS Homepage | Documentation | The Toolbox | Binaries and Source codes | The FEFF Homepage ]

VAX README

If you are installing the UWXAFS package on a Vax or Alpha with the VMS operating system, you will want to make a few small changes to each of the codes. This is because the VMS operating system has some features different from most other operating systems. One difference has to do with how new files are opened by Fortran programs, the other is how the length of a character string is determined in a Fortran direct access file. Fortunately there is only one line of code in each of the UWXAFS programs that needs to be changed.

If you download the source code from the page titled UWXAFS Source Code for the Vax, you will not need to make the changes described here. Those versions of the source code have already been edited for use on the Vax. If you download another version of the source code or obtain the source code form us on diskette, you will need to folow the instructions below.

The changes involve a logical variable called vaxflg. Vaxflg should be set to .true. for compilation on a VMS system. This logical variable will flag at execution time the changes needed to have the program run under VMS. Use a text editor to search for the first occurence of the word vaxflg among the executable statements of the code. Change its value from .false. to .true. In each case, it should be among the first few executed statements.

Once vaxflg is changed in the codes, they are ready for compilation. These codes have been tested either on a Vax mainframe or on an Alpha with Open-VMS, thus you should have little trouble compiling them for yourself. At the VMS prompt, just type fortran filename then link filename to produce an executable from the distributed source code file.


[ UWXAFS Homepage | Documentation | The Toolbox | Binaries and Source codes | The FEFF Homepage ]