radical-cybertools / radical.pilot

RADICAL-Pilot
http://radical-cybertools.github.io/radical-pilot/index.html
Other
54 stars 23 forks source link

Error while using base conda env for agent environment (`radical-pilot-create-static-ve`) #2930

Closed mtitov closed 1 year ago

mtitov commented 1 year ago

When use base conda env ("virtenv_mode": "local") it gives an error with permissions

$ cat env.log 
[/opt/conda/bin/radical-pilot-create-static-ve -d -p /opt/conda -t conda -P . env/bs0_pre_0.sh]
pre exec: . env/bs0_pre_0.sh
pre exec done
/opt/conda/condabin/conda
env at /opt/conda exists
/opt/conda/bin/radical-utils-env.sh: line 106: /opt/conda.env: Permission denied

https://github.com/radical-cybertools/radical.pilot/blob/53d049e272fb45f36169ca95e5cb9da03b665351/src/radical/pilot/agent/agent_0.py#L846-L848

https://github.com/radical-cybertools/radical.pilot/blob/3eec27c1d90690c51ca63978fb0c2c3aef21acc7/bin/radical-pilot-create-static-ve#L237