Commit 18c972b5 authored by Tru  HUYNH's avatar Tru HUYNH
Browse files

IMP tutorial + IMP(dev, not released version)

parent 94da5965
# IMP (development version)
- reuse anaconda2 setup
```
module purge
module add anaconda2
git clone https://github.com/salilab/imp
mkdir imp-build
cd imp-build
cmake ../imp -DCMAKE_BUILD_TYPE=Release -DIMP_MAX_LOG=SILENT \
-DIMP_MAX_CHECKS=NONE \
-DCMAKE_INCLUDE_PATH=/ISB2017/anaconda2/include/ \
-DCMAKE_LIBRARY_PATH=/ISB2017/anaconda2/lib \
-DHDF5_INCLUDE_DIR=/ISB2017/anaconda2/include \
-DCMAKE_INSTALL_PREFIX=/ISB2017/IMP
make -j 4 && make install
cp ~/imp/modules/pmi/pyext/src/process_output.py /ISB2017/IMP/bin/
```
add the IMP modulefile
```
#%Module1.0#####################################################################
##
## IMP-co-anaconda2 modulefile
##
proc ModulesHelp { } {
global dotversion
puts stderr "\tAdds `/ISB2017/IMP/bin' to your PATH environment variable"
}
module-whatis "adds `/ISB2017/IMP/bin' to your PATH environment variable"
prepend-path PATH /ISB2017/IMP/bin
prepend-path PYTHONPATH /ISB2017/IMP/lib64/python2.7/site-packages/
prepend-path LD_LIBRARY_PATH /ISB2017/IMP/lib64
module add anaconda2
# added for Riccardo practical
module add chimera-1.11.2-linux_x86_64
module add grace-5.1.25
```
# IMP tutorial (developper version)
# preparing the tarball (for Riccardo)
```
git clone https://github.com/salilab/IMP_tutorial
cd IMP_tutorial/
git fetch
git checkout develop
cd ..
tar czvf /ISB2017/Course_material/July22/IMP_tutorial.tgz IMP_tutorial/
```
# usage (for the students)
```
cd && tar xzf /ISB2017/Course_material/July22/IMP_tutorial.tgz
module add IMP
cd IMP_tutorial/doc && jupyter notebook
```
# IMP from https://integrativemodeling.org # IMP from https://integrativemodeling.org
- using a separate conda installation tree to avoid conflict from the main anaconda2 tree - using a separate conda installation tree to avoid conflict from the main anaconda2 tree
- stable IMP release (not used from ISB2017)
- https://integrativemodeling.org/download-anaconda.html - https://integrativemodeling.org/download-anaconda.html
``` ```
......
...@@ -5,11 +5,14 @@ ...@@ -5,11 +5,14 @@
proc ModulesHelp { } { proc ModulesHelp { } {
global dotversion global dotversion
puts stderr "\tAdds `/ISB2017/IMP-co-anaconda2/bin' to your PATH environment variable" puts stderr "\tAdds `/ISB2017/IMP/bin' to your PATH environment variable"
} }
module-whatis "adds `/ISB2017/IMP-co-anaconda2/bin' to your PATH environment variable" module-whatis "adds `/ISB2017/IMP/bin' to your PATH environment variable"
prepend-path PATH /ISB2017/IMP-co-anaconda2/bin prepend-path PATH /ISB2017/IMP/bin
conflict anaconda3 prepend-path PYTHONPATH /ISB2017/IMP/lib64/python2.7/site-packages/
conflict anaconda2 prepend-path LD_LIBRARY_PATH /ISB2017/IMP/lib64
module add anaconda2
module add chimera-1.11.2-linux_x86_64
module add grace-5.1.25
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment