[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [IMP-dev] NBL cleanup and other small patches



Daniel Russel wrote:
Things should be as simple as possible. Splitting a set of source that is maintained by the same set of people into two libraries just makes it more complicated. If the licensing is different or is the sali lab will not support a bit of code once someone graduates, then it makes sense to separate it. Or, as a much rarer case, if some block of code is so huge that it slows down linking noticeably.

impEM links against EMBED, which is under different licensing to IMP.

On a mac the horrible command
scons embed=$(HOME)/src/EMbed -j $(NUMPROCS) modeller=$(MODINSTALLSVN) usecgal=1\
	 release=1 install prefix=$(HOME)/fs\
         pyextdir=$(HOME)/fs/lib/python2.5/site-packages \
         pythondir=$(HOME)/fs/lib/python2.5/site-packages impEM-install

You shouldn't need to specify pyextdir or pythondir unless something is screwed up somewhere, since they should by default live under prefix. And most of that other stuff you can just stick in config.py and never look at again.

but since scons doesn't make the needed calls to install_name_tool you can't link against the installed libraries. Presumably scons will fix this at some point.

Sure, that's easy to fix, of course.

	Ben
--
                      http://salilab.org/~ben/
"It is a capital mistake to theorize before one has data."
	- Sir Arthur Conan Doyle