summaryrefslogtreecommitdiff
path: root/CHANGELOG.md
diff options
context:
space:
mode:
authorTom Payerle <payerle@umd.edu>2020-10-08 17:29:47 -0400
committerGitHub <noreply@github.com>2020-10-08 16:29:47 -0500
commit47a7cd6a934eb736e1c9221a50c33642a151cbee (patch)
treea7db4f4b34e98961e6998d195ab91f4c02559b42 /CHANGELOG.md
parentadf0ac19023ce89f92ec36a4f214f267578940a2 (diff)
downloadspack-47a7cd6a934eb736e1c9221a50c33642a151cbee.tar.gz
spack-47a7cd6a934eb736e1c9221a50c33642a151cbee.tar.bz2
spack-47a7cd6a934eb736e1c9221a50c33642a151cbee.tar.xz
spack-47a7cd6a934eb736e1c9221a50c33642a151cbee.zip
py-charm4py: new package (#18666)
* py-charm4py: new package Charm++ for python Installation notes: 1) charm4py ships with its own charm++ tarball. It really wants to use the version it ships with. It also builds charm++ in a special way to produce libcharm.so (but not charmc, etc), so it does not seem worthwhile to try to hack to build using a spack installed charmpp. 2) Originally, the installation was failing due to unresolved cuda symbols when setup.py was doing a ctypes.CDLL of libcharm.so (in order to verify version?). This appears to be due to the fact that libcharm.so had undefined cuda symbols, but did not show libcudart.so as a dependency (in e.g. ldd output). To fix this, I had to add libcudart.so explicitly when linking libcharm.so, but since setup.py untars a tarball to build libcharm, the solution was a tad convoluted: 2a) Add a patch in spack to py-charm4py which creates a patchfile "spack-charm4py-setup.py.patch" which will modify a Makefile file (after it is untarred) to add the flags in env var SPACK_CHARM4PY_EXTRALIBS to the link command for libcharm.so 2b) The spack patch file also patches setup.py to run patch using the aforementioned patchfile to patch the Makefile after it is untarred, and sets the SPACK_CHARM4PY_EXTRALIBS variable appropriately in the setup environment. * Update var/spack/repos/builtin/packages/py-charm4py/package.py Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> * Update var/spack/repos/builtin/packages/py-charm4py/package.py Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> * py-charm4py: flake8 fixes remove useless import Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
Diffstat (limited to 'CHANGELOG.md')
0 files changed, 0 insertions, 0 deletions