source: pypar/contrib/schiotz @ 622

Last change on this file since 622 was 85, checked in by ole, 19 years ago

Added pypar files

File size: 1.4 KB
Line 
1Dear Ole Nielsen,
2
3I saw your announcement of Pypar on comp.lang.python.announce.  In our
4programs, we are using Konrad Hinsen's Scientific Python module.  I
5have a small technical question.  You write that one advantage of your
6approach is, that one does not need a special version of the Python
7executable, just the pypar module.  In Scientific Python it is
8necessary to modify Python because MPI requires that MPI_Init is
9called before the program looks at its command line arguments, and
10Python needs to look at its command line arguments to figure out which
11script to run.  How do you bypass this problem?  I know there are MPI
12implementations where this is not a problem as MPI only adds extra
13stuff to the command-line on the non-master nodes, but there are some
14implementation (MPICH, for example) where the whole command line is
15replaced with MPI stuff and the command line is only restored when
16MPI_Init is called.
17
18I am very interested to hear if you have found an elegant way to solve
19this, as it is slightly annoying to have to have an extra version of
20the Python executable.
21
22
23Best regards
24
25Jakob Schiotz
26
27
28--
29Jakob Schiotz, Ph.D.             !  Email: schiotz@fysik.dtu.dk
30CAMP, Department of Physics      !  WWW: http://www.fysik.dtu.dk/~schiotz/
31Technical University of Denmark  !  Phone: (+45) 45 25 32 28
32DK-2800 Lyngby, Denmark          !  Fax:   (+45) 45 93 23 99
33
Note: See TracBrowser for help on using the repository browser.