Click here to Skip to main content
16,018,264 members

Comments by Afnan_ (Top 42 by date)

Afnan_ 25-Mar-14 2:08am View    
Okay, I'll look in to that.

Thank you for all your comments.
Afnan_ 24-Mar-14 16:17pm View    
Thank you but I already read the error message and the file does exist and the extension is provided. If you have noticed I'm running the command within the directory itself "main@C4C:~/Junoworkspace/testmillion$ mpirun -np 4 testmillion", so it's pointing to the directory.
Afnan_ 24-Mar-14 7:42am View    
I did try it and this is what I get an error:

main@C4C:~/Junoworkspace/testmillion$ mpirun -np 4 testmillion [proxy:0:0@C4C] HYDU_create_process (./utils/launch/launch.c:69): execvp error on file testmillion (No such file or directory) [proxy:0:0@C4C] HYDU_create_process (./utils/launch/launch.c:69): execvp error on file testmillion (No such file or directory) [proxy:0:0@C4C] HYDU_create_process (./utils/launch/launch.c:69): execvp error on file testmillion (No such file or directory) [proxy:0:0@C4C] HYDU_create_process (./utils/launch/launch.c:69): execvp error on file testmillion (No such file or directory)
Afnan_ 23-Mar-14 15:24pm View    
It is "mpi.h", i just mistyped it here.
Afnan_ 23-Mar-14 12:48pm View    
I did try this command and this is what I get:

main@C:~/Junoworkspace/testmillion$ mpicc test.c -o testmillion
test.c:33:17: warning: extra tokens at end of #include directive [enabled by default]
test.c:33:18: fatal error: mpi.h: No such file or directory
compilation terminated.

Although mpi.h is in the directory