mpicc -DDEBUG -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -o mkrandpfile mkrandpfile.c
mpiexec -n 8 mkrandpfile -f test -l 20
Imran
On 30 April 2014 13:05, Lisandro Dalcin <dal...@gmail.com> wrote:
>>
>> I checked the dorsal_configure file and I think OpenMPI is set as backend.
>>
>> I also ran the following program :
>>
>> http://beige.ucs.indiana.edu/I590/node88.html
>>
>> and got no errors.
>>
>> Here is how I ran the program :
>>
>> mpicc -DDEBUG -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -o mkrandpfile
>> mkrandpfile.c
>>
>> mpiexec -n 8 mkrandpfile -f test -l 20
>>
>
> Well, this code creates a writes a new file, rather than opening a new
> one for reading.
>
> Can you try to pass the full path of "file.mpi" to File.Open() ?
>
> What Open MPI version are you using? You can call MPI.get_vendor() to
> figure out.
>
Also, does a plain Python open("file.mpi").close() work?
PS: Any chance you could upgrade your OpenMPI to something more
recent, like the last 1.6.x release? I guess something is broken in
your install, but I cannot figure out what's the issue. Do you by
chance have any other Open MPI installed in your system, e.g. from
your Linux distribution?
--
Lisandro Dalcin
---------------
CIMEC (UNL/CONICET)
Predio CONICET-Santa Fe
Colectora RN 168 Km 472, Paraje El Pozo
3000 Santa Fe, Argentina
Tel: +54-342-4511594 (ext 1016)
Tel/Fax: +54-342-4511169
--
You received this message because you are subscribed to a topic in the Google Groups "mpi4py" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mpi4py/RJwl9gSgbYs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mpi4py+un...@googlegroups.com.
To post to this group, send email to mpi...@googlegroups.com.
Visit this group at http://groups.google.com/group/mpi4py.
To view this discussion on the web visithttps://groups.google.com/d/msgid/mpi4py/CAEcYPwDaQz%2BQ7%3DUSwhV0r-fvtAhPJsmbqA1GjkBnQhxDmPqs2g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
Lisandro Dalcin
---------------
CIMEC (UNL/CONICET)
Predio CONICET-Santa Fe
Colectora RN 168 Km 472, Paraje El Pozo
3000 Santa Fe, Argentina
Tel: +54-342-4511594 (ext 1016)
Tel/Fax: +54-342-4511169
--
You received this message because you are subscribed to a topic in the Google Groups "mpi4py" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mpi4py/RJwl9gSgbYs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mpi4py+un...@googlegroups.com.
To post to this group, send email to mpi...@googlegroups.com.
Visit this group at http://groups.google.com/group/mpi4py.
To view this discussion on the web visithttps://groups.google.com/d/msgid/mpi4py/CAEcYPwDaQz%2BQ7%3DUSwhV0r-fvtAhPJsmbqA1GjkBnQhxDmPqs2g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.--
You received this message because you are subscribed to a topic in the Google Groups "mpi4py" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mpi4py/RJwl9gSgbYs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mpi4py+un...@googlegroups.com.
To post to this group, send email to mpi...@googlegroups.com.
Visit this group at http://groups.google.com/group/mpi4py.
To view this discussion on the web visit https://groups.google.com/d/msgid/mpi4py/5E6E6652-7C4F-4CC1-8535-453AB2890EBE%40math.uio.no.
To view this discussion on the web visit https://groups.google.com/d/msgid/mpi4py/5D68B7D1-A0D8-41E5-AE36-011D6F35E412%40math.uio.no.
Finally, you may need to
$ export LD_LIBRARY_PATH=/path/to/openmpi-1.6.5/lib # i.e path of of
mpicc's -L flag
--
You received this message because you are subscribed to a topic in the Google Groups "mpi4py" group.
To unsubscribe from this topic, visithttps://groups.google.com/d/topic/mpi4py/RJwl9gSgbYs/unsubscribe.
To unsubscribe from this group and all its topics, send an email tompi4py+un...@googlegroups.com.
To post to this group, send email to mpi...@googlegroups.com.
Visit this group at http://groups.google.com/group/mpi4py.
To view this discussion on the web visithttps://groups.google.com/d/msgid/mpi4py/33c206e87820fd6b2031af5f58433b63%40ulrik.uio.no.
<output.out>