On 18/08/15 16:04, Vincent Schwarzer wrote:
What does OpenMP use for transport on the cloud?  sockets?

What do you expect to be dominating factor in your benchmark?  (e.g. data
transfer, guest bootstrap overhead, ...)?


OpenMP has in this case nothing to do with communication between multiple
machines but is a convenient way of programming parallel
applications using compiler pragmas. See
https://en.wikipedia.org/wiki/OpenMP for a good explanation and some simple
examples.

Ok fair enough.  What do *you* plan to use for transport?

I noticed today that x86_64-rumprun-netbsd-gcc is just a wrapper shell
script around the gcc installed on my system.
I got the gcc 4.9 sources but is it possible to cross-compile single
modules / components from it without compiling the complete gcc again?

My current approach is the following:


    - Clone GCC 4.9 sources from Github to folder <gcc>
    - Mkdir additional GCC Build folder called <gcc-build>
    - Execute configure (GNU Autotools) from new Build Folder with relative
    path to GCC lgomp Source Folder
    gcc-build/$  /gcc/lgomp/configure --target=x86_64-rump kernel-netbsd
    - Execute Makefile created by configure

You should use ./configure --host=x86_64-rumprun-netbsd, i.e. you want libgomp to run on x86_64-rumprun-netbsd. See what things running configure scripts in rumprun-packages do.

    I run into following error during the execution of the Makefile:

/tmp/gcc/libgomp/oacc-init.c: In function ‘acc_on_device’:
/tmp/gcc/libgomp/oacc-init.c:627:3: error: implicit declaration of
function ‘__builtin_acc_on_device’ [-Werror=implicit-function-declaration]
    return __builtin_acc_on_device (dev);
    ^
cc1: all warnings being treated as errors
make[2]: *** [oacc-init.lo] Error 1
make[2]: Leaving directory `/tmp/gcc-build'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/gcc-build'
make: *** [all] Error 2



Does anyone have experience with compiling single components from GCC
source?
Can anyone point me to further material that could help me in my current
situation?

There seems to be some discussion on other mailing lists about libgomp and __builtin_acc_on_device.

Reply via email to