-
Notifications
You must be signed in to change notification settings - Fork 13
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
Scamp on the Mac #19
base: master
Are you sure you want to change the base?
Scamp on the Mac #19
Conversation
OK thank you so much. This is great. I don't have access to a Mac to test this myself (until someone sets up CI on Mac 😄 ). |
After some exchange with Emmanuel, I can make some massive tests on my own catalogs, but I don't wish to use brew (I use Mac Ports) to install. Another way to apply your patches? |
OK, got it from you fork. |
@ebertin well, I'm not a real developer, just adapting other people's code :-) P.S.: if you want to give it a try, I think you can install macOS in a hypervisor such as VirtualBox
@mrkite92 Below is the list of
And here the full tree for Scamp:
|
All these dependencies are precisely the point, likely to collide with the Mac Ports ones... ./configure --enable-auto-flags --enable-best-link --enable-icc --enable-mkl --with-mkl-dir=/opt/intel/mkl --prefix=/Users/marquett/Soft/astromatic/ --enable-accelerate works fine, but the make fails: make A typo? Using gcc instead of icc works. |
As far as I understood while trying to make it work, |
After two attempts of a massive tests, I confirm a segmentation fault, crash report below. ----- Astrometric stats (internal) : /bin/sh: line 1: 75285 Segmentation fault: 11 /Users/marquett/Soft/astromatic/bin/scamp -c /Volumes/FabFour/baskerville/erosdata/astromatic_params/scamp.conf -ASTREF_CATALOG FILE -ASTREFCAT_NAME /Volumes/FabFour/pepperland/DR2/cg_DR2.ldac -VERBOSE_TYPE FULL -CHECKPLOT_DEV PDF cg619*.cat Some numbers on my catalogs: ----- 2 instruments found for photometry: Instrument P1 : Instrument P2 : ----- 1 field group found: Group 1: 1445 fields at 18:09:35.95 -28:49:10.1 with radius 60.23’ ----- Reference catalogs:
3179433 astrometric references loaded from cg_DR2.ldac ----- Astrometric matching: Group 1: 3179433 standards in file (band 1) More info on request. Cheers, |
Dear Emmanuel,
following what was done by @mwcraig on previous Scamp and Sextractor versions, I added the link to the Accelerate library for easier installation of your tools on Macs.
I tested both software on macOS 10.14 and 10.15. and they work fine. Have a look at the modifications: I hope they turn to be useful.
Regards,
Luca
P.S. to install on the Mac, users can use the
brew
package manager by simply typingbrew install --build-from-source [PATH TO BOTTLE].rb
and using one of these:Sextractor bottle: https://gist.github.com/lonewolf1870/102924c2ae2456874173e67bb44e8307#file-sextractor-rb
Scamp bottle: https://gist.github.com/lonewolf1870/102924c2ae2456874173e67bb44e8307#file-scamp-rb