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.
_______________________________________________
Wien mailing list
Wien@zeus.theochem.tuwien.ac.at
http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien
SEARCH the MAILING-LIST at:  
http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html

Reply via email to