Kiran Desai
2008-12-04 06:52:12 UTC
Hello,
I am relatively new to the world of MPI. I am trying to create a
daemon process that would communicate with other processes using MPI
(MPICH2). It is similar to socket based client-server model. Every
attempt to do so results in segmentation fault, daemon never kicks
off. Here is what I have tried so far:
1. Follow std steps in creating a daemon process. (fork, umask,
setssid.. )
2. Before the big loop of daemon code, I initialize MPI (by calling
MPI_Init()).
Please let me know if I am missing something here. My main objective
is to kick off a daemon process that only communicates over MPI.
Thanks,
Kiran
I am relatively new to the world of MPI. I am trying to create a
daemon process that would communicate with other processes using MPI
(MPICH2). It is similar to socket based client-server model. Every
attempt to do so results in segmentation fault, daemon never kicks
off. Here is what I have tried so far:
1. Follow std steps in creating a daemon process. (fork, umask,
setssid.. )
2. Before the big loop of daemon code, I initialize MPI (by calling
MPI_Init()).
Please let me know if I am missing something here. My main objective
is to kick off a daemon process that only communicates over MPI.
Thanks,
Kiran