Hi Valeriu,

you can always add as many enviroment variables as you need using the
options "modextravars" and "modextrapaths" in your easyconfigs.

I paste here an example but if you grep for "modextra" in your easyconfigs
folder you will find more.

modextravars = {
    'TRANSABYSS_PATH': '$root',
    'TRANSABYSS_VERSION': version,
    'ABYSSPATH': '$EBROOTABYSS/bin',
    'PICARD_DIR': '$EBROOTPICARD'
}

modextrapaths = {
    'PYTHONPATH': '$root'
}

regards,
Pablo


2014-11-21 14:36 GMT+01:00 Alan O'Cais <[email protected]>:

>  Hi Valeriu,
>
>  The first question comes up a lot. Yes it is possible but tedious and
> non-trivial at present (and even more difficult in a hierarchical modules).
> If it really is compilers that you would like to keep it will be much
> easier to do a rebuild with EasyBuild than to do wrappers to import the
> existing modules.
>
>  For the seocnd question there is actually work started already in there
> for supporting the PRACE CPE environment but it is not in there yet:
> https://github.com/hpcugent/easybuild-easyblocks/issues/82
>
>  Alan
>
> On 21 November 2014 14:14, Valeriu Codreanu <[email protected]>
> wrote:
>
>>  Hello,
>>
>>  I have succeeded in installing EasyBuild on one of our systems. Also, I
>> have built some modules, and am very enthusiastic about it because it makes
>> things a lot easier.
>>
>>  However, in order to deploy it on our system I need to know a few extra
>> things:
>>
>>    1. We currently have a lot of software modules already installed. We
>>    would prefer if possible to not rebuild every module with EasyBuild, but
>>    re-use some of the existing modules (e.g. Intel Compilers) when building
>>    other libraries/applications through EasyBuild. Do you have a procedure 
>> for
>>    achieving this?
>>    2. The generated module files set some classic env vars (e.g.
>>    $LD_LIBRARY_PATH) and some EasyBuild specific ones (e.g.
>>    $EBROOTGOMPI). Our current module system also sets some other env vars
>>    (e.g. PRACE_CFLAGS).  What would be the easiest way to instruct EasyBuild
>>    to set these extra env vars?
>>
>> Thanks,
>> Vali
>>
>
>
>
>  --
>  Dr. Alan O'Cais
> Application Support
> Juelich Supercomputing Centre
> Forschungszentrum Juelich GmbH
> 52425 Juelich, Germany
>
> Phone: +49 2461 61 5213
> Fax: +49 2461 61 6656
> E-mail: [email protected]
> WWW:    http://www.fz-juelich.de/ias/jsc/EN
>
>
>
> ------------------------------------------------------------------------------------------------
>
> ------------------------------------------------------------------------------------------------
> Forschungszentrum Juelich GmbH
> 52425 Juelich
> Sitz der Gesellschaft: Juelich
> Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
> Vorsitzender des Aufsichtsrats: MinDir Dr. Karl Eugen Huthmacher
> Geschaeftsfuehrung: Prof. Dr.-Ing. Wolfgang Marquardt (Vorsitzender),
> Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt,
> Prof. Dr. Sebastian M. Schmidt
>
> ------------------------------------------------------------------------------------------------
>
> ------------------------------------------------------------------------------------------------
>
>


-- 
Pablo Escobar López
HPC systems engineer
Biozentrum, University of Basel
Swiss Institute of Bioinformatics SIB
Email: [email protected]
Phone: +41 61 267 21 80
http://www.biozentrum.unibas.ch

Reply via email to