본문 바로가기
프로그래밍 언어/Mathematica

[Mathamatica] Mathamatica 무료로 이용하기: Wolfram Engine

by Physics 2022. 3. 27.
728x90

먼저 시작하기 전에 19년 5월 Wolfram Stephan이 쓴 포스트를 읽으면 좋을 것 같다 [1]. 간단하게 요약하자면, 19년 5월에 Mathematica 측에서 Mathematica의 Kernel인 Wolfram Engine[2]을 무료로 배포를 했다. 해당 Wolfram Engine을 통해서 사용자는 기존 Mathamatica 코드를 C, python등에서 불러와서 사용을 할 수 있으며, Mathematica Notebook 이외의 IDE환경에서 무료로 Mathematica를 사용할 수 있게 되었다.

Mathematica VS Wolfram Engine [3,4]

일반적으로 우리가 말하는 Mathematica는 Mathematica Kernel을 지칭한다. Mathematica를 실행시켰을 때, Mathematica Kernel이 실행되고 Mathematica의 Frontend인 Mathematica notebook을 통해서 실행이 된다. 그렇다면 Mathematica Kernel과 위에서 설명한 Wolfram Engine과 무슨 차이가 있는가? 

결론을 말하자면 차이가 없다. 더 자세히 알아보기 위해서, wolfram engine의 FAQ의 설명을 보자 [5]. 아래의 설명을 보면,  Wolfram Engine과 Mathematica에 대한 설명이 있다; 

How does the Free Wolfram Engine for Developers relate to Mathematica?
It's the same core engine, but with a different interface and different licensing. Mathematica is used primarily for interactive computing, with the Wolfram Notebook interface. The Free Wolfram Engine for Developers is intended to be called by other programs, using a variety of program communication interfaces. The Free Wolfram Engine for Developers is licensed for pre-production use in developing software. Unlike Mathematica, it is not licensed for generating outputs for commercial or organizational use.

 

위에 따르면, Wolfram Engine과 Mathematica는 동일한 Engine (혹은 Kernel)을 사용한다. 즉, 성능면에서 보면 차이가 거의 없다고 볼 수 있다. 차이라고 한다면 라이센스와 Mathematica의 Interactive Front End인 Mathematica Notebook 정도라고 할 수 있을 것 같다. 표를 만들어서 보면 아래와 같을 것이다. 

  Wolfram Engine Mathematica
비용 무료 유료 (Home Edition: 약 $400)
Kernel 동일한 커널 혹은 엔진 사용*
Front End
(or Interface)
1) 특정한 interface는 없음. 하지만 Jupyter와 연동시켜 사용할 수 있음**
2) Mathematica Notebook은 사용할 수 없음
Mathematica Notebook
(Interactive Front End)
License 상업적 이용 제한*** 라이센스에 따라 다름

* 커널의 수의 경우 확인이 필요할 것 같다. Mathematica Enterprise의 경우 가용한 커널의 수가 16개, 학생용이 4개인데, Wolfram Engine의 경우는 가용한 커널의 수가 몇 개인지 Wolfram Mathematica 홈페이지에 나오지 않아서 추후에 확인이 필요할 것 같다.
** 만일 Wolfram Engine과 Jupyter Notebook을 연동하고자 한다면, 다음 포스트를 참고하라:

    https://m31phy.tistory.com/432?category=825990   
*** 상업적 이용의 경우 다음 웹페이지를 참고하라:
  - https://www.wolfram.com/engine/commercial-options/  
  - https://www.wolfram.com/legal/terms/wolfram-engine.html

 

Reference
[1] https://writings.stephenwolfram.com/2019/05/launching-today-free-wolfram-engine-for-developers/
[2] https://www.wolfram.com/engine/
[2] https://community.wolfram.com/groups/-/m/t/1697210   
[3] https://news.ycombinator.com/item?id=19972080   
[4] https://www.wolfram.com/engine/faq/

 

728x90

댓글