User Tools

Site Tools


cluster:180

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

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 ''gcc'' => 4.5+Use ''gcc'' greater than or equal to 4.5
  
 <code> <code>
Line 54: Line 54:
 pip install numpy scipy  pip install numpy scipy 
  
-wget https://dl.bintray.com/boostorg/release/1.68.0/source/boost_1_68_0.tar.gz`+wget https://dl.bintray.com/boostorg/release/1.68.0/source/boost_1_68_0.tar.gz 
 +tar zxvf boost_1_68_0.tar 
 +cd boost_1_68_0.tar
 ./bootstrap.sh --prefix=/share/apps/CENTOS6/boost/1.68.0 \ ./bootstrap.sh --prefix=/share/apps/CENTOS6/boost/1.68.0 \
 --with-python=/share/apps/CENTOS6/python/2.7.15/bin/python \ --with-python=/share/apps/CENTOS6/python/2.7.15/bin/python \
Line 60: Line 62:
 ./b2 install ./b2 install
 export LD_LIBRARY_PATH=/share/apps/CENTOS6/boost/1.68.0/lib:$LD_LIBRARY_PATH export LD_LIBRARY_PATH=/share/apps/CENTOS6/boost/1.68.0/lib:$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://bitbucket.org/eigen/eigen/get/3.2.10.tar.gz wget http://bitbucket.org/eigen/eigen/get/3.2.10.tar.gz
Line 76: Line 82:
 cd fftw-3.3.8/ cd fftw-3.3.8/
 mkdir -p /share/apps/CENTOS6/fftw/3.3.8-enable-single mkdir -p /share/apps/CENTOS6/fftw/3.3.8-enable-single
-./configure --enable-shared --enable-single --prefix=/share/apps/CENTOS6/fftw/3.3.8-enable-single+./configure --enable-share --enable-single 
 +--prefix=/share/apps/CENTOS6/fftw/3.3.8-enable-single
 make make
 make install make install
Line 89: Line 96:
 export LD_LIBRARY_PATH=/share/apps/CENTOS6/zlib/1.2.11/lib:$LD_LIBRARY_PATH export LD_LIBRARY_PATH=/share/apps/CENTOS6/zlib/1.2.11/lib:$LD_LIBRARY_PATH
  
-tar -zxvf ../libpng-1.6.37.tar.gz+tar zxvf ../libpng-1.6.37.tar.gz
 cd libpng-1.6.37/ cd libpng-1.6.37/
 ./configure --prefix=/share/apps/CENTOS6/lpng/1.6.37 ./configure --prefix=/share/apps/CENTOS6/lpng/1.6.37
Line 105: Line 112:
 export LD_LIBRARY_PATH=/share/apps/CENTOS6/tiff/4.0.9/lib:$LD_LIBRARY_PATH export LD_LIBRARY_PATH=/share/apps/CENTOS6/tiff/4.0.9/lib:$LD_LIBRARY_PATH
  
 +# openstructure
  
 git clone https://git.scicore.unibas.ch/schwede/openstructure.git openstructure-1.9 git clone https://git.scicore.unibas.ch/schwede/openstructure.git openstructure-1.9
 cd openstructure-1.9/ cd openstructure-1.9/
-cd /share/apps/CENTOS6/boost/1.68.0//lib +cd /share/apps/CENTOS6/boost/1.68.0/lib
-# 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=/share/apps/CENTOS6/openstructure/1.9/bin:$PATH export PATH=/share/apps/CENTOS6/openstructure/1.9/bin:$PATH
 export LD_LIBRARY_PATH=/share/apps/CENTOS6/openstructure/1.9/lib64:$LD_LIBRARY_PATH export LD_LIBRARY_PATH=/share/apps/CENTOS6/openstructure/1.9/lib64:$LD_LIBRARY_PATH
 +
 </code> </code>
  
cluster/180.txt · Last modified: 2019/07/31 18:56 by hmeij07