Skip to content
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

Explore using $TMPDIR #7

Open
ericfranz opened this issue Aug 22, 2019 · 2 comments
Open

Explore using $TMPDIR #7

ericfranz opened this issue Aug 22, 2019 · 2 comments

Comments

@ericfranz
Copy link
Contributor

If the render is file io heavy, copying the project to TMPDIR and rendering the scene files there would make sense. Of course if rendering one scene in a job, we might consider avoiding copying rendered files from other scenes to TMPDIR (i.e. copy everything but images dir and scenes dir, then select scene and image files to copy).

Also, if we did this we would want to be copying the resulting exr frames from the TMPDIR back to the home directory as they were created because walltime is very likely to kill the job.

@ericfranz
Copy link
Contributor Author

Why is this still needed:

# set a new tmpdir bc that's what the container needs to look at
export TMPDIR="/tmp"

@johrstrom
Copy link
Contributor

It's not apparently? TMPDIR is still set to /tmp/$JOD_ID in the container, but maya (or whatever library that gives the tmpfile) must be able to error then just use /tmp directly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants