Hello,
The new ondemand functionality is awesome. I have one suggestion; would it be possible to modify the ondemand script so that it can handle it if your tce directory is on a read only filesystem (for example when on CD media)? Currently it fails because it is trying to create several directories and files.
I did a quick stab at this; here is what I changed in /usr/bin/ondemand and it seems to work, although I haven't been able to do much testing:
-After setting $TCEDIR from /opt/.tce_dir, try touching a file on $TCEDIR and if it is successful set new variable $WRITEDIR equal to $TCEDIR. If it is not successful (it is a read only filesystem) then set $WRITEDIR to somethnig like /tmp/ondemand that is writeable
-Change several of the current $TCEDIR references where new ondemand files are being written to $WRITEDIR.
Thanks,
Brian