Dear Keith,

The wording on 'creating' your own toolchain could have been a bit more
clear,
You will always have to 'create' a toolchain before it can be used,
however, it is enought to just install the easybuild-easyconfigs and run

eb
/path/to/easyconfigs/installation/easybuild/easyconfigs/g/goolf/goolf-1.6.10.eb
-r /path/to/easyconfigs/installation

to create the goolf toolchain, this will try to automatically download
and build all requirements, so there is no need
to create your own gcc easyconfig...
However, you will need a working compiler on your system before this
will work.

If you want to make changes, e.g. install a different version of gcc it
is best to start from an easyconfig file we provide for you. The error
you are seeing here is because GCC is built with the GCC easyblock, and
you had name='gcc' which will look for a gcc easyblock, Yes, easybuild
is case sensitive...

The goolf toolchain is a toolchain containing all you will need to then
get started building more packages.

There isn't even an explicit need to create this first, just try to
build any package, and easybuild will build all dependencies first.
But you will have to specify the -r options to a correct path of the
easyconfig repository, so it can find all the dependencies it needs.

If you have any more questions I would encourage you to try to go
trought the step by step guide:
https://github.com/hpcugent/easybuild/wiki/Step-by-step-guide
Note, there is no reason to create any of these files yourself, they are
all available in the easyconfig repository.

Btw, it is possibly easier to help you getting stared if we can chat
directly,
join #easybuild on freenode (irc) if you want, there's always (withing
12hours, depending on your time zone) people ready to help you there.


Regards
Jens Timmerman

On 03/07/2014 05:32 PM, [email protected] wrote:
> So I am trying to build a toolchain for GCC 1.7.3 and have run into an error I
> have yet to see.
>
> ebFile:
> name = 'gcc'
> version = '4.7.3'
>
> homepage = 'http://gcc.gnu.org/'
> description = "abc"
>
> toolchain = {'name': 'dummy', 'version': 'dummy'}
> toolchainopts = {'shared': True, 'static': True}
>
> sources = ['gcc-4.7.3.tar.gz']
>
> moduleclass = 'compiler'
>
>
> Console Results:
> == temporary log file in case of crash /tmp/easybuild-0D9sGY/
> easybuild-3vIaW6.log
> == resolving dependencies ...
> == processing EasyBuild easyconfig /afs/crc.nd.edu/x86_64_linux/easybuild-
> soft/src/gcc/4.7.3/gcc-4.7.3.eb
> == ERROR: Failed to get application instance for gcc (easyblock: None):
> EasyBuild crashed with an error (at easybuild/framework/easyblock.py:1928 in
> get_class): Failed to obtain class for None easyblock (not available?):
> 'EasyBuild crashed with an error (at easybuild/framework/easyblock.py:1897 in
> get_class): Failed to import easyblock for EB_gcc because of module issue: '

Reply via email to