| #
02d2f6e8
|
| 04-May-2021 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'PR--config-cross-compilation' into 'main'
config,petsc4py: support cross-compilation
See merge request petsc/petsc!3859
|
| #
0f51ee0f
|
| 12-Apr-2021 |
Alexei Colin <acolin@isi.edu> |
config,petsc4py: support cross-compilation
On some HPC clusters it is necessary to cross-compile because the build hosts (login nodes) have a different architecture (or CPU family) from worker ndoes
config,petsc4py: support cross-compilation
On some HPC clusters it is necessary to cross-compile because the build hosts (login nodes) have a different architecture (or CPU family) from worker ndoes, for example on ALCF Theta HPC cluster workers are Xeon Phi, so turning on cpu-family optimizations turns the build into a cross-compilation. The current ./configure fails with SIGILL (Illegal instruction) when it tries to import `numpy`, which had been cross-compiled and cannot run on the build host.
This patch simply adds (to `./configure` and to `petsc4py`'s `setup.py`) a means to suppress autodetection operations that involve loading dependencies for checks and to get meta info like include. Users who cross-compile can use these arguments to pass the meta info explicitly so that it doesn't need to be autodetected on the build host.
To interface into `setup.py` an env var is used, because there doesn't seem to be any better alternative. We don't want to mess with setuptools's built-in processing of command-line arguments; and extending that seems to be possible only per command, which is not useful for getting the information we need at the top-level scope and is also needlessly complicated.
Signed-off-by: Alexei Colin <acolin@isi.edu>
show more ...
|
| #
44c45e3b
|
| 05-Apr-2021 |
Satish Balay <balay@mcs.anl.gov> |
Merge remote-tracking branch 'origin/release'
|
| #
71b1d51c
|
| 05-Apr-2021 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'dalcinl/petsc4py' into 'release'
petsc4py: Fixes for proper tarball generation
See merge request petsc/petsc!3811
|
| #
8885bf16
|
| 04-Apr-2021 |
Lisandro Dalcin <dalcinl@gmail.com> |
petsc4py: Build of extension modules now depends on PETSc header files
|
| #
12756ce7
|
| 03-Apr-2021 |
Lisandro Dalcin <dalcinl@gmail.com> |
petsc4py: Cython wrapper generator should not depend on PETSc header files
|
| #
a66b5171
|
| 05-Jan-2021 |
Satish Balay <balay@mcs.anl.gov> |
Merge remote-tracking branch 'origin/release'
|
| #
38c11108
|
| 04-Jan-2021 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'dalcinl/petsc4py/release' into 'release'
petsc4py: Update Cython
See merge request petsc/petsc!3533
|
| #
a9c71d45
|
| 29-Dec-2020 |
Lisandro Dalcin <dalcinl@gmail.com> |
petsc4py: Update Cython build
* Set `language_level` to `3str` if supported (Cython >= 0.29) * Initial preparations for upcoming release Cython 3.0 * Require Cython >= 0.24, older versions do not lo
petsc4py: Update Cython build
* Set `language_level` to `3str` if supported (Cython >= 0.29) * Initial preparations for upcoming release Cython 3.0 * Require Cython >= 0.24, older versions do not longer work
show more ...
|
| #
3594a89d
|
| 30-Dec-2020 |
Lisandro Dalcin <dalcinl@gmail.com> |
petsc4py: require Cython for in-tree petsc4py
|
| #
875ba99e
|
| 07-Dec-2020 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2020-11-13/fix-petsc4py-dependencies' into 'master'
Barry/2020 11 13/fix petsc4py dependencies
See merge request petsc/petsc!3417
|
| #
ccd2fb5e
|
| 13-Nov-2020 |
Barry Smith <bsmith@mcs.anl.gov> |
Fix petsc4py dependencies on PETSc includes, if any change it reruns cython
This also includes configuring with a new PETSC_ARCH
Also doesn't recompile the C code everytime make all is run when it
Fix petsc4py dependencies on PETSc includes, if any change it reruns cython
This also includes configuring with a new PETSC_ARCH
Also doesn't recompile the C code everytime make all is run when it does not need to
Remove --download-petsc4py that makes a symbolic link of src/binding/petsc4py Instead support --with-petsc4py that just builds petsc4py in place without the link
Lisandro Dalcin provided the fix for python 2 and OSX hardening requirement
Commit-type: bug-fix /spend 2.5h Thanks-to: Satish Balay <balay@mcs.anl.gov> Thanks-to: Lisandro Dalcin
show more ...
|
| #
1cff8897
|
| 03-Dec-2020 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'barry/2020-11-11/docs-mofem' into 'master'
Barry/2020 11 11/docs mofem
See merge request petsc/petsc!3412
|
| #
eaf87d4b
|
| 12-Nov-2020 |
Barry Smith <bsmith@mcs.anl.gov> |
Update docs regarding Petsc4py installing, location, and add link to petsc4py docs
Commit-type: docs /spend 1h
|
| #
18442e8f
|
| 02-Sep-2020 |
Satish Balay <balay@mcs.anl.gov> |
Merge branch 'balay/import-petsc4py' into 'master'
Balay/import petsc4py
Closes #276, #25, #121, and #667
See merge request petsc/petsc!3093
|
| #
5808f684
|
| 31-Aug-2020 |
Satish Balay <balay@mcs.anl.gov> |
Add 'src/binding/petsc4py/' from commit '9d8b840ed7f345b561d77f5729d2e92238bc13e0'
git-subtree-dir: src/binding/petsc4py git-subtree-mainline: 2d88a74bccb5e37fbc4e61aca4ca0ae8418199f0 git-subtree-sp
Add 'src/binding/petsc4py/' from commit '9d8b840ed7f345b561d77f5729d2e92238bc13e0'
git-subtree-dir: src/binding/petsc4py git-subtree-mainline: 2d88a74bccb5e37fbc4e61aca4ca0ae8418199f0 git-subtree-split: 9d8b840ed7f345b561d77f5729d2e92238bc13e0
show more ...
|