[daip] forwarded message from Eric Greisen

Eric Greisen egreisen at nrao.edu
Wed Nov 17 10:39:43 EST 2004


------- start of forwarded message (RFC 934 encapsulation) -------
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Return-Path: <egreisen at aoc.nrao.edu>
Received: from polaris.cv.nrao.edu (polaris.cv.nrao.edu [192.33.115.101])
	by dropbox.aoc.nrao.edu (8.12.8/8.12.8/smtp-gateway) with ESMTP id iAHFaZRH001115
	for <egreisen at aoc.nrao.edu>; Wed, 17 Nov 2004 08:36:35 -0700
Received: from revere.aoc.nrao.edu (revere.aoc.nrao.edu [146.88.1.15])
	by polaris.cv.nrao.edu (8.12.8/8.12.8/smtp-gateway) with ESMTP id iAHFaYi6027457
	for <egreisen at nrao.edu>; Wed, 17 Nov 2004 10:36:35 -0500
Received: from primate.aoc.nrao.edu (primate.aoc.nrao.edu [146.88.3.236])
	by revere.aoc.nrao.edu (8.11.6/8.11.6) with ESMTP id iAHFaTr24775;
	Wed, 17 Nov 2004 08:36:29 -0700
Received: (from egreisen at localhost)
	by primate.aoc.nrao.edu (8.12.8/8.12.8/Submit) id iAHFaTss009260;
	Wed, 17 Nov 2004 08:36:29 -0700
Message-ID: <16795.28668.984765.102370 at primate.aoc.nrao.edu>
In-Reply-To: <011101c4cc99$a9070a50$04000100 at pidomain.cit.ie>
References: <011101c4cc99$a9070a50$04000100 at pidomain.cit.ie>
X-Mailer: VM 7.00 under Emacs 21.2.1
X-MailScanner-Information: Please contact postmaster at aoc.nrao.edu for more information
X-MailScanner: Found to be clean
X-MailScanner-SpamCheck: not spam, SpamAssassin (score=-5.9, required 7,
	BAYES_01 -5.40, IN_REP_TO -0.37, REFERENCES -0.00,
	USER_AGENT_VM -0.06)
From: Eric Greisen <egreisen at nrao.edu>
To: "John Howard" <mjhoward at cit.ie>
Subject: Re: [daip] aips install problem
Date: Wed, 17 Nov 2004 08:36:28 -0700

You are using the gcc compiler suite on Solaris.  This will produce
code that is only about 2/3 as fast as that produced by the Solaris
compilers but if that is all you have then aips can be made to work.
Not by default - you will have to edit files:

cd $AIPS_ROOT
source LOGIN.CSH    (or . LOGIN.SH with bash)
$CDTST
cd $YSERV/XAS

1. edit Makefile    - note the options for LINUX, edit the SUL to
                      match
   make


Then   cd $SYSLOCAL

2. edit CCOPTS.SH - the case statement is wrong put in 

case $COMPILER in
#                                       GNU g77
    *gcc)
        OPT0="-O3 -fomit-frame-pointer -funroll-loops"
        OPT1="$OPT0"
        OPT2="$OPT1"
        OPT3="$OPT2"
        COMP=""
        ;;
#                                       SUN compiler
    *SUN*cc)
        OPT1="-xO1"
        OPT2="-xO2"
        OPT3="-xO3"
        OPT8="-xO4"
        OPT9="-xO5"
        ;;
#                                       Some other compiler.  If f2c,
#                                       set some sensible options.
    *)
        COMP=""
        ;;
esac


instead.  Note the only difference is the reference to C compilers
rather than Fortran ones.

Eric Greisen
------- end -------




More information about the Daip mailing list