-
Notifications
You must be signed in to change notification settings - Fork 40
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
Compilation Failure due to undefined symbols #276
Comments
Can you post the actual error message? It's unclear what part of the toolchain is failing here. |
I get this error message:
I'll work on seeing if I can produce a MWE |
I think I found the heart of the error. It arrises whenever an array is constructed to be looped over in the function definition. So this causes an error:
while this does not,
|
You're allocating a CPU array in there, which is unsupported, as the error message tells you:
Are you sure you've correctly reduced the error? The Also please report the output of |
I seem to have made some change and am now unable to reproduce the error. I guess I will be closing this issue since I can't figure out what caused the error in the first place. |
I'm running julia version 1.9.4 on an M1 mac running Mac OS 13.6. Here is the attached
.metallib
file: jl_x2z07abwtC.metallib.zip.I'll try my best to describe what I've noticed. I'm writing a package that has the following method definition.
Every line in this definition compiles separately, but not all together. So the following two code snippets compile and run without issue:
and,
As far as I can tell, the error is due to an undefined
_asn
symbol, which I believe is called by theemission_radius
method. I however do not have any compilation issues when I broadcast over this method separately.Hopefully this helps to describe the problem. I can also provide a copy of my package environment if that will help?
The text was updated successfully, but these errors were encountered: