Recent Changes - Search:

Interferometry basics

Observing

Data Reduction

AGN Large Programme

Other AGN programmes

High angular resolution @ MPIA

Other Links

PmWiki


DR /

Mac

MIA+EWS on the Mac

Using the latest MIA+EWS snapshot change the following files to get it to run on a Mac.

  • Most importantly: you must use a case-sensitive file-system (e.g. HFS+ case-sensitive)
  • in c/src/Makefile replace CC_OPTS = -W -pedantic $(CC_OPT32) by CC_OPTS = -W -std=c99 $(CC_OPT32) to get rid of a bunch of warnings
  • in c/src/table_col.c, table_gen.c, table_row.c, util.c, util/dft.c and in c/include/DRfit.h, FLUORfsub.h, FOfit.h, simulate.h replace malloc.h by sys/malloc.h

With these modifications mia+ews will compile on the Mac. If you do not want to do these things by hand, you can also use my macify.sh script to make MIA+EWS compile on the Mac.

Download macify.gz

The following combinations are known to work:

  • 2008Aug17 snapshot and IDL 7.0.4 with Mac OS X 10.5 (Leopard) with Developer Tools 3.1
  • Versions prior to 2010Aug10: On 64-bit machines (e.g. MacBookPro with Intel Core 2 Duo processor) running Max OS X 10.6 Snow Leopard MIA+EWS compiles, but the oir-routines crash when executed. However, there is a workaround: Compile MIA+EWS on a non 64-bit machine (e.g. running Mac OS X 10.5 Leopard) and copy the binaries to the Mac running Snow Leopard. If you need a tar ball with compiled binaries to run on Snow Leopard or if you know a fix to the problem, please contact Leonard Burtscher.
  • 2010Aug10 snapshot and IDL 7.1.1 with Mac OS X 10.6.4 (Snow Leopard), Developer Tools 3.2.3 on a MacBook Pro
Edit - History - Print - Recent Changes - Search
Page last modified on August 11, 2010, at 18:18 CET