add maple mma

This commit is contained in:
ben0i0d 2024-12-26 23:05:09 +08:00
parent c65b2bba13
commit 7cd09fb5d1
6 changed files with 52 additions and 56 deletions

View File

@ -343,29 +343,29 @@ jobs:
context: Math/scilab
tags: eoelab.org:1027/${{ gitea.repository }}:scilab
# MAPLE:
# runs-on: runner
# needs: Base
# steps:
# - name: checkout code
# uses: https://eoelab.org:1027/actions/checkout@v4
# - name: maple build
# uses: https://eoelab.org:1027/actions/build-push-action@v6
# with:
# context: Math/maple
# tags: eoelab.org:1027/${{ gitea.repository }}:maple
MAPLE:
runs-on: runner
needs: Base
steps:
- name: checkout code
uses: https://eoelab.org:1027/actions/checkout@v4
- name: maple build
uses: https://eoelab.org:1027/actions/build-push-action@v6
with:
context: Math/maple
tags: eoelab.org:1027/${{ gitea.repository }}:maple
# MMA:
# runs-on: runner
# needs: Base
# steps:
# - name: checkout code
# uses: https://eoelab.org:1027/actions/checkout@v4
# - name: mma build
# uses: https://eoelab.org:1027/actions/build-push-action@v6
# with:
# context: Math/mathematica
# tags: eoelab.org:1027/${{ gitea.repository }}:mma
MMA:
runs-on: runner
needs: Base
steps:
- name: checkout code
uses: https://eoelab.org:1027/actions/checkout@v4
- name: mma build
uses: https://eoelab.org:1027/actions/build-push-action@v6
with:
context: Math/mathematica
tags: eoelab.org:1027/${{ gitea.repository }}:mma
MATLAB_MINIMAL:
runs-on: runner
@ -393,7 +393,7 @@ jobs:
Push:
runs-on: runner
needs: [MATLAB_MCM] #
needs: [MMA, MAPLE, MATLAB_MCM] #
steps:
- name: login gitea_registry
uses: https://eoelab.org:1027/actions/login-action@v3

View File

@ -1,13 +1,12 @@
# FROM eoelab.org:1027/eoeair/jupyter:py-c AS builder
FROM eoelab.org:1027/eoeair/jupyter:py-c AS builder
# COPY Maple2024.0LinuxX64Installer.run .
USER root
# USER root
# # Two RUN layer to use cache
# RUN chmod +x Maple2024.0LinuxX64Installer.run && \
# ./Maple2024.0LinuxX64Installer.run --mode unattended --installer-language en --installdir /opt/maple --desktopshortcut 0 && rm Maple2024.0LinuxX64Installer.run
FROM eoelab.org:1027/eoeair/jupyter:maple AS builder
RUN apt-get update --yes && apt-get install --yes wget && \
apt-get clean && rm -rf /var/lib/apt/lists/* && \
wget https://eoelab.org:1027/ben0i0d/sources/raw/branch/main/Maple2024.2LinuxX64Installer.run && \
chmod +x Maple2024.2LinuxX64Installer.run && \
./Maple2024.2LinuxX64Installer.run --mode unattended --installer-language en --installdir /opt/maple --desktopshortcut 0
FROM eoelab.org:1027/eoeair/jupyter:py-c

View File

@ -1,19 +1,16 @@
# FROM eoalab.org:1027/ben0i0d/jupyter:py-c AS builder
FROM eoelab.org:1027/eoeair/jupyter:py-c AS builder
# COPY Mathematica_14.0.0_LINUX.sh .
USER root
# USER root
# # Two RUN layer to use cache
# RUN apt-get update --yes && apt-get install --yes --no-install-recommends xz-utils && apt-get clean && rm -rf /var/lib/apt/lists/* && \
# bash Mathematica_14.0.0_LINUX.sh -- -auto -targetdir=/opt/Wolfram/Mathematica/14.0 && rm Mathematica_14.0.0_LINUX.sh
# RUN git clone --depth 1 https://github.com/WolframResearch/WolframLanguageForJupyter.git && mv WolframLanguageForJupyter /opt
FROM eoelab.org:1027/eoeair/jupyter:mma AS builder
RUN apt-get update --yes && apt-get install --yes wget xz-utils git && \
apt-get clean && rm -rf /var/lib/apt/lists/* && \
wget https://eoelab.org:1027/ben0i0d/sources/raw/branch/main/Wolfram_14.1.0_LIN.sh && \
bash Wolfram_14.1.0_LIN.sh -- -auto -targetdir=/opt/Wolfram/Mathematica/14.1 && \
git clone --depth 1 https://eoelab.org:1027/mirrors/WolframLanguageForJupyter.git && mv WolframLanguageForJupyter /opt
FROM eoelab.org:1027/eoeair/jupyter:py-c
ENV PATH="${PATH}:/opt/Wolfram/Mathematica/14.0/Executables/"
ENV PATH="${PATH}:/opt/Wolfram/Mathematica/14.1/Executables/"
COPY --from=builder /opt/Wolfram/ /opt/Wolfram/
COPY --from=builder --chown="${NB_UID}:${NB_GID}" /opt/WolframLanguageForJupyter/ /opt/WolframLanguageForJupyter/

View File

@ -1,11 +1,11 @@
{
"argv":[
"\/opt\/Wolfram\/Mathematica\/14.0\/Executables\/WolframKernel",
"-script",
"\/opt\/WolframLanguageForJupyter\/WolframLanguageForJupyter\/Resources\/KernelForWolframLanguageForJupyter.wl",
"{connection_file}",
"ScriptInstall"
"\/opt\/Wolfram\/Mathematica\/14.1\/Executables\/WolframKernel",
"-script",
"\/opt\/WolframLanguageForJupyter\/WolframLanguageForJupyter\/Resources\/KernelForWolframLanguageForJupyter.wl",
"{connection_file}",
"ScriptInstall"
],
"display_name":"Wolfram Language 14",
"display_name":"Wolfram Language 14.1",
"language":"Wolfram Language"
}

View File

@ -53,7 +53,7 @@ c.DockerSpawner.allowed_images = {
1. Upload `license.dat libmaple.so` to the main directory. Each time the environment is started, run `sudo cp license.dat /opt/maple/license && sudo cp libmaple.so /opt/maple/bin.X86_64_LINUX/` to activate before use.
* Mathematica: A scientific computing software that provides powerful and convenient features for data analysis, mathematical computation, and other fields.
* Description
1. Each time the environment is started, run `WolframKernel` to manually activate. View activation code at `https://mmaactivate.github.io/MMAActivate/`. If activation fails multiple times, run `rm /home/jovyan/.Mathematica/Licensing/mathpass` to delete previous license records.
1. Each time the environment is started, run `WolframKernel` to manually activate. View activation code at `https://paran3xus.github.io/2024/08/24/mathematica-14.1-crack/`. If activation fails multiple times, run `rm /home/jovyan/.Mathematica/Licensing/mathpass` to delete previous license records.
2. If you have an account, use web verification/online verification.
3. THIS IS NOT READY NOW , kernel is stuck connecting.
* MATLAB: A programming and numerical computing platform that supports data analysis, algorithm development, and modeling.
@ -119,15 +119,15 @@ M-->MF(Scilab)
## Upstream
**Package version**
* cuda 12.2.0
* cuda 12.4.0
* Python 3.11
* Julia latest
* spark 3.5.4
* flink 1.20.0
* jupyterlab 4
* Matlab R2023b
* Mathematica 14.0
* Maple 2023
* Mathematica 14.1
* Maple 2024.2
**Default Mirror source**
* pip bfsuhttps://mirrors.bfsu.edu.cn/help/pypi/

View File

@ -61,7 +61,7 @@ plt.rcParams["font.family"] = zh_font.get_name()
1. 将`license.dat libmaple.so`上传至主目录,每一次启动环境时,运行`sudo cp license.dat /opt/maple/license && sudo cp libmaple.so /opt/maple/bin.X86_64_LINUX/`完成激活再使用
* Mathematica:一个科学计算软件,在数据分析、数学计算等领域提供了强大方便的使用功能。
* 说明
1. 每一次启动环境时,运行`WolframKernel`完成手动激活,激活码查看`https://mmaactivate.github.io/MMAActivate/`,如果多次激活不成功,请运行`rm /home/jovyan/.Mathematica/Licensing/mathpass`删除之前的许可记录
1. 每一次启动环境时,运行`WolframKernel`完成手动激活,激活码查看`https://paran3xus.github.io/2024/08/24/mathematica-14.1-crack/`,如果多次激活不成功,请运行`rm /home/jovyan/.Mathematica/Licensing/mathpass`删除之前的许可记录
2. 如果你有账户使用WEB验证/在线验证
3. 该镜像存在问题, kernel 卡在 connecting.
* MATLAB一种支持数据分析、算法开发和建模的编程和数值计算平台。
@ -126,15 +126,15 @@ M-->MF(Scilab)
## 上游
**软件包版本**
* cuda 12.2.0
* cuda 12.4.0
* Python 3.11
* Julia latest
* spark 3.5.4
* flink 1.20.0
* jupyterlab 4
* Matlab R2023b
* Mathematica 13.3.1
* Maple 2023
* Mathematica 14.1
* Maple 2024.2
**默认镜像源**
* pip bfsuhttps://mirrors.bfsu.edu.cn/help/pypi/