ARCHIVED: In SPSS in Unix, how do I change the default work directory where temporary files are stored?
Your SPSS job may require SPSS to create temporary system files that
exceed the capacity of the default work directory assigned to SPSS.
If this happens, you must give SPSS more space in which to work by
changing the default SPSS work directory and redirecting the output to
another directory. To do this, you need to modify the
SPSSTMPDIR environment variable. The command to use
depends on the type of shell you are using:
- To change the default directory from
/tmpto the/scrdirectory for Unix accounts using thecshandtcshshells, enter the following line at the Unix prompt: setenv SPSSTMPDIR /scr/$USER - For the
kshandbashshells, enter: SPSSTMPDIR=/scr/$USER ; export SPSSTMPDIR
Keep in mind that the default work directory is already set to
/tmp. This directory will typically have more space than
the /scr directory, so changing work directories might
not solve your problem. If, however, you use a df
command and find that there is more space on /scr than
/tmp, this procedure should solve your problem.
For more 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.
Last modified on March 22, 2010.







