It does seem to recognize the environment variable. However, I don't see any difference whether I leave it empty or set it to a directory. It also does not matter if that directory exists or not, I always get:
TURBOTMPDIR environment variable set to "/temp/does/not/exist".
This directory must exist and be writable by the master process (slave1).
STARTING ridft ON 2 PROCESSORS!
The problem that we have is the following: we need to run ridft for >4000 molecules and have a sort of master program that runs the bookkeeping and distributes the jobs to cluster nodes. Here, we get the best performance by running ridft in serial multiple times at the the same time. The coord and control files lie on a nfs node, each of the serial ridft puts the diff* diis* files also on the same directory on nfs, which is of course slowing down execution times like crazy. We would like to tell turbomole to put those on a local scratch of the cluster node instead.
When I run ridft in parallel, all I see is a directory "MPI-TEMPDIR-001" in the main directory containing two diis* files, while I don't see where the diff* are put. I don't understand where those are going?