Hello,

I got qualified for DCJ at round 1B, and I have trouble when trying to use the 
DCJ testing tool. 

Here is my test file, named mytest.c:

#include <message.h>
#include <stdio.h>

int main() {
  if (MyNodeId() == 0) {
    printf("Hello world!\n");
  }
}

I downloaded the tool for linux and compiled with:
dcj build --source=mytest.c

There was no compiling error. I try to execute with: 
dcj run --executable=./mytest --nodes=2 --output=all

And I got the following error:
Error when executing command 
(u'/home/astrid/discodejam16/tool/dcj/../executable/parunner', '--n', '2', 
'--stdout', 'all', '--stderr', 'all', './mytest'): OSError(8, 'Exec format 
error').

This is the same whatever the number of nodes I ask for.
I also tried to go in the 'executable' directory and launch:
./parunner ../../mytest -n=2

I got the following error:
bash: ./parunner: cannot execute binary file: Erreur de format pour exec()

Could someone help me?
Thanks,
Astrid


-- 
You received this message because you are subscribed to the Google Groups 
"Google Code Jam" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-code/9d9d07c5-6208-49c3-814b-c2c1238d08be%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to