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