<div dir="ltr">userconfig does not do anything for ksh, besides print a to-do list:<div><br></div><div>!!! You are using neither csh, tcsh nor bashrc as your default !!!</div><div> shell. You will have to configure your system by hand </div>
<div><br></div><div> *) add WIEN2k-directory to your seach-path</div><div> *) install aliases </div><div> *) set environment variable EDITOR to your prefered editor</div><div> *) set environment variable SCRATCH to your prefered scratch</div>
<div> path, to use the working directory set SCRATCH to "./"</div><div> *) set environment variable WIENROOT to your WIEN root directory</div><div> *) set environment variable W2WEB_CASE_BASEDIR to your WIEN cases directory</div>
<div> *) set the "stacksize" to unlimited</div><div> *) set LD_LIBRARY_PATH (if necessary)</div><div> *) if you will be using parallel execution using rsh: edit your</div><div> ~/.rhosts file such that rlogin logs you on to the</div>
<div> selected systems without asking for a password</div><div> using ssh: generate keys (ssh_keygen) and distribute public key</div><div> Eventually you may have to ask your system administrator</div>
<div><br></div><div>In ksh, the startup script for log-in is .profile, where I had put these lines:<br></div><div><div><br></div><div><div>PATH=/usr/bin:/etc:/usr/sbin:/usr/ucb:$HOME/bin:/usr/bin/X11:/sbin:/usr/vacpp/bin:/usr/bin/WIEN2k/13:/home/oliver/scripts:.</div>
<div>export WIEN_MPIRUN='poe _EXEC_ -procs _NP_'</div><div>export WIENROOT=/usr/bin/WIEN2k/13</div><div>export PATH</div><div>export W2WEB_CASE_BASEDIR=/home/oliver/data/wiendir</div><div>export SCRATCH=./</div><div>
export EDITOR=vim</div></div><div><div>if [ -f $HOME/.kshrc -a -r $HOME/.kshrc ]; then</div><div> ENV=$HOME/.kshrc # set ENV if there is an rc file</div><div> export ENV</div><div>fi</div></div>
<div><br></div><div style>and in .kshrc (for all new shells, not just log-in) I also have the same variable settings, minus the if statement. </div><div style><br></div><div style>But it seems that the non-interactive shell receives a different path:</div>
<div style><br></div><div style><div>$ ssh stblade02 exec /usr/bin/ksh < echo_path.sh</div><div>/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin:/usr/java5/jre/bin:/usr/java5/bin</div><div><br></div></div><div><br></div>
</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Oct 16, 2013 at 11:00 AM, Laurence Marks <span dir="ltr"><<a href="mailto:L-marks@northwestern.edu" target="_blank">L-marks@northwestern.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">You have to make sure that the executables path is known on the other<br>
nodes, It looks like you are using ksh (I am not very familiar with<br>
it) so you need to have appropriate lines in the initialization files<br>
( .kshrc ??? as a guess) to set this up. The script .userconfig does<br>
this for bash/csh, not sure about ksh (never tried).<br>
<div><div class="h5"><br>
On Wed, Oct 16, 2013 at 12:51 PM, Oliver Albertini <<a href="mailto:ora@georgetown.edu">ora@georgetown.edu</a>> wrote:<br>
> Hello,<br>
><br>
> To run k-point parallel across different nodes, is it enough to simply have<br>
> w2k installed on all the nodes along with pw-less ssh? I have pw-less ssh<br>
> working among the nodes, but when I try to run another kpoint on another<br>
> node, the shell cannot find the executables:<br>
><br>
> $ x lapw1 -p<br>
> starting parallel lapw1 at Wed Oct 16 10:48:53 PDT 2013<br>
> -> starting parallel LAPW1 jobs at Wed Oct 16 10:48:53 PDT 2013<br>
> running LAPW1 in parallel mode (using .machines)<br>
> 2 number_of_parallel_jobs<br>
> [1] 4653272<br>
> [2] 3605022<br>
> ksh: lapw1c: not found.<br>
> ksh: fixerror_lapw: not found.<br>
> ksh: /home/oliver/data/wiendir/benchmark/test_case: not found.<br>
> ksh: lapw1c: not found.<br>
> ksh: fixerror_lapw: not found.<br>
> [2] - Done ( ( $remote $machine[$p] ...<br>
> [1] + Done ( ( $remote $machine[$p] ...<br>
> stblade01(1) 0.000u 0.000s 0.1 0.00% 0+0k 0+0io 0pf+0w<br>
> stblade02(1) 0.000u 0.000s 0 0.00% 0+0k 0+0io 0pf+0w<br>
> test_case.scf1_1: A file or directory in the path name does not exist.<br>
> Summary of lapw1para:<br>
> stblade01 k=1 user=0 wallclock=6<br>
> stblade02 k=1 user=0 wallclock=0<br>
> 0.1u 0.1s 0:02 8% 0+0k 0+0io 0pf+0w<br>
><br>
><br>
> .machines:<br>
> 1:stblade01<br>
> 1:stblade02<br>
><br>
> Sincerely,<br>
><br>
> Oliver<br>
><br>
><br>
<br>
<br>
<br>
</div></div>--<br>
Professor Laurence Marks<br>
Department of Materials Science and Engineering<br>
Northwestern University<br>
<a href="http://www.numis.northwestern.edu" target="_blank">www.numis.northwestern.edu</a> <a href="tel:1-847-491-3996" value="+18474913996">1-847-491-3996</a><br>
"Research is to see what everybody else has seen, and to think what<br>
nobody else has thought"<br>
Albert Szent-Gyorgi<br>
_______________________________________________<br>
Wien mailing list<br>
<a href="mailto:Wien@zeus.theochem.tuwien.ac.at">Wien@zeus.theochem.tuwien.ac.at</a><br>
<a href="http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien" target="_blank">http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien</a><br>
SEARCH the MAILING-LIST at: <a href="http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html" target="_blank">http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html</a><br>
</blockquote></div><br></div>