On 28-10-15 14:36, Backeljauw Franky wrote:
> Hello all,
> 
> Just a small question: in several Easyblock files there are tests for mpi, as 
> in:
> 
>       if self.toolchain.options.get('usempi', None):
> 
> This actually implies that you don’t have to specify “usempi:True” in your 
> Easyconfig since it is implied to be the default.
> 
> In other words: does Easybuild build with mpi as a default? (That is, unless 
> you explicitly specify “usempi:False” in your Easyconfig file?)

If you don't specify anything, `usempi` will be False and $CC and
friends will be set to the compiler directly. If you put `usempi` to
True, they will be set to mpicc etc.

So by default EB does not use mpi and hence the if's in the easyblocks.

Ward


-- 
dr. ir. Ward Poelmans
High Performance Computing infrastructure unit
Ghent University
Krijgslaan 281 S9
B-9000 Gent
Belgium
Tel: +32 9 264 4817
http://www.ugent.be/hpc

Reply via email to