[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Compiling FEFF8 on the Mac G3 and G4 with Absoft
This message uses a character set that is not supported by the Internet
Service. To view the original message content, open the attached message.
If the text doesn't display correctly, save the attachment to disk, and then
open it using a viewer that can display the original character set.
<<message.txt>>
Received: from list4.u.washington.edu ([140.142.14.167]) by cars6.cars.aps.anl.gov with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13)
id 4VBZ1TMZ; Thu, 11 Oct 2001 11:44:03 -0500
Received: from host (lists.u.washington.edu [140.142.56.13])
by list4.u.washington.edu (8.11.6+UW01.08/8.11.6+UW01.08) with SMTP id f9BGhuD31388;
Thu, 11 Oct 2001 09:43:56 -0700
Received: from mailscan3.cac.washington.edu (mailscan3.cac.washington.edu [140.142.32.15])
by lists.u.washington.edu (8.11.6+UW01.08/8.11.6+UW01.08) with SMTP id f9BGemN65732
for <feffusers@lists.u.washington.edu>; Thu, 11 Oct 2001 09:40:58 -0700
Received: FROM mxu4.u.washington.edu BY mailscan3.cac.washington.edu ; Thu Oct 11 09:40:44 2001 -0700
Received: from leonardo.phys.washington.edu (leonardo.phys.washington.edu [128.95.93.14])
by mxu4.u.washington.edu (8.11.6+UW01.08/8.11.6+UW01.08) with ESMTP id f9BGeiQ22665
for <feffusers@u.washington.edu>; Thu, 11 Oct 2001 09:40:44 -0700
Received: by leonardo.phys.washington.edu
(8.8.8/UW-NDC Revision: 2.33 ) id JAA46845;
Thu, 11 Oct 2001 09:40:44 -0700 (PDT)
Message-Id: <200110111640.JAA46845@leonardo.phys.washington.edu>
Date: Thu, 11 Oct 2001 09:40:44 -0700 (PDT)
Reply-To: feffusers@u.washington.edu
Sender: FEFFUSERS-owner@u.washington.edu
Precedence: bulk
List-Help: <http://www.washington.edu/computing/listproc/>
List-Unsubscribe: <mailto:listproc@u.washington.edu?body=unsubscribe%20feffusers>
List-Subscribe: <mailto:listproc@u.washington.edu?body=subscribe%20feffusers%20YourName>
List-Owner: <mailto:feffusers-request@u.washington.edu> (Human contact for the list)
List-Post: <mailto:feffusers@u.washington.edu>
From: "John J. Rehr" <jjr@leonardo.phys.washington.edu>
To: "FEFF Users" <feffusers@u.washington.edu>
Subject: Re: Compiling FEFF8 on the Mac G3 and G4 with Absoft
MIME-Version: 1.0
Content-Type: text/plain; charset=UNKNOWN-8BIT
Content-Transfer-Encoding: quoted-printable
X-Cc: "John J. Rehr" <jjr@leonardo.phys.washington.edu>
X-Listprocessor-Version: 8.1 -- ListProcessor(tm) by CREN
Tim Elam has tested a Absoft Makefile for compiling FEFF8 on the Mac G3 and=
G4
with the Absoft FORTRAN compiler for OS 9. The executable also runs with
OS X in classic mode. The executables for FEFF8.00 and 8.10 are available
for those with an FEFF8 license on the FEFF WWW pages. Please report
any problems with the use of these Makefiles.
The worksheet commands to compile FEFF with the attached makefile are:
#To compile FEFF for Macintosh:
#1 Set directory (using Directory menu) to folder with source code
#2 Be sure there is a copy of the file "FeffnonAltivec.make" in that folder
#3 Select the lines below and press the Enter key (NOT the Return key)
Set FEFFSourceFile `GetFileName -b Select -m "Select source file" -t TEXT`
echo {FEFFSourceFile}
Export FEFFSourceFile
BuildProgram FeffnonAltivec
Copy the following lines into a file named FeffnonAltivec.make
### MAKEFILE PREAMBLE ###
TargetName =3D FEFFnonAltivec
makefile =3D FEFFnonAltivec.make
# Power Macintosh tools and default settings
f77_ppc =3D "{AbsoftTools}f77" -c
f77_ppc_opts =3D -w -N11 -O -Q92 -N109 -W 132
# -w suppress warnings
# -N11 32 bit branch
# -O basic optimizations
# -Q92 PowerPC 604 processor
# -N9 check for Command-Period more frequently (vertical blank interrupt)
# -N109 convert subroutine names to upper case
# -W 132 wide format source lines, 132 characters
# (-Q52 don't use FMA instructions; not necessary for FEFF with=20
AbSoft compiler)
# Object and resource files used for this build:
PPC_LIBS =3D =8F
"{AbsoftLibraries}MRWE.o" =8F
"{AbsoftLibraries}libfio.o" =8F
"{AbsoftLibraries}libfmath.o" =8F
"{AbsoftLibraries}initFApp.o"
PPC_OBJECTS =3D =8F
"{FEFFSourceFile}.o"
# Linkage rule
"{TargetName}" =9F=9F {PPC_OBJECTS} {makefile}
Delete -i "{TargetName}"
Duplicate -y -r "{AbsoftLibraries}"mrwe.o "{TargetName}"
lnk -O -aliases "{AbsoftLibraries}"absoft_aliases =8F
-o "{TargetName}" {PPC_OBJECTS} {PPC_LIBS} =8F
-c 'Mrwe' -t APPL =8F
"{AbsoftLibraries}absoft_init.o" =8F
"{AbsoftLibraries}ACLib.o" =8F
"{PPCLibraries}StdCRuntime.o" =8F
"{SharedLibraries}StdCLib" =8F
"{SharedLibraries}InterfaceLib"
# Compilation rules
"{FEFFSourceFile}.o" =9F "{FEFFSourceFile}" {makefile}
{f77_ppc} {f77_ppc_opts} -o "{FEFFSourceFile}.o" "{FEFFSourceFile}"
clean =9F
Delete -i "{TargetName}" {PPC_OBJECTS}