I am writing an MPI application that takes a filename as a logic and from a file using regular C functions Tries to read I run this application on several nodes of cluster using qsub
, which in turn uses mpiexec
.
This application runs fine on the local node where I have to file directly to mpiexec
:
mpiexec -n 4 ~ / My_app ~ / input_file.txt
But when I submit it to qsub
to run on other nodes of the cluster, the part of reading the file fails . Errors of the application on the fopen
call - this file can not open (likely because it does not exist).
The question is, how can I make the file available to all the nodes? I looked at the qsub
manpage and did not fix anything.
I think the vanilla gorilla does not need any more answers? However, let's consider the case of a pathological system, which does not have any parallel file system and the file system available only on one node. To achieve its goal there is a way in ROMIO (a very common MPI-IO implementation):
No comments:
Post a Comment