[Wien] passing env variables to lapw1 and 2
Pavel Ondracka
pavel.ondracka at email.cz
Wed Nov 11 10:02:06 CET 2015
On Wed, 2015-11-11 at 08:59 +0100, Peter Blaha wrote:
> I'm not sure, why you would not set this permanently in .bashrc.
I wanted to be able to adjust the variables on per task/job basis (when
running multiple cases in parallel).
> Anyway, if ssh does not allow it on your system, you could modify
> your
> lapw1/2para_lapw script and "source" a file in your directory which
> contains the desired settings.
>
> The lines to modify are:
>
> ($remote $machine[$p] "cd $PWD;$t $taskset0 $exe
> ${def}_$loop.def
> ;fixerror_lapw ${def}_$loop";rm -f .lock_$lockfile[$p]) >&
> .stdout1_$loop; sortoutput 1_$loop &
>
>
> where you could put some sourcing between cd $PWD;source ...;$t ...
> (must be csh commands, not bash).
Thanks for the advises, sourcing the variables from separate file works
and also for MPI jobs the mpi_remote advice from Elias is quite useful.
More information about the Wien
mailing list