LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Davide Cittaro (davide.cittaro_at_[hidden])
Date: 2006-06-08 10:42:44


Ok, sorry:

--- lam-7.1.1.new/share/ssi/boot/rsh/src/
ssi_boot_rsh_inetexec.c 2006-06-08 16:16:57.000000000 +0200
+++ lam-7.1.1/share/ssi/boot/rsh/src/ssi_boot_rsh_inetexec.c
2004-09-26 17:35:03.000000000 +0200
@@ -208,7 +208,7 @@
       initialize the paths. This works for "sh" and "ksh". */
    if (!(fl_csh || fl_bash))
- sfh_argv_add(&cmdc, &cmdv, "( ! [ -e ./.profile ]
|| . ./.profile;");
+ sfh_argv_add(&cmdc, &cmdv, "( ! [ -e ./.profile]
|| . ./.profile;");
    for (i = 0; argv[i]; ++i)
      sfh_argv_add(&cmdc, &cmdv, argv[i]);
    if (!(fl_csh || fl_bash))

patched, compiled and it works...

d
On Jun 8, 2006, at 4:11 PM, Davide Cittaro wrote:

> Hi all, I've installed LAM/MPI 7.1.1 (as gentoo ebuild).
> I'm working with it (except for the xhpl of the other post...) but I
> have to boot this way:
>
> $ lamboot -ssi boot_rsh_ignore_stderr 1
> LAM 7.1.1/MPI 2 C++/ROMIO - Indiana University
>
> WARNING: LAM/MPI unexpectedly received the following on stderr:
> localshell: line 0: [: missing `]'
> ...
>
> this because, without ignoring the errors, I have error when it
> sources the .profile file. I've noticed that the command to do this
> is:
>
> rsh node1.sge.ifom-ieo-campus.it -n '( ! [ -e ./.profile]
> || . ./.profile; tkill )'
>
> and, as you can see, there is a space missing after profile, so I get
> the error.
> Is there a way to change this "on the fly", or should I look in
> source code?
>
> d
>
> /*
> Davide Cittaro
> Bioinformatics Systems @ Informatics Core
>
> IFOM - Istituto FIRC di Oncologia Molecolare
> via adamello, 16
> 20139 Milano
> Italy
>
> tel.: +39(02)574303355
> e-mail: davide.cittaro_at_[hidden]
> */
>
>
>
> _______________________________________________
> This list is archived at http://www.lam-mpi.org/MailArchives/lam/

/*
Davide Cittaro
Bioinformatics Systems @ Informatics Core

IFOM - Istituto FIRC di Oncologia Molecolare
via adamello, 16
20139 Milano
Italy

tel.: +39(02)574303355
e-mail: davide.cittaro_at_[hidden]
*/