Skip to content

Instantly share code, notes, and snippets.

@pgrm
Created December 12, 2012 00:37
Show Gist options
  • Save pgrm/4263803 to your computer and use it in GitHub Desktop.
Save pgrm/4263803 to your computer and use it in GitHub Desktop.
MPI Error
[root@CentOS src]# make run_mpi
mpicc -o sw.o smith_waterman.c
mpiexec -np 1 ./sw.o ../input_data/sequence1.dat ../input_data/sequence2.dat ../input_data/data.score -1
argv[0] = ./sw.o
argv[1] = ../input_data/sequence1.dat
argv[2] = ../input_data/sequence2.dat
argv[3] = ../input_data/data.score
argv[4] = -1
./sw.o: invalid option -- '1'
PAM file empty
--------------------------------------------------------------------------
mpiexec has exited due to process rank 0 with PID 2624 on
node CentOS exiting improperly. There are two reasons this could occur:
1. this process did not call "init" before exiting, but others in
the job did. This can cause a job to hang indefinitely while it waits
for all processes to call "init". By rule, if one process calls "init",
then ALL processes must call "init" prior to termination.
2. this process called "init", but exited without calling "finalize".
By rule, all processes that call "init" MUST call "finalize" prior to
exiting or it will be considered an "abnormal termination"
This may have caused other processes in the application to be
terminated by signals sent by mpiexec (as reported here).
--------------------------------------------------------------------------
make: *** [run_mpi] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment