-
Notifications
You must be signed in to change notification settings - Fork 29
Conversation
Unfortunately I couldn't test this because pip install healpy failed on my box with anaconda-5.0 cross compilation tools chain. It couldn't find cfitsio. We need a good binary package of healpy on conda.
The data files needs to be moved too for the tests to run due to the rename into pysm.test. I am not sure about the best way of doing this.
|
the healpy conda package doesn't work? |
You mean the one from conda-forge? Yes -- that's the one I tried, and it worked! Though it pulled in replacements a few unrelated packages (that's what I mean 'not clean'). I can fix the file not found error -- but it does seem the package contains some relatively big data files -- are they for testing only or are they necessary for the application to function? If they are for testing only perhaps a smaller version of file is preferred. |
templates looked like an asset of PYSM, so the path shall be calculated in the root package.
For in-tree testing, PYSM_TESTDATA_DIR is not set, so we guess a relpath to the test data for out-tree testing (run-tests.py), PYSM_TESTDATA_DIR is set to the in-tree position. This is to avoid installing the 64 MB and growing size of the test data set. It appears that trimming it down requires subsential work that's beyond my judgement.
The test case appears to be broken -- no one produce the file (but it is removed after test) It's likely better to use a temporary file (but must be aware that if MPI is used the filename needs to be broadcasted).
Since the intention is not to distribute them with the package.
This avoids '/', which was also avoided in the old code.
you can probably install mpi on travis with apt |
with |
It is trickier. This is running on the docker based images, so we need to
use the apt add-on. I usually work with packages from anaconda; but I guess
you want to avoid that dependency in travis tests? If miniconda's OK I'll
just copy over the boilerplate we use everywhere else.
…On Tue, Jan 23, 2018 at 7:02 AM, Andrea Zonca ***@***.***> wrote:
with sudo apt-get install -y -q openmpi-bin libopenmpi-dev
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#18 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAIbTH3effCexw44k8QVA3uauEmZVfj0ks5tNfR9gaJpZM4RjYiy>
.
|
also everything from anaconda would be fine |
anyway it looks like it is working fine now |
@rainwoodman do you think this Pull Request is ready for @bthorne93 to review and merge? |
I can then refactor #15 to use |
Yes, please. Travis is finally green! |
This is a demonstration.
Unfortunately I couldn't test this because pip install healpy failed
on my box with anaconda-5.0 cross compilation tools chain -- It couldn't link with cfitsio.
We need a good binary package of healpy.
#17