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

Codon in AWS Lambda #461

Open
ggiallo28 opened this issue Aug 30, 2023 · 2 comments
Open

Codon in AWS Lambda #461

ggiallo28 opened this issue Aug 30, 2023 · 2 comments
Assignees
Labels
enhancement New feature or request installation

Comments

@ggiallo28
Copy link

Hello, I am trying to execute Codon in AWS Lambda.

It seems something is wrong, are you running in the same issue?

Test Event Name
test

Response
{
"errorType": "Runtime.ExitError",
"errorMessage": "RequestId: 11baf7f8-2e4b-4593-bfd9-fd1add3f4fc2 Error: Runtime exited with error: signal: aborted"
}

Function Logs
OMP: Error #179: Function Can't open SHM2 failed:
OMP: System error #38: Function not implemented
OMP: Error #179: Function Can't open SHM2 failed:
OMP: System error #38: Function not implemented
START RequestId: 11baf7f8-2e4b-4593-bfd9-fd1add3f4fc2 Version: $LATEST
RequestId: 11baf7f8-2e4b-4593-bfd9-fd1add3f4fc2 Error: Runtime exited with error: signal: aborted
Runtime.ExitError

@bennyhawk
Copy link

Hey there, just wanted to drop a possibly related bit of information for anyone brave enough to look into this

Github - LLVM project - Issue #53955

@inumanag
Copy link
Contributor

Oh, for AWS Lambda you will need to modify OpenMP to disable using /dev/shm.

Details here (same link as @bennyhawk suggested): llvm/llvm-project@dafebd5. We used to patch OpenMP manually before building Codon for Lambda.

@inumanag inumanag self-assigned this Nov 10, 2024
@inumanag inumanag added enhancement New feature or request installation labels Nov 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request installation
Projects
None yet
Development

No branches or pull requests

3 participants