[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ESPResSo] mpi
From: |
Christoph Junghans |
Subject: |
Re: [ESPResSo] mpi |
Date: |
Thu, 14 May 2009 16:40:36 +0200 |
User-agent: |
Internet Messaging Program (IMP) H3 (4.1.4) |
Hallo Martina,
you need as many seeds as nodes, a tcl block like this will help:
set seed "[pid]"
set seeds {}
for {set i 0} {$i < [setmd n_nodes]} {incr i} {
lappend seeds [expr ($i+1)*$seed]
}
eval t_random seed $seeds
Cheers,
Christoph
Zitat von martina pannuzzo <address@hidden>:
dear all,
I am trying to execute parallel version of expresso (mpirun).
I have 2 pc connected via ethernet cable; in each node i installed
espresso and it work fine in local.
the command line i used is:
mpirun -np 2 n0 N ./obj-Pentium_4-pc-linux/Espresso_bin
packages/mbtools/examples/scripts/main.tcl packages/mbtools/examples/
the error is:
Wrong # of args (2)! Usage: 't_random seed [<seed(0)> ... <seed(1)>]'
while executing
"t_random seed 174187078"
("eval" body line 1)
invoked from within
"eval t_random seed $seedbase"
(procedure "::mbtools::utils::init_random" line 11)
invoked from within
can you help me?!
thank you very much.
Martina
_________________________________________________________________
Messenger 2009: scaricalo gratis!
http://messenger.it/
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
- [ESPResSo] mpi, martina pannuzzo, 2009/05/14
- Re: [ESPResSo] mpi,
Christoph Junghans <=