Back to home page

EIC code displayed by LXR

 
 

    


Warning, /AID2E-framework/examples/schedulers/panda-idds/panda-init-env.yml is written in an unsupported language. File is not indexed.

0001 # PanDA worker setup for the AID2E examples in this directory.
0002 # Keep one shell command per list item; the loader joins them into one script.
0003 # Use an explicit micromamba prefix instead of shell activation so both
0004 # `python` and `python3` resolve to Python 3.13 inside run_workflow.sh.
0005 - "set -e;"
0006 - "command -v singularity >/dev/null 2>&1 || export SINGULARITY=/cvmfs/oasis.opensciencegrid.org/mis/singularity/current/bin/singularity;"
0007 - "export AID2E_WORKDIR=$(pwd);"
0008 - "export MAMBA_ROOT_PREFIX=${AID2E_WORKDIR}/micromamba;"
0009 - "export MAMBA_EXE=${MAMBA_ROOT_PREFIX}/bin/micromamba;"
0010 - "export AID2E_PYTHON_ENV=${AID2E_WORKDIR}/aid2e-python;"
0011 - "echo AID2E_WORKDIR: ${AID2E_WORKDIR};"
0012 - "mkdir -p ${MAMBA_ROOT_PREFIX}/bin;"
0013 - "curl -fLsS https://micro.mamba.pm/api/micromamba/linux-64/latest | tar -xj -C ${MAMBA_ROOT_PREFIX} bin/micromamba;"
0014 - "test -x ${MAMBA_EXE};"
0015 - "${MAMBA_EXE} create -y -p ${AID2E_PYTHON_ENV} -c conda-forge python=3.13 pip;"
0016 - "export PATH=${AID2E_PYTHON_ENV}/bin:${PATH};"
0017 - "hash -r;"
0018 - "echo Python environment selected:;"
0019 - "python --version;"
0020 - "python3 --version;"
0021 - "which python;"
0022 - "which python3;"
0023 - "python -c 'import sys; assert sys.version_info >= (3, 10), sys.version';"
0024 - "bash ${AID2E_WORKDIR}/install_aid2e_dependencies.sh;"
0025 - "source ${AID2E_WORKDIR}/setup_aid2e.sh;"
0026 - "python -c 'import sys, aid2e; print(\"AID2E import succeeded with\", sys.version)';"
0027 - "${MAMBA_EXE} clean -a -y;"
0028 - "echo END OF AID2E PANDA ENVIRONMENT SETUP;"