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

Permission issue on Lanka #3

Closed
fredrikbk opened this issue Feb 9, 2017 · 4 comments
Closed

Permission issue on Lanka #3

fredrikbk opened this issue Feb 9, 2017 · 4 comments
Assignees

Comments

@fredrikbk
Copy link
Contributor

When I run taco on Lanka I get a permission error.

$ taco "a(i) = b(i) * c(i)"
/usr/bin/ld: cannot open output file /tmp/38jtrdwqmvy7.so: Permission denied
collect2: error: ld returned 1 exit status
Error in compile in file /afs/csail.mit.edu/u/f/fred/projects/taco/src/backends/backend_c.cpp:617
 Compilation command failed:
cc -O3 -ffast-math -std=c99 -shared -fPIC /tmp/38jtrdwqmvy7.c -o /tmp/38jtrdwqmvy7.so
returned 256
Aborted
@shoaibkamil
Copy link
Contributor

You can try changing your TMPDIR environment variable to point somewhere else, e.g. somewhere in /data/scratch/. I can't replicate this error, even trying to run as a non-privileged user on Lanka.

@shoaibkamil
Copy link
Contributor

Are you running on a compute node?

@fredrikbk
Copy link
Contributor Author

No it's a dev tool so I was running on the login node. I'll try your prescription.

@fredrikbk
Copy link
Contributor Author

This works with the new TMPDIR. I'll mark it as closed, but these issues highlight why we really want a llvm library backend for our release.

rohany added a commit that referenced this issue Oct 2, 2021
*: support a parametric loop division primitive, extend to grids
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