diff --git a/.github/workflows/test_CondaEnv.yml b/.github/workflows/test_CondaEnv.yml index 4200750..f6fd531 100644 --- a/.github/workflows/test_CondaEnv.yml +++ b/.github/workflows/test_CondaEnv.yml @@ -4,6 +4,7 @@ on: pull_request: paths: - '**-env.yml' + - '.github/workflows/**' jobs: build-conda-env: @@ -14,10 +15,15 @@ jobs: max-parallel: 5 steps: - uses: actions/checkout@v3 - - name: Set up Python 3.9 - uses: mamba-org/provision-with-micromamba@main + - name: Set up Python 3.11 + uses: mamba-org/setup-micromamba@v1 with: environment-file: false - - name: Install Conda Environment + - name: Install Conda Environment on MacOS + if: matrix.os == 'macos-latest' + run: | + micromamba env create --platform osx-64 --file anaconda-env.yml + - name: Install Conda Environment on Ubuntu + if: matrix.os == 'ubuntu-latest' run: | micromamba env create --file anaconda-env.yml diff --git a/README.md b/README.md index be4468d..55f89c9 100644 --- a/README.md +++ b/README.md @@ -21,6 +21,10 @@ To install this environment in your flavor of Anaconda, proceed through the foll 3. Using `mamba`, install the environment: `mamba env create -f anaconda-env.yml` 4. Activate the environment: `mamba activate IPTA_Env` +## MacOS installation +Same as above; but try with: + 1. `micromamba env create --platform osx-64 --file anaconda-env.yml` + ### Important Note Regarding the Included OpenMPI For Linux 64, Open MPI is built with CUDA awareness but this support is disabled by default. To enable it, please set the environment variable `OMPI_MCA_opal_cuda_support=true` before launching your MPI processes. Equivalently, you can set the MCA parameter in the command line: `mpiexec --mca opal_cuda_support 1 ...` diff --git a/anaconda-env.yml b/anaconda-env.yml index 3167bea..05efc2e 100644 --- a/anaconda-env.yml +++ b/anaconda-env.yml @@ -72,5 +72,11 @@ dependencies: - acor>=1.1.1 - pypulse>=0.1.1 - gitpython + - bilby - pip: + - git+https://github.com/PolyChord/PolyChordLite@master - git+https://github.com/pennucci/PulsePortraiture.git@py3 + - git+https://github.com/bvgoncharov/enterprise_warp + - git+https://github.com/nanograv/pint_pal@main + - git+https://github.com/nanograv/enterprise@dev + - git+https://github.com/nanograv/enterprise_extensions@dcbusyweek