ARCHIVED: On Libra at IU, how do I use LISREL 8 and PRELIS 2?

On the Libra Cluster at Indiana University, you can run LISREL 8 and PRELIS 2 in either noninteractive or batch mode.

Note: UITS will retire Libra in spring 2009. Accounts are available on Quarry, a general-purpose Unix computing environment. For more, see ARCHIVED: About the Libra retirement.

Running LISREL 8 or PRELIS 2 in noninteractive mode

To execute LISREL 8 or PRELIS 2 in a noninteractive mode, at the system prompt, enter the appropriate command below:

lisrel input output prelis input output

Replace input and output with the names of the command file you would like to use and the output file to be created, respectively.

If you enter lisrel or prelis at the system prompt, you will be prompted for input and output filenames.

If you are running a large job, you may use the nohup command and the trailing ampersand ( & ) to continue the execution even after logging out. The syntax is:

nohup lisrel input output & nohup prelis input output &

Running LISREL 8 or PRELIS 2 in batch mode

To run LISREL 8 or PRELIS 2 in a batch job on the Libra Cluster under IBM AIX LoadLeveler, save the LISREL or PRELIS input file (e.g., my_lisrel_input) that you want to run. Name the output file as you like (e.g., my_lisrel_output). Write a LoadLeveler script file (e.g.,lisrel_batch) with the following command lines:

#@ class = smp #@ requirements = (Machine == "libra43") #@ initialdir=/N/u/username/Libra/ #@ queue lisrel my_lisrel_input my_lisrel_output

The script file lisrel_batch will locate the my_lisrel_input file from the directory /N/u/username/Libra (replace the directory name with appropriate parameters) and execute the LISREL command lines.

To submit the script file to the LoadLeveler, at the system prompt, enter:

llsubmit lisrel_batch

Note that batch processing for LISREL and PRELIS is available only on libra43. If you have a variable name SSIPATH set in your .profile, .login, or .cshrc file, disable it.

Help

A number of sample files, which you can view or copy, are stored in the directory /statapps/lisrel/ for LISREL and PRELIS.

Documentation

The PRELIS 2 Reference Guide and the LISREL 8 User's Reference Guide are available at the Swain Hall Library, Business/SPEA Library, IUPUI University Library, and UITS Stat/Math Center. Alternatively, you can purchase directly through the vendor.

For more information about statistical and mathematical software, email the UITS Stat/Math Center, visit the center's web page, or phone 812-855-4724 (IUB) or 317-278-4740 (IUPUI). The center is located in Bloomington at 410 N. Park Avenue, and is open for consultation by appointment Monday-Friday 9am-5pm.