-
Notifications
You must be signed in to change notification settings - Fork 10
libiomp5.so patch not working for latest wolfram version #3
Copy link
Copy link
Open
Description
The patch of libiomp5.so from #2 does not work for wolfram versions later than 13.0, as the directory has changed.
AWSLambda-WolframLanguage/Dockerfile
Lines 22 to 24 in c85d96b
| COPY --from=wolframresearch/wolframengine:12.3.1 \ | |
| /usr/local/Wolfram/WolframEngine/12.3/SystemFiles/Libraries/Linux-x86-64/libiomp5.so \ | |
| /usr/local/Wolfram/WolframEngine/13.0/SystemFiles/Libraries/Linux-x86-64/libiomp5.so |
This should rather be something like:
ARG WOLFRAM_VERSION=13.3
// ...
FROM wolframresearch/wolframengine:${WOLFRAM_VERSION}
// ...
COPY --from=wolframresearch/wolframengine:12.3.1 \
/usr/local/Wolfram/WolframEngine/12.3/SystemFiles/Libraries/Linux-x86-64/libiomp5.so \
/usr/local/Wolfram/WolframEngine/${WOLFRAM_VERSION}/SystemFiles/Libraries/Linux-x86-64/libiomp5.soI've temp. worked around it for now by doing the following in my final image:
FROM wolframresearch/aws-lambda-wolframlanguage:latest
USER root
RUN cp -f /usr/local/Wolfram/WolframEngine/13.0/SystemFiles/Libraries/Linux-x86-64/libiomp5.so \
/usr/local/Wolfram/WolframEngine/13.3/SystemFiles/Libraries/Linux-x86-64/libiomp5.so
USER wolframengine
// ...Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels