Skip to content

Commit

Permalink
add info regarding MPICH bug and hopefully fixed autobuild
Browse files Browse the repository at this point in the history
  • Loading branch information
solomonik committed Nov 7, 2023
1 parent e52330f commit f1ec874
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/autotest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ jobs:
shell: bash
run:
export OMP_NUM_THREADS=1;
export MPIR_CVAR_DEVICE_COLLECTIVES=none;
make test2


Expand Down Expand Up @@ -125,4 +126,5 @@ jobs:
run:
source ./envs/py3env/bin/activate;
export OMP_NUM_THREADS=1;
export MPIR_CVAR_DEVICE_COLLECTIVES=none;
make python_test2
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@ First, its necessary to run the configure script, which can be set to the approp
```
then execute ./configure with the appropriate options. Successful execution of this script, will generate a `config.mk` file and a `setup.py` file, needed for C++ and Python builds, respectively, as well as a how-did-i-configure file with info on how the build was configured. You may modify the `config.mk` and `setup.py` files thereafter, subsequent executions of configure will prompt to overwrite these files.

Note: there is a (now-fixed) [bug](https://github.com/pmodels/mpich/pull/6543) in recent versions of MPICH that causes a segmentation fault in CTF when executing with 2 or more processors.
The bug can be remedied without rebuilding CTF by setting an environment variable as follows,
```sh
export MPIR_CVAR_DEVICE_COLLECTIVES=none
```

### Dependencies and Supplemental Packages

The strict library dependencies of Cyclops are MPI and BLAS libraries.
Expand Down

0 comments on commit f1ec874

Please sign in to comment.