Alternative VE Offloading  3.0.2
examples/VH/hello_static.c
#include <ve_offload.h>
int main()
{
/* Load "vehello" on VE node 0 */
struct veo_proc_handle *proc = veo_proc_create_static(0, "./vehello");
uint64_t handle = 0UL;/* find a function in the executable */
struct veo_thr_ctxt *ctx = veo_context_open(proc);
struct veo_args *argp = veo_args_alloc();
uint64_t id = veo_call_async_by_name(ctx, handle, "hello", argp);
uint64_t retval;
veo_call_wait_result(ctx, id, &retval);
return 0;
}