On Wed, 04 Mar 2009 22:32:48 +0100, JR Schmidt <schmidt at chem.wisc.edu> wrote: > (I set it in my profile, so it should have stuck around > when executed by mpirun).
You have to export the variable, for it to work. e.g. this works: OMP_NUM_THREAD=1 ./myprogram this works as well: export OMP_NUM_THREAD=1 ./myprogram but this does NOT work: OMP_NUM_THREAD=1 ./myprogram mysteries of bash shell... regards -- Lorenzo Paulatto SISSA & DEMOCRITOS (Trieste) phone: +39 040 3787 511 skype: paulatz www: http://people.sissa.it/~paulatto/ *** save italian brains *** http://saveitalianbrains.wordpress.com/
