Dear Easybuilders, 

We would like to install a GCC with OpenMP 4.5 / OpenACC with offloading 
capabilities to nvptx targets as described here 
https://gcc.gnu.org/wiki/Offloading#How_to_try_offloading_enabled_GCC 

We would of course prefer to do this installation with EasyBuild. As far as I 
can determine, no EasyConfigs are available for this yet, and I even doubt 
whether this can be build with the conventional GCC EasyBlock: the installation 
procedure for a GCC with offloading support is quite different, as nvptx-tool, 
nvptx-newlib, an accelerator GCC compiler and a host GCC compiler all need to 
be built (and it is suggested to install all in the same directory), through 
repeated configure/make/make installs (see e.g. this build script: 
https://gist.github.com/kristerw/4e9a735f2d755ffa73f9bf27edbf3c29 ). 

My questions to you: 

1) Has anyone already tried building a GCC with offloading support though 
EasyBuild? 
2) Specifically to the Gent people who wrote the GCC EasyBlock: would you think 
this can somehow be done with the current EasyBlock (my guess would be: no)? If 
not, would you think the existing EasyBlock should be adapted to support this, 
or would you feel a separate EasyBlock would be better? I personally wouldn't 
like 2 GCC EasyBlocks; on the other hand, incorporating it in the existing one 
results in a more complicated EasyBlock. 

I must immediately say that I am not yet sure if I can invest the time to write 
/ adapt an EasyBlock for this, but I just want to explore my options and your 
thoughts on this. 

Regards, 

Caspar van Leeuwen 
SURFsara 

Reply via email to