Hi Bart,

On 03 Dec 2013, at 02:50, Bart Verleye wrote:

> Hi All,
> 
> When I try to install the easyblocks, with my own added block, there seems to 
> be something wrong with the installation.

Is there any particular reason you need to do this?

Your own easyblocks don't have to be part of the EasyBuild installation in 
order to use them.

EasyBuild has a very dynamic design, allowing to simply plug in new easyblocks 
(or support for new compilers, MPI libraries, etc.).

See 
https://github.com/hpcugent/easybuild/wiki/Setting-up-your-own-easyblocks-repository
 for all the details, it's basically adding the path where your easyblocks live 
to $PYTHONPATH.


regards,

Kenneth


> 
> I do:
> 
> python setup.py install --prefix=/home/bver018/easy
> 
> The new .pyc file, however, is not where I want it
> (~/easy/lib/python2.6/site-packages/easybuild/easyblocks/o/), but only in the 
> build directory, and in
> 
> /home/bver018/easy/lib/python2.6/site-packages/easybuild_easyblocks-1.10.0dev-py2.6.egg
> 
> This procedure worked before (I think).
> 
> Thanks for any help,
> Bart
> 
> 
> 
> PS
> 
> Before the installation, I source
> PYLIB=`python -c "import distutils.sysconfig; print 
> distutils.sysconfig.get_python_lib(prefix='/home/bver018/easy'); "`
> export PYTHONPATH=/home/bver018/easy/lib/python2.6/site-packages/:$PYLIB
> 
> -- 
> Dr. Bart Verleye
> Centre for e-Research
> Level G, Room 409-G21
> 24 SYMONDS ST
> Auckland 1010
> New Zealand
> +64 (0) 9 923 9740 ext 89740

Reply via email to