Day: 2016-07-18

sssun路跑誌_20160718_山貓團政大團測5K@21:21

sssun路跑誌_20160718_山貓團政大團測5K@21:21

本週跑量8K,過去7天跑量60K

已經好久好久沒參加山貓團星期一晚上在政大田徑場的MNR團練,今晚山貓團為了11月13日的Mizuno接力賽,特地舉辦5000公尺測驗讓組隊的跑友們有個評估的依據,山貓團也非常鼓勵大家參加5K測試,無論是否有意願跑Mizuno接力賽…

5K的時間可作為未來各種配速區間的配速基準,一段時間測一次5千也可以讓自己進而審視自己的狀態,去年夏天我參加了不少次在師大舉辦的5K Run,最好的一次PB是在20151024的20:30,不過將近9個月沒測5K了,自己這陣子也因為時間上沒辦法跟著跑貓空、自己也沒什麼跑間歇,看來今晚的5K測試要跑得保守一點…

Continue reading

在CentOS 7 Linux上安裝graph-tool. Building and Installing graph-tool on CentOS 7

在CentOS 7 Linux上安裝graph-tool. Building and Installing graph-tool on CentOS 7

最近因為使用需求而要在CentOS 7上頭安裝graph-tool,這是graph-tool官網對環境以及套件需求,只有倒數3項是不必要的: (I have to use graph-tool in CentOS 7, the following are the requirements for system environmentsand software packages. Only the last three are not necessary.)

Graph-tool was tested extensively only on GNU/Linux and MacOS X systems, but should also be usable on other systems where the below requirements are met.

  • A C++14 compiler (GCC version 5 or above, or clang version 3.4 or above).
  • The Boost libraries, version 1.54 or above.
  • Python version 2.7, 3 or above.
  • The expat library.
  • The SciPy python module.
  • The Numpy python module, version 1.7 or above.
  • The CGAL C++ geometry library, version 3.5 or above.
  • The sparsehash template library (optional, but recommended).
  • The GTK+ 3, cairomm, pycairo and matplotlib libraries, used for graph drawing (optional).
  • The Graphviz packaged for graph drawing, with the python bindings enabled (optional, deprecated).

但是CentOS7的gcc版本是gcc-4.8.5-4.el7.x86_64,比要求的gcc 5還舊,另外內建的boost是boost-1.53.0-25.el7.x86_64,比要求的1.54還舊;在安裝過程又遇到一堆dependency的問題,已經很久沒裝套件搞得這麼痛苦了,最後終於搞定,在此記錄一下:(However, the default gcc of CentOS7 is gcc-4.8.5-4.el7.x86_64 which is older than the required gcc 5. The built-in boost version is boost-1.53.0-25.el7.x86_64, which is older than boost 1.54. Besides, there are lot of dependency problems… This is a very hard way to setup all these tools for graph-tool. The following are the records to build and install graph-tool in CentOS 7 Linux.)

Continue reading