extern "C" { #include <bsp.h> } #include <stdio.h> void bsp_main() { bsp_begin( bsp_nprocs() ); int proc = bsp_nprocs(); int pid = bsp_pid(); printf("Hola mundo, pid= %d\n", pid); bsp_end(); } int main(int argc, char *argv[]) { void bsp_main(); bsp_init(bsp_main,argc,argv); bsp_main(); return 0; }