View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000779 | SkyChart | 3-Documentation | public | 11-01-11 21:33 | 11-09-03 14:48 |
| Reporter | groz | Assigned To | Patrick Chevalley | ||
| Priority | normal | Severity | crash | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Platform | amd64 | OS | linux | OS Version | ubuntu maverick |
| Product Version | 3.3 SVN | ||||
| Target Version | 3.4 | Fixed in Version | 3.3 SVN | ||
| Summary | 0000779: catgen an ppmxl | ||||
| Description | I took a stab at building the ppmxl catlog as per the directions on the website. the NRC has a local mirror of the cds data that is not far from here, and it's a fantastic network connection for us, so I wrote a script to fetch the files from http:://vizier.hia.nrc.ca/ftp/cats/I317/dat/ The link does not show properly in a web browser, but, if you add the xxx.dat.gz filename to the end, wget from that address works fine. The first issue I ran into, the web page suggests 720 files to fetch, but when I looked at the index at ftp://cdsarc.u-strasbg.fr/pub/cats/I/317/dat/ (the link on the main website) there are only 468 files listed, and they total 21GB rather than the 38GB mentioned in your ppmxl page on the website. I fetched all 468 from the nrc mirror, then modified the ppmxl catgen project linked from the website to reference this list of files. They do appear to match the rest of the project setup, I checked all the fields. When I walked thru the catgen setup pages, then got to the end, clicked 'build catalog', it started, then abended with a 'to many open files error'. Thinking this may be my svn copy, I back-leveled skychart to the copy out of my 3.2 deb here, and got the same error. Trying again, this time in the catgen setup I selected 732 instead of 9537 in the 'number of files' dialog. I hit the build catalog button (still running 3.2), and voila, it seems to be grinding away now building me a massive catalog. To further isolate, I created a new catgen project, but this time including only four of the dat files (n69*.dat), so it will run to completion a lot faster. Indeed, building using the 732 option goes fine, but selecting the 9537 option seems to abend. | ||||
| Tags | No tags attached. | ||||
|
|
There is really 720 files at ftp://cdsarc.u-strasbg.fr/pub/cats/I/317/dat/ 4 files per degree, n00a to s89d, 4x180=720. The problem with 9537 files on Linux is describe here: http://tech.groups.yahoo.com/group/skychart-discussion/message/6403 This need to be added to Catgen documentation. I copy the text message here for reference: As it read lines from the input files Catgen need to randomly write the data to the 9537 output files, depending of the star coordinates. So the 9537 files need to be open at the same time. As Linux is a multi-user operating system there is safe-guard to avoid one user to eat all of the system resource. For a standard Ubuntu installation the maximum number of file a user can open at the same time is limited to 1024. To increase this limit you first need to change the system limit in the file limits.conf : sudo vi /etc/security/limits.conf add this two lines at the end of the file: * soft nofile 1024 * hard nofile 32768 Save the file, and logout from the system as this file only apply at next login. I recommend you keep the default value of 1024, this can be a good protection again a runaway process. Then open a terminal window and type : ulimit -S -n 20000 and from the same terminal type : skychart This is very important as the limit change is only for the current instance of the shell, not system width. |
|
|
Catgen documentation is updated: http://www.ap-i.net/skychart/en/documentation/catgen#notes_for_linux_and_mac_users |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 11-01-11 21:33 | groz | New Issue | |
| 11-01-12 16:46 | Patrick Chevalley | Note Added: 0001516 | |
| 11-01-12 16:46 | Patrick Chevalley | Assigned To | => Patrick Chevalley |
| 11-01-12 16:46 | Patrick Chevalley | Status | new => assigned |
| 11-01-12 16:46 | Patrick Chevalley | Category | 1-Software => 3-Documentation |
| 11-01-12 16:46 | Patrick Chevalley | Target Version | 0.3.0 => 3.4 |
| 11-01-12 16:50 | Patrick Chevalley | Note Edited: 0001516 | |
| 11-01-17 11:42 | Patrick Chevalley | Note Added: 0001519 | |
| 11-01-17 11:42 | Patrick Chevalley | Status | assigned => resolved |
| 11-01-17 11:42 | Patrick Chevalley | Resolution | open => fixed |
| 11-01-17 11:42 | Patrick Chevalley | Fixed in Version | 0.3.0 => 3.3 SVN |
| 11-09-03 14:48 | Patrick Chevalley | Status | resolved => closed |