In data 15 luglio 2009 alle ore 11:54:24, Sylvian Cadars <sylvian.cadars at cnrs-orleans.fr> ha scritto: > If as Lorentzo wrote it is not possible to redirect the output, then it > is sad, since I found it particularly convenient to be able to run > series of calculations using a single script, as is typically done in > the example files. This is particularly convenient when looking for the > best cutoff energy, for example.
Is is not impossible, but normally the standard redirection ">" works with (open)mpi out-of-the-box. If you cannot find the output file it may indicate that the working directory used by mpirun is not the directory in which you are looking for the output file; see the "Current Working Directory" section of mpirun manual for details. You can set the working directory explicitly using the option -wd "/path/to/directory" to settle this issue. Another issue I've had sometime, that could cause problems similar to the one you've had, is related to two conflicting version of mpi. The mpirun instance on the master node tries to start the wrong mpirun on the other nodes. Use the --prefix option to be sure this is not your case (syntax example: "mpirun --prefix /opt/openmpi-1.3.1" without "/bin/") Best regards. -- Lorenzo Paulatto SISSA & DEMOCRITOS (Trieste) phone: +39 040 3787 511 skype: paulatz www: http://people.sissa.it/~paulatto/ *** save italian brains *** http://saveitalianbrains.wordpress.com/
