[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Condor-users] Need help with MPI+Parallel Universe



Hi everybody:

I've tried to use MPICH V 1.2.6 1.2.7 and 1.2.4 and the following error
appears if I execute the file ./simple:

0 - <NO ERROR MESSAGE> : Could not convert index 1140850688 into a pointer
The index may be an incorrect argument.
Possible sources of this problem are a missing "include 'mpif.h'",
a misspelled MPI object (e.g., MPI_COM_WORLD instead of MPI_COMM_WORLD)
or a misspelled user variable for an MPI object (e.g.,
com instead of comm).
[0]  Aborting program !
[0] Aborting program!
p0_28147:  p4_error: : 9039

Then submiting the job with Condor, the log file says:

014 (094.000.000) 12/01 09:20:03 Node 0 executing on host: <10.2.2.2:59756>
...
014 (094.000.001) 12/01 09:20:04 Node 1 executing on host: <10.2.2.2:59756>
...
014 (094.000.002) 12/01 09:20:04 Node 2 executing on host: <10.2.2.3:40053>
...
001 (094.000.000) 12/01 09:20:04 Job executing on host: MPI_job
...
007 (094.000.000) 12/01 09:20:05 Shadow exception!
	Error from starter on vm2@xxxxxxxxxxxxxxxxxxxxxxxxx: File
/opt/condor-6.8.4/local.opteron0/spool/cluster94.proc0.subproc0/1.key
maps to url
local:/opt/condor-6.8.4/local.opteron0/spool/cluster94.proc0.subproc0/1.key,
which I don't know how to open.

	0  -  Run Bytes Sent By Job
	962787  -  Run Bytes Received By Job

The simple.c is:
/**************
 *  * simplempi.c
 *   **************/
#include <stdio.h>
#include "mpi.h"

int main(argc,argv)
    int argc;
        char *argv[];
        {
          int myid;
          char line[128];

              MPI_Init(&argc,&argv);
               MPI_Comm_rank(MPI_COMM_WORLD,&myid);
                  fprintf ( stdout, "Printing to stdout...%d\n", myid );
                 fprintf ( stderr, "Printing to stderr...%d\n", myid );
                    fgets ( line, 128, stdin );
                      fprintf ( stdout, "From stdin: %s", line );
                         MPI_Finalize();
                            return 0;
           }
Can anybody help?
Thanks a lot!!

Eng. Paula Marti­nez