diff --git a/ISB2017/installation_notes/imp-dev.md b/ISB2017/installation_notes/imp-dev.md new file mode 100644 index 0000000000000000000000000000000000000000..de4125a90f128238a234d49137ef9fc84b1cff22 --- /dev/null +++ b/ISB2017/installation_notes/imp-dev.md @@ -0,0 +1,41 @@ +# 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 +``` + diff --git a/ISB2017/installation_notes/imp-tutorial.md b/ISB2017/installation_notes/imp-tutorial.md new file mode 100644 index 0000000000000000000000000000000000000000..09a4cc1554b4ca20796f5bc5da9b5ffd626a0188 --- /dev/null +++ b/ISB2017/installation_notes/imp-tutorial.md @@ -0,0 +1,19 @@ +# 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 +``` diff --git a/ISB2017/installation_notes/imp.md b/ISB2017/installation_notes/imp.md index f29bd62468840ee821edf504c8eb0bb11fc66ecc..bc92a7d8b9c610dfec3c73d879782f384fdf1f6c 100644 --- a/ISB2017/installation_notes/imp.md +++ b/ISB2017/installation_notes/imp.md @@ -1,5 +1,6 @@ # 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 ``` diff --git a/ISB2017/modulefiles/IMP b/ISB2017/modulefiles/IMP index c574a9f0feb86b163115da37302309e0e95681b9..3f66bb60ce690dc433b9a221cbb0046650e55ff0 100644 --- a/ISB2017/modulefiles/IMP +++ b/ISB2017/modulefiles/IMP @@ -5,11 +5,14 @@ proc ModulesHelp { } { 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 -conflict anaconda3 -conflict anaconda2 +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 +module add chimera-1.11.2-linux_x86_64 +module add grace-5.1.25