[Wien] passing env variables to lapw1 and 2
Pavel Ondracka
pavel.ondracka at email.cz
Tue Nov 10 15:25:18 CET 2015
Dear Wien2k mailing list,
I'm having some troubles passing environmental variables (eg.
OMP_NUM_THREADS or similar) to lapw1 and lapw2. This works in serial
mode where the lapw* programs are called directly, however in parallel
mode they are run through remote shell and all environmental info is
lost.
I can declare them in my .bashrc and then it works (since the .bashrc
is reloaded when remote shell is spawned) however i would like to
specify them per task.
One solution I had in mind was to go through AcceptEnv in sshd however
this is considered insecure according to cluster admins an is disabled.
Another option is to modify the wien scripts to include the required
variables when calling the remote shell, however at the moment I'm
wondering if there is more universal and elegant solution?
Any ideas?
Best regards
Pavel Ondračka
More information about the Wien
mailing list