だ・か・らっ、Dia“l”yだってばさ!

これは『戯れ言』です。また、“Diary”ではなく“Dialy”です。つまり、日記に似て非なるものです。 所謂『日記』ではありません。お間違えの無いようお願いします。(^^;A

S4(RCWA) build 覚え書き

Ryzen3だとこれでもSegmantation faultでるんだけど・・・

今やってる計算が終わったら、i3で試してみよう。

 

https://github.com/victorliu/S4/issues/45

 

-----

You can follow the documentation.
https://web.stanford.edu/group/fan/S4/install.html#binary-packages

Although some packages are said to be optional, you need to install them for compiling.

My OS is Ubuntu.
For the lua fronted one,

$ git clone https://github.com/victorliu/S4.git
$ sudo apt-get install lua5.2
$ sudo apt-get install liblua5.2-dev
$ sudo apt-get install libfftw3-dev
$ sudo apt-get install libsuitesparse-dev
$ git clone https://github.com/xianyi/OpenBLAS.git
$ cd OpenBLAS
$ make
$ cd ../S4
$ make

Now you can executable file S4 in 'build' directory.
Check Makefile.common for more information.

I hope it works.

-MJ-

-----