-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
workdir is not TMPDIR #542
Comments
We tried that, but while experienced UNIX/Linux users are aware of setting TMPDIR and/or XDG_CACHE_HOME, many users are not, and the /tmp on many systems is quite frequently full or near full, causing launch errors. So most of the submit files are placed in $XDG_CACHE_HOME, which defaults to $HOME/.cache, and we tried Besides which the tarfile conversion is usually quite quick; I suspect yours isn't because you are using dropbox: on a /pnfs/.../persistent file . |
@marcmengel i want to understand your reply to Andrei - since RCDS, I normally send tarfiles that are located on /exp/mu2e/data. I believe that's prefered over /pnfs, right? In the old days we had to use /pnfs but those days are long past. Right? |
XDG_CACHE_HOME is not defined on our machines. Is it used for anything else? Depending on the answer, it might make sense for us to define it in our /cvmfs/mu2e.opensciencegrid.org/init.sh which is scheduled to replace /cvmfs/mu2e.opensciencegrid.org/setupmu2e-art.sh as soon as we are up and running on AL9. This will cover all use cases except people who want to use bare jobsub_submit outside of the Mu2e environment. |
In response to your last question, @kutschke: In implementing this, we followed the XDG Base Directory Specification, so that if |
Hello,
jobsub_submit uses the current working directory to place temporary
files. This introduces unnecessary restriction that the submission
directory has to be writable and has to have sufficient free space.
Also, the files are routinely left over when the submission process is
interrupted, another annoyance. Please use mkstemp() or equivalent to
make temporary files end up in TMPDIR or /tmp.
Andrei
The text was updated successfully, but these errors were encountered: