It is suggested that one individual from an organization download the needed application distributions and be a single point of contact for the WIND software. If possible, the executables should be located in a central location that can be accessed via NFS in a consistent manner. This way, the location and method of accessing the code will be the same on all user machines, and the code can be updated without impacting the user significantly.
After downloading the gzip'ed tar files containing the application and tools distributions for the platforms to be used, the recommended installation procedure is as follows:
gunzip -c filename | tar xvf -where filename is the file name, including the .tar.gz extension. If application distributions were downloaded for several different machines, all of the gzip'ed tar files should be unpacked before proceeding to the next step.
If the scripts and executables are to be kept under the original directory used for the gzip'ed tar files in Step 2, simply respond to the prompt with "." (without the quotes).
The INSTALL.appl script will not modify any of your
system or user configuration files.
It simply copies the appropriate files to the directory
you specify.
It also modifies two files included with the WIND
application distribution - cfd.login and
cfd.profile - to define the environment variable
CFDROOT as the full path name of the directory specified above.
As before, to keep the tools scripts and executables under the original directory used for the gzip'ed tar files in Step 2, simply respond to the prompt with "." (without the quotes).
As in Step 4, the Install.tools script modifies two files included with the tools application distribution - tools.login and tools.profile - to define the environment variable TOOLSROOT.
While that completes the actual installation of the WIND and tools application distributions, users must perform one additional step. csh and tcsh users should add the following two lines to their .login file in their home directory:
source dir_name/wind/bin/cfd.login source dir_name/tools/bin/tools.loginwhere dir_name is the directory specified in Step 4 during the installation. Similarly, sh and ksh users should add the following two lines to their .profile file in their home directory:
. dir_name/wind/bin/cfd.profile . dir_name/tools/bin/tools.profileThis will automatically modify the user's search path to include the locations of the WIND and tools scripts and executables, and define some additional environment variables used by some of the scripts.
Note that, to run WIND or any of the tools immediately after completing the above process, you (and any other users currently logged on) should logout and log back in to execute the .login or .profile file, setting some environment variables, including CFDROOT, SYSTEM, and SYSTEM_CPU, and modifying the PATH environment variable to include the newly-created locations for the WIND and tools executables. Alternatively, csh and tcsh users could execute
source .loginand sh and ksh users could execute
. .profilein their home directory.
When the scripts and executables are to be accessed via NFS, if the path name used by the user to access the NFS-mounted file system is different from the actual directory name on the "central" system, a slight variation of the above procedure is necessary. The definitions of the environment variables CFDROOT and TOOLSROOT in the cfd.login, etc., files on the central system should be modified to point to the NFS-mounted location of the wind and tools subdirectories. Similarly, the lines users add to their .login or .profile files should specify path names used to access the NFS-mounted file system.
For example, at NASA Glenn automount is normally used to access NFS file systems. The WIND and tools application distributions are stored on a central workstation (named, say, wind_machine), in the directory dir_name as specified in Step 4 of the previous section. This directory is exported read-only to the "home" system, normally an individual's workstation, for each WIND user.
The cfd.login, etc., files on wind_machine were copied to new files called cfd.nfs.login, etc. [This was done so that users logging directly onto wind_machine could still access WIND as described in the previous section.] The definitions of CFDROOT and TOOLSROOT in cfd.nfs.login, etc., were modified to point to the automount'ed location of the wind and tools subdirectories. E.g., if dir_name is /usr/local/wind, then the user automounts the wind directory by typing
cd /net/wind_machine/usr/local/windand the definitions of CFDROOT and TOOLSROOT in cfd.nfs.login, etc., are /net/wind_machine/usr/local/wind/wind and /net/wind_machine/usr/local/wind/tools, respectively.
Finally, using the above example, csh and tcsh users modify their .login file to add the lines
source /net/wind_machine/usr/local/wind/wind/bin/cfd.nfs.login source /net/wind_machine/usr/local/wind/tools/bin/tools.nfs.loginand sh and ksh users modify their .profile file to add the lines
. /net/wind_machine/usr/local/wind/wind/bin/cfd.nfs.profile . /net/wind_machine/usr/local/wind/tools/bin/tools.nfs.profile
As in the previous section, to run WIND or any of the tools immediately after adding these lines, users currently logged on should logout and log back in to execute the .login or .profile file, setting the CFDROOT and TOOLSROOT environment variables. Alternatively, csh and tcsh users could execute
source .loginand sh and ksh users could execute
. .profilein their home directory.
Unfortunately, due to resource limitations, the NPARC Alliance cannot officially support a Windows version of WIND. Nevertheless, application distributions for Windows may be available for WIND and some of the tools. These executables will generally not be as current as those in the supported Unix versions. The recommended installation procedure for Windows application distributions is described below.
After downloading the gzip'ed tar files containing the WIND and tools application distributions to some temporary directory:
An icon should appear on your desktop. Double-clicking on it will start execution of the WIND code.