| 165 | == How to use the new stack in job scripts (provisional solution) == |
| 166 | |
| 167 | Currently it is not possible to use the `enable_new_stack` alias from within a batch script. |
| 168 | In order to use the new stack from within a batch script, it is necessary to add the following lines to your script: |
| 169 | |
| 170 | {{{ |
| 171 | ml purge; unset MODULEPATH; |
| 172 | ml use /usr/local/software/haswell/Stages/2018a/UI/Compilers:/usr/local/software/haswell/Stages/2018a/UI/Tools:/usr/local/software/extoll; |
| 173 | ml GCCcore/.5.5.0 binutils/.2.30; export USING_NEW_STACK=1 |
| 174 | }}} |
| 175 | |
| 176 | The lines above are relevant for the sdv nodes only (where currently the new stack is available). |
| 177 | |
| 178 | The solution described above will become unnecessary once the new stack is enable by default on the system. |
| 179 | |