2024년 1월 31일 수요일

OMP: Error #15: Initializing libiomp5md.dll, but found libiomp5md.dll already initialized

It is suspected that this error comes from the multiple library confilcts which have libiomp5.dll files. 

One solution is to delete  libiomp5md.dll (and other libiomp5 related files)

in anaconda3/Library/bin . (anaconda3 is located in hidden "ProgramData" folder.) 

It is not clear whether this is the best solution, but it works. 


(Update) The above symptom first appeared while using PyTorch , Matplotlib, and Scipy. 

However, after above procedure, 

there are many occasions that the kernel stops and restart. Python became very unstable.

To avoid this problem, it may be better to use separate environment when installing pytorch. 

2024년 1월 24일 수요일

Wolfram Engine Jupyter 매쓰매티카

(1) get Free Wolfram engine : https://www.wolfram.com/engine/

(2) get Wolfram language for Jupyter

https://github.com/WolframResearch/WolframLanguageForJupyter

    unzip the file at permanant folder and do not delete it.  

(3) Follow steps in the page 

    - install Wolfram engine and run "wolframscript" at command line  

    - download Wolfram language for Jupyer and run "configure-jupyter.wls add" in powershell. (not command prompt)