This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
cluster:180 [2019/07/18 12:04] hmeij07 |
cluster:180 [2019/07/18 12:16] hmeij07 |
||
---|---|---|---|
Line 37: | Line 37: | ||
====== Compilations ====== | ====== Compilations ====== | ||
- | Use '' | + | Use '' |
< | < | ||
Line 54: | Line 54: | ||
pip install numpy scipy | pip install numpy scipy | ||
- | wget https:// | + | wget https:// |
+ | tar zxvf boost_1_68_0.tar | ||
+ | cd boost_1_68_0.tar | ||
./ | ./ | ||
--with-python=/ | --with-python=/ | ||
Line 60: | Line 62: | ||
./b2 install | ./b2 install | ||
export LD_LIBRARY_PATH=/ | export LD_LIBRARY_PATH=/ | ||
+ | |||
+ | # brute fix for boost to find libs | ||
+ | cp -p libboost_python27.a libboost_python.a | ||
+ | cp -p libboost_python27.so.1.68.0 libboost_python.so | ||
wget http:// | wget http:// | ||
Line 76: | Line 82: | ||
cd fftw-3.3.8/ | cd fftw-3.3.8/ | ||
mkdir -p / | mkdir -p / | ||
- | ./configure --enable-shared | + | ./configure --enable-share --enable-single |
+ | --prefix=/ | ||
make | make | ||
make install | make install | ||
Line 89: | Line 96: | ||
export LD_LIBRARY_PATH=/ | export LD_LIBRARY_PATH=/ | ||
- | tar -zxvf ../ | + | tar zxvf ../ |
cd libpng-1.6.37/ | cd libpng-1.6.37/ | ||
./configure --prefix=/ | ./configure --prefix=/ | ||
Line 105: | Line 112: | ||
export LD_LIBRARY_PATH=/ | export LD_LIBRARY_PATH=/ | ||
+ | # openstructure | ||
git clone https:// | git clone https:// | ||
cd openstructure-1.9/ | cd openstructure-1.9/ | ||
- | cd / | + | cd / |
- | # fix for boost to find libs | + | |
- | cp -p libboost_python27.a libboost_python.a | + | |
- | cp -p libboost_python27.so.1.68.0 libboost_python.so | + | |
rm -f cmakelog; cmake \ | rm -f cmakelog; cmake \ | ||
Line 130: | Line 134: | ||
-DUSE_NUMPY=ON -DENABLE_MM=OFF \ | -DUSE_NUMPY=ON -DENABLE_MM=OFF \ | ||
-DENABLE_STATIC=OFF | tee cmake.log | -DENABLE_STATIC=OFF | tee cmake.log | ||
- | |||
make | make | ||
make install | make install | ||
+ | |||
# [100%] Built target actions | # [100%] Built target actions | ||
+ | |||
export PATH=/ | export PATH=/ | ||
export LD_LIBRARY_PATH=/ | export LD_LIBRARY_PATH=/ | ||
+ | |||
</ | </ | ||