Re: Changing the environment before calling source block?

2021-10-02 Thread Ihor Radchenko
"Loris Bennett" writes: > Hi, > > I have multiple versions of each of various languages such as Python > or R. On the command line I can select a version using the 'module'[1] > mechanism provided by Lmod[2]: > > My question is: How do I change the environment, ideally call 'module > load ...' b

Changing the environment before calling source block?

2021-03-15 Thread Loris Bennett
Hi, I have multiple versions of each of various languages such as Python or R. On the command line I can select a version using the 'module'[1] mechanism provided by Lmod[2]: module load Python/2.7.18-GCCcore-9.3.0 or module load Python/3.8.6-GCCcore-10.2.0 This 'module' mechanism basic