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

PackageCompiler fails to create app for MadNLPGPU + ExaModels (CUDSS linear solver) #1030

Open
KSepetanc opened this issue Feb 17, 2025 · 2 comments

Comments

@KSepetanc
Copy link

KSepetanc commented Feb 17, 2025

PackageCompiler fails on both LTS (1.10.8) and current stable Julia (1.11.3) to build a package with MadNLPGPU + ExaModels dependencies (cuDSS linear solver and --precompile=all). There are no other dependencies. I've created MWE and described the issue on Discourse. GPU optimization app would be great contribution to Julia features. Can we try to fix this? Maybe even make a test?

@KSepetanc
Copy link
Author

KSepetanc commented Feb 20, 2025

Not sure if this will help, but PrecompileTools also has issue compiling MadNLPGPU with ExaModels. err command of @compile_workload shows:

<Regular MadNLP log of successful run is above>

EXIT: Optimal Solution Found (tol = 1.0e-08).
LLVM ERROR: Cannot select: intrinsic %llvm.nvvm.membar.sys

[172740] signal 6 (-6): Aborted
in expression starting at none:0
Allocations: 425799162 (Pool: 425779641; Big: 19521); GC: 8

@KSepetanc
Copy link
Author

Smaller MWE is that PackageCompiler does not work when only CUDA.jl is included. Example code is:

create_sysimage([“CUDA”], sysimage_path=“image.so” , sysimage_build_args=--compile=all)

More detailed report is on Discourse link above.

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

1 participant