<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p><font face="Times New Roman">The "<font color="#ff0000">sudo
          service sshd restart</font>" step, which I forgot to copy and
        paste, that is missing is corrected below.</font><br>
    </p>
    <div class="moz-cite-prefix">On 9/28/2019 12:18 PM, Gavin Abo wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:bcc404fc-ac02-cce6-2de4-40a72a285401@crimson.ua.edu">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <p>After you set both "SendEnv *" and "AcceptEnv *", did you
        restart the sshd service [1]?  The following illustrates steps
        that might help you verify that WIENROOT appears on a remote
        vlsi node:<br>
      </p>
      <p>username@computername:~$ echo $WIENROOT<br>
        <br>
        username@computername:~$ export WIENROOT=/servernode1<br>
        username@computername:~$ echo $WIENROOT<br>
        /servernode1<br>
        username@computername:~$ ssh vlsi<br>
        Welcome to Ubuntu 18.04.3 LTS (GNU/Linux 4.15.0-64-generic
        x86_64)<br>
        ... <br>
        Last login: Sat Sep 28 12:04:07 2019 from xxx.x.x.x<br>
        username@computername:~$ echo $WIENROOT<br>
        <br>
        username@computername:~$ exit<br>
        logout<br>
        Connection to vlsi closed.<br>
        username@computername:~$ sudo gedit /etc/ssh/ssh_config <br>
        [sudo] password for username: <br>
        <br>
        username@computername:~$ sudo gedit /etc/ssh/sshd_config <br>
        <br>
        username@computername:~$ grep SendEnv /etc/ssh/ssh_config<br>
            SendEnv LANG LC_* WIENROOT<br>
        username@computername:~$ grep AcceptEnv /etc/ssh/sshd_config<br>
        AcceptEnv LANG LC_* WIENROOT<br>
      </p>
    </blockquote>
       username@computername:~$ <font color="#ff0000">sudo service sshd
      restart</font><br>
    <blockquote type="cite"
      cite="mid:bcc404fc-ac02-cce6-2de4-40a72a285401@crimson.ua.edu">
      <p> username@computername:~$ ssh vlsi<br>
        ...<br>
        username@computername:~$ echo $WIENROOT<br>
        /servernode1<br>
        username@computername:~$ exit<br>
      </p>
      <p>[1]
        <a class="moz-txt-link-freetext"
href="https://askubuntu.com/questions/462968/take-changes-in-file-sshd-config-file-without-server-reboot"
          moz-do-not-send="true">https://askubuntu.com/questions/462968/take-changes-in-file-sshd-config-file-without-server-reboot</a><br>
      </p>
      <div class="moz-cite-prefix">On 9/28/2019 11:22 AM, Indranil mal
        wrote:<br>
      </div>
      <blockquote type="cite"
cite="mid:CAMXVQEHQN_VDpLeEm7Mu=Z2FDYvqOFpw18X=2hwfpCo0psVjQQ@mail.gmail.com">
        <meta http-equiv="content-type" content="text/html;
          charset=UTF-8">
        <div dir="auto">
          <div>Sir I have tried with " SetEnv * " Still nothing is
            coming with echo  commad and user name by mistake I posted
            wrong Otherwise no issue with user name and I have set the
            parallel options file taksset "no" and remote options are 1
            1 in server and client machines. </div>
          <div dir="auto"><br>
            <br>
            <div class="gmail_quote" dir="auto">
              <div dir="ltr" class="gmail_attr">On Sat, 28 Sep 2019
                11:36 Gavin Abo, <<a
                  href="mailto:gsabo@crimson.ua.edu"
                  moz-do-not-send="true">gsabo@crimson.ua.edu</a>>
                wrote:<br>
              </div>
              <blockquote class="gmail_quote" style="margin:0 0 0
                .8ex;border-left:1px #ccc solid;padding-left:1ex">
                <div text="#000000" bgcolor="#FFFFFF">
                  <blockquote type="cite">
                    <div dir="ltr">
                      <div>Respected Sir, In my linux(Ubuntu 18.04 LTS)
                        in ssh_config, and in sshd_config there are two
                        line already "SendEnv LANG LC_*" "AcceptEnv LANG
                        LC_*" respectively. </div>
                    </div>
                  </blockquote>
                  <p><font color="#000099">The "LANG LC_*" probably only
                      puts just the local language variables in the
                      remote environment.  Did you follow the previous
                      advice [1] of trying to use "*" to put all
                      variables from the local environment?</font></p>
                  <p><font color="#000099">[1] <a
href="https://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/msg19049.html"
                        target="_blank" rel="noreferrer"
                        moz-do-not-send="true">https://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/msg19049.html</a><br>
                    </font></p>
                  <blockquote type="cite">
                    <div dir="ltr">
                      <div>However, ssh vsli1 'echo $WIENROOT' gives
                        nothing (blank).</div>
                    </div>
                  </blockquote>
                  <p><font color="#000099">That seems to be the main
                      cause of the problem as it should not return
                      (blank) but needs to return "/servernode1" as you
                      previously mentioned [2].</font></p>
                  <p><font color="#000099">[2] <a
href="https://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/msg19036.html"
                        target="_blank" rel="noreferrer"
                        moz-do-not-send="true">https://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/msg19036.html</a></font></p>
                  <p><font color="#000099">Perhaps the message below is
                      a clue.  It you had set the WIENROOT variable in
                      .bashrc of your /home/vlsi accounts on each
                      system, you likely have to login and use that same
                    </font><font color="#000099"><font color="#000099">/home/vlsi
                      </font>account on the head node as the output
                      below seems to indicate login to a different
                      /home/niel account.  Alternatively, setting the
                      WIENROOT variable in .bashrc of all /home/niel
                      accounts on each node might work too.</font><br>
                  </p>
                  <blockquote type="cite">
                    <div dir="ltr">
                      <div>   The command ssh vsli1 'pwd $WIENROOT'
                        print "/home/vlsi" the common home directory and
                        <br>
                      </div>
                      <div>ssh vlsi1 "env"</div>
                      ...<br>
                      USER=niel<br>
                      PWD=/home/niel<br>
                      HOME=/home/niel<br>
                      ...<br>
                      <div>this is similar as server, and other nodes.</div>
                      <div><br>
                      </div>
                      <div>Sir After changing the parallel option file
                        in $WIENROOT in server to <br>
                      </div>
                      <div><br>
                      </div>
                      <div>setenv TASKSET <span
                          style="color:rgb(255,0,0)"><b>"yes" from "no"</b></span><br>
                        if ( ! $?USE_REMOTE ) setenv USE_REMOTE 1<br>
                        if ( ! $?MPI_REMOTE ) setenv MPI_REMOTE 1<br>
                        setenv WIEN_GRANULARITY 1<br>
                        setenv DELAY 0.1<br>
                        setenv SLEEPY 1<br>
                        setenv WIEN_MPIRUN "mpirun -np _NP_ -machinefile
                        _HOSTS_ _EXEC_"<br>
                        setenv CORES_PER_NODE 1<br>
                      </div>
                      <div><br>
                      </div>
                      <div>the error is not coming but the program is
                        not increasing steps after lapw0 it stuck in
                        lapw1<br>
                      </div>
                    </div>
                  </blockquote>
                  <p><font color="#000099">Since it seemed to be
                      throwing an appropriate error message with TASKSET
                      previously unlike when set to "yes", probably you
                      should change it back to "no".</font><br>
                  </p>
                </div>
              </blockquote>
            </div>
          </div>
        </div>
      </blockquote>
    </blockquote>
  </body>
</html>