-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Quicklook #389
Conversation
@afausti can you take a look at this to confirm that it is consistent with the configuration from QLF? Thanks. |
Below is an example of how to run QuickLook based on the most recent commit using the example configuration file provided in desispec/data/quicklook: desi_quicklook --config_file example-config-r0-00000002.yaml --night 20160728 --camera r0 --expid 2 Unless otherwise specified using the keyword --rawdata_dir, desi and fibermap files must be located in $QL_SPEC_DATA/night. |
@sbailey I am not fully convinced to rebasing this branch to my last commit, as now the master has been merged and there are too many commits. While @rstaten 's latest push is safe locally and on progress, and will be updated next time, we decided to open a new branch, to avoid any potential headache. I'll send a separate PR from there soon. @rkehoe Please confirm if we need to keep this PR/branch? |
@rstaten we should continue with xwsigma devel. in this branch. |
@sbailey This branch can now be considered for merge with one caveat noted below. It incorporates changes that accomplish:
The remaining issue with this PR concerns the error: ImportError: numpy.core.multiarray failed to import Which appears to be with the offline pipeline, not QL. Can @sbailey suggest a solution here? Once that is addressed, this PR should be ready to merge. |
The numpy.core.multiarray failure seems to be some feature of the travis environment. It does not show up locally for me, and it also shows up in a branch that has only trivial changes from master. Seems like something changed in the last ~month in the test environment. I will try to figure that out today some time unless someone beats me to it. |
Thanks, @tkisner. I'm seeing the same errors on my latest branches of https://travis-ci.org/desihub/desitarget/jobs/249323894 So this appears to be general to the test environment. |
@sbailey It appears @tskisner's update may have fixed the numpy problem with this branch. However, tests are still failing in a travis job_stages error (line 54) where one of the QL unit tests |
The travis updates did change from a very old Ubuntu version (12.04) to a merely old version (14.04). Travis docs say this has 4 GB of memory, but we have hit memory limits before from memory hungry specsim (see desihub/specsim#67 and desihub/specsim#68). Options:
Note that due to stdout caching, the last line in the log may not be the thing that was running when the job was killed. Previously I have debugged this with running the tests in one window on my laptop and watching "top" in another window, and noting what was running when the memory spikes. |
Having cited memory hungry specsim, do the QL tests use specsim to generate input data? I don't think so... in which case the memory usage problems are elsewhere (resolution matrix is always a suspicious one to look at). If you can identify which test is using lots of memory that will give us further clues of how to proceed. |
The memory issue was not with any particular test, but with the input files being created by the test setup. In particular, a pix file for the xwsigma test was being created more times than necessary, leading to the increase in memory. I moved this to the test itself, so that the file is only created once. This seems to have solved the issue as the travis tests now pass. |
@sbailey I will merge this shortly. |
thanks for cleaning up the memory usage in the tests. merge when ready. |
I don’t think these emails are for me.
From: rstaten [mailto:[email protected]]
Sent: Wednesday, July 12, 2017 12:49 PM
To: desihub/desispec <[email protected]>
Cc: Travis Kisner <[email protected]>; Mention <[email protected]>
Subject: Re: [desihub/desispec] Quicklook (#389)
The memory issue was not with any particular test, but with the input files being created by the test setup. In particular, a pix file for the xwsigma test was being created more times than necessary, leading to the increase in memory. I moved this to the test itself, so that the file is only created once. This seems to have solved the issue as the travis tests now pass.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#389 (comment)> , or mute the thread <https://github.com/notifications/unsubscribe-auth/AAKC6J67gAwwfZDWf16fBO5OAXrRdAfeks5sNQcWgaJpZM4Npti3> .
|
@geordie666 , my user name is @tskisner, not "tkisner", which is some other user. |
This PR: