On 01/15/2013 12:10 PM, Fotis Georgatos wrote:
btw. the default toolchain on ubuntu you actually use when you do "dummy-dummy"
(eg. this in fact happens when you bootstrap GCC, other compilers etc). But
then,
as Stijn said, you would defeat 1 main feature of easybuild which is to isolate
your HPC
software stack from the underlying OS peculiarities (we admit: this is not 100%
isolation)
Actually, that statement is incorrect (sorry Fotis ;-)).
When you specify a toolchain 'dummy', EasyBuild will not set the
compiler environment variables CC, CXX, F90, etc.
Also, the various library environment variables that are used by various
easyblocks will not be defined (as the toolchain doesn't have any actual
'elements').
So, lot's of things will break when you use a dummy toolchain for
everything.
Although you can get around that by setting the (required) variables
yourself, you're duplicating all the (sometimes tedious) effort done in
the toolchain Python package of EasyBuild.
Like Stijn mentioned, usually you really don't want to use the system
compilers/libraries, and an OS update might breaks all the built
software (sometimes in very subtle ways). You can get around it and
define a non-dummy toolchain that basically just uses the system stuff,
but you probably don't want to (although you may not realize that yet ;-)).
Can you clarify why you want to use the system compilers/libs? Is it
just to avoid needing to build a full toolchain stack?
regards,
Kenneth