[daip] New Ticket - [!LNK-744620]: Text installation of AIPS on MAC OSX Lion

Jonathan TL Zwart do-not-reply at nrao.edu
Mon Jan 23 09:23:07 EST 2012


New Ticket: Text installation of AIPS on MAC OSX Lion

Hi again,

1. I'm compiling locally in order to use custom AIPS routines written by Dave Green at MRAO for the AMI telescope.

2. Thanks - I've tried those options, but in vain:

COMRPL    : Date       Mon Jan 23 15:33:54 SAST 2012
PP        : Preprocess /Users/jtlz2/aips/31DEC12/APL/DEV/UNIX/BELL/MACINT/ZTACT2.C
PP        : into       /Users/jtlz2/aips/31DEC12/MACINT/PREP/ZTACT2.c
AIPSCC    : Date       Mon Jan 23 15:33:54 SAST 2012
AIPSCC    : Interpret  AIPSCC  \
AIPSCC    :            /Users/jtlz2/aips/31DEC12/MACINT/PREP/ZTACT2.c
AIPSCC    : as         LIST=FALSE PURGE=TRUE
AIPSCC    : plus       /opt/local/bin/gcc-mp-4.4 -c -O3 -ip --I/Users/jtlz2/aips/31DEC12/INC -D_FILE_OFFSET_BITS=64 \
AIPSCC    :            /Users/jtlz2/aips/31DEC12/MACINT/PREP/ZTACT2.c
cc1: error: unrecognized command line option "-ip"
cc1: error: unrecognized command line option "-fI/Users/jtlz2/aips/31DEC12/INC"
AIPSCC    : Compile of /Users/jtlz2/aips/31DEC12/MACINT/PREP/ZTACT2.c
AIPSCC    : ends with fatal error(s)!
AIPSCC    : Examine    /Users/jtlz2/aips/31DEC12/MACINT/INSTALL/INSTEP2.LOG
AIPSCC    : and        /Users/jtlz2/aips/31DEC12/MACINT/PREP/ZTACT2.c
AIPSCC    : Dies of unnatural causes
COMRPL    : Compile failed!
COMRPL    : Deleted    /Users/jtlz2/aips/31DEC12/MACINT/PREP/ZTACT2.c
COMRPL    : Leave      /Users/jtlz2/aips/31DEC12/APL/DEV/UNIX/BELL/MACINT/ZTACT2.C
COMRPL    : in         /Users/jtlz2/aips/31DEC12/MACINT/INSTALL/APLGEN.LIS
COMRPL    : unchanged as it FAILED to compile.
COMRPL    : Date       Mon Jan 23 15:33:54 SAST 2012
PP        : Preprocess /Users/jtlz2/aips/31DEC12/APL/DEV/UNIX/BELL/MACINT/ZTKILL.C
PP        : into       /Users/jtlz2/aips/31DEC12/MACINT/PREP/ZTKILL.c
AIPSCC    : Date       Mon Jan 23 15:33:54 SAST 2012
AIPSCC    : Interpret  AIPSCC  \
AIPSCC    :            /Users/jtlz2/aips/31DEC12/MACINT/PREP/ZTKILL.c
AIPSCC    : as         LIST=FALSE PURGE=TRUE
AIPSCC    : plus       /opt/local/bin/gcc-mp-4.4 -c -O3 -ip --I/Users/jtlz2/aips/31DEC12/INC -D_FILE_OFFSET_BITS=64 \
AIPSCC    :            /Users/jtlz2/aips/31DEC12/MACINT/PREP/ZTKILL.c
cc1: error: unrecognized command line option "-ip"
cc1: error: unrecognized command line option "-fI/Users/jtlz2/aips/31DEC12/INC"
AIPSCC    : Compile of /Users/jtlz2/aips/31DEC12/MACINT/PREP/ZTKILL.c
AIPSCC    : ends with fatal error(s)!
AIPSCC    : Examine    /Users/jtlz2/aips/31DEC12/MACINT/INSTALL/INSTEP2.LOG
AIPSCC    : and        /Users/jtlz2/aips/31DEC12/MACINT/PREP/ZTKILL.c
AIPSCC    : Dies of unnatural causes
COMRPL    : Compile failed!
COMRPL    : Deleted    /Users/jtlz2/aips/31DEC12/MACINT/PREP/ZTKILL.c
COMRPL    : Leave      /Users/jtlz2/aips/31DEC12/APL/DEV/UNIX/BELL/MACINT/ZTKILL.C
COMRPL    : in         /Users/jtlz2/aips/31DEC12/MACINT/INSTALL/APLGEN.LIS
COMRPL    : unchanged as it FAILED to compile.
COMRPL    : Date       Mon Jan 23 15:33:54 SAST 2012
PP        : Preprocess /Users/jtlz2/aips/31DEC12/APL/DEV/UNIX/BELL/MACINT/ZTXMA2.C
PP        : into       /Users/jtlz2/aips/31DEC12/MACINT/PREP/ZTXMA2.c
AIPSCC    : Date       Mon Jan 23 15:33:54 SAST 2012
AIPSCC    : Interpret  AIPSCC  \
AIPSCC    :            /Users/jtlz2/aips/31DEC12/MACINT/PREP/ZTXMA2.c
AIPSCC    : as         LIST=FALSE PURGE=TRUE
AIPSCC    : plus       /opt/local/bin/gcc-mp-4.4 -c -O3 -ip --I/Users/jtlz2/aips/31DEC12/INC -D_FILE_OFFSET_BITS=64 \
AIPSCC    :            /Users/jtlz2/aips/31DEC12/MACINT/PREP/ZTXMA2.c
cc1: error: unrecognized command line option "-ip"
cc1: error: unrecognized command line option "-fI/Users/jtlz2/aips/31DEC12/INC"
AIPSCC    : Compile of /Users/jtlz2/aips/31DEC12/MACINT/PREP/ZTXMA2.c
AIPSCC    : ends with fatal error(s)!
AIPSCC    : Examine    /Users/jtlz2/aips/31DEC12/MACINT/INSTALL/INSTEP2.LOG
AIPSCC    : and        /Users/jtlz2/aips/31DEC12/MACINT/PREP/ZTXMA2.c
AIPSCC    : Dies of unnatural causes
COMRPL    : Compile failed!
COMRPL    : Deleted    /Users/jtlz2/aips/31DEC12/MACINT/PREP/ZTXMA2.c
COMRPL    : Leave      /Users/jtlz2/aips/31DEC12/APL/DEV/UNIX/BELL/MACINT/ZTXMA2.C
COMRPL    : in         /Users/jtlz2/aips/31DEC12/MACINT/INSTALL/APLGEN.LIS
COMRPL    : unchanged as it FAILED to compile.
COMRPL    : at least one module FAILED to compile
COMRPL    : Dies of unnatural causes
INSTEP2   : Failure in $APLGEN/...
INSTEP2   : compilations.
INSTEP2   : Aborts!    Mon Jan 23 15:33:54 SAST 2012
AipsWiz: Error: INSTEP2 failed, no point in proceeding.
AipsWiz: Error: Look in /Users/jtlz2/aips/31DEC12/MACINT/INSTALL to see
AipsWiz: Error: if you can figure out what went wrong.  There are
AipsWiz: Error: many log and list files there.  You may want to do

grep -v ^- *.LIS


AipsWiz: Error: to see what modules did not compile.

AipsWiz: Install Wizard stopping.  Current settings saved in ~/.AIPSRC
AipsWiz: Abandoning ship!  Goodbye.

Perhaps my compiler options are still wrong? The .AIPSRC is

# AIPSRC created by install.pl on Mon Jan 23 15:33:54 2012
#
LAST_VERSION = 31DEC12     Bot L20    (Fundamental)-----------------------------
AIPS_ROOT = /Users/jtlz2/aips
GROUP = staff
GROUPWRITE = YES
INSTALL_FROM_CD = NO
INSTALL_FROM_NET = NO
ARCH = MACINT
IS64 = NO
SITE = MARCHMAIN
THISHOST = MARCHMAIN
HOSTS = "MARCHMAIN"
PRINTERS = "KONICA_MINOLTA_bizhub_363_7D_81_B7_:PS~DEF~UWCASTRO"
DATA_AREAS = "/Users/jtlz2/aips/DATA/MARCHMAIN_1:NONE"
TAPE_DRIVES = ""
TPHOSTS = "127.0.0.1"
PRINTMED = A4
FORT = /opt/local/bin/gfortran-mp-4.4
FORTOPT = -c -fno-automatic -fno-globals -Wno-globals -Wimplicit -Wall -O2
CCOM = /opt/local/bin/gcc-mp-4.4
CCOMOPT = -c -O3 -ip --I/Users/jtlz2/aips/31DEC12/INC -D_FILE_OFFSET_BITS=64
LINK = /opt/local/bin/gfortran-mp-4.4
READLINE = /Users/jtlz2/aips/31DEC12/MACINT/LIBR/GNU/libreadline.a
DOTWOLIB = NO
DOWNLOADED = 2012.01.22:18:34.47
UNPACKED = 

Thanks very much,

Jon Zwart

----------

two comments:

1. Why are you compiling locally?  Are you planning to write
  your own AIPS tasks?  If not, you should do the binary
  installation (perl install.pl -n).  The tasks will execute
  faster than those produced by gfortran.

2. The FORTOPT option must be set.  Without them, the gfortran
  is trying to compile and link every subroutine as a program.
  I use a gnu version on my machine for debugging and its options
  are
  -c -fno-automatic -fno-globals -Wno-globals -Wimplicit -Wall -O2
  I forget what all of them mean but I think the -c is essential
  to do a subroutine compile without link.

Eric Greisen


Ticket Details
===================
Ticket ID: BVR-360142
Department: AIPS Data Processing
Priority: Default
Status: Closed

Ticket Details
===================
Ticket ID: LNK-744620
Department: AIPS Data Processing
Priority: Default
Status: Open
Link:  https://help.nrao.edu/staff/index.php?_m=tickets&_a=viewticket&ticketid=1400




More information about the Daip mailing list