Create conda activate in a shell script authored by Quang tru HUYNH's avatar Quang tru HUYNH
assuming this basic shell script ~tru/pythonnet-from-yml-example.sh:
```
#!/bin/bash
eval "$(conda shell.bash hook)";
conda activate pythonnet-from-yml;
python -c "import clr" && echo ok
```
Run it with:
```
[tru@adm singularity]$ srun -n 1 --gres=gpu:1 singularity exec /master/home/edereure/singularity/container_pythonnet_yml.simg ~tru/pythonnet-from-yml-example.sh
ok
```
\ No newline at end of file