I have just completed the build of llvm-flang.
The procedure was almost the same as the official;
https://github.com/flang-compiler/flang
However, my environment is RH6.4, somehow out-dated, and needs a little effort.
(1) Need to install a newer GCC, probably, 4.7 or newer (libstdc++4.7 is required).
My case, I used 7.1
(2) at the cmake phase "-DGCC_INSTALL_PREFIX=/opt/GCC/7.1.0" is needed.
Otherwise, clang/clang++ complains there is no proper libstdc++.
2017年6月18日日曜日
2017年5月22日月曜日
pythonでprogress bar with multiprocessing
multiprocessingしてるということは時間かかるってことなので進行状況がしりたい。いい記事をみつけたのでメモ
from multiprocessing import Pool
import tqdm
pool = Pool(processes=8)
for _ in tqdm.tqdm(pool.imap_unordered(do_work, tasks), total=len(tasks)):
pass
http://stackoverflow.com/questions/5666576/show-the-progress-of-a-python-multiprocessing-pool-map-call2017年5月12日金曜日
Cartopy with Conda
Cartopyというのを使ってみたいのだけど、私の環境ではなかなか面倒。
Condaというのを使うとpythonからcartopyまで楽に入れてくれそうなので使ってみる。
https://conda.io/miniconda.html
Condaというのを使うとpythonからcartopyまで楽に入れてくれそうなので使ってみる。
https://conda.io/miniconda.html
2017年5月5日金曜日
Gentoo prefix
会社のLinux(Redhat 6.4)は勝手にパッケージをインストール出来ないので、下記を試す。
ebuild.sh のbash のバージョンチェックだけ4.1に無理やり修正した以外は、ほぼこのまま。
https://wiki.gentoo.org/wiki/Project:Prefix/Manual_Bootstrap
ebuild.sh のbash のバージョンチェックだけ4.1に無理やり修正した以外は、ほぼこのまま。
https://wiki.gentoo.org/wiki/Project:Prefix/Manual_Bootstrap
2017年2月17日金曜日
mapproxy 1.9.1 + pillow 3.4.2
mapproxy 1.9.1 + pillow 3.4.2, this combination causes a little error in the images.
pillow 3.3.1 does not.
just a memo
pillow 3.3.1 does not.
just a memo
2016年11月11日金曜日
white-day
probably, this place is surrounded by river, we have sometimes quite strong fog here. arrival of winter.
2016年10月28日金曜日
核兵器禁止条約
政治の問題だとはわかるけど、まじで反対票入れるとは。
勇気を持って欲しかった。
The “No” votes came from the nuclear weapons states, and US allies in NATO, plus Japan,
http://www.counterpunch.org/2016/10/28/nukes-and-the-un-a-historic-treaty-to-ban-nuclear-weapons/
勇気を持って欲しかった。
The “No” votes came from the nuclear weapons states, and US allies in NATO, plus Japan,
http://www.counterpunch.org/2016/10/28/nukes-and-the-un-a-historic-treaty-to-ban-nuclear-weapons/
登録:
投稿 (Atom)

