[Ifeffit] iFEFFit/PGPlot/AquaTerm

Tsu-Chien Weng tsuchien at umich.edu
Sat Mar 9 15:09:33 CST 2002


> 3. Has anyone run ifeffit using aquaterm?
>

     Yes, I just tried newplot() with PGPlot/AQT, not in rootless 
XFree86.  Since I'm a new user, I've not tried many functions in iFEFFit.

     Has anyone tried to use Tcl/tk 8.4a4 with G.I.FEFFit?


Tsu-Chien
<Chien>001000</Chien>


=== PGPlot/AquaTerm ===
1. cvs AquaTerm 0.3 from aquaterm.sourceforge.net.
2. cp AQTProtocol.h, aqdriv.m to /usr/local/src/pgplot/drivers
3. mkdir sys_macosx, then cp g77_cc_AQT.conf and iand.c to it.
4. mkdir /usr/local/pgplot and copy over drivers.list.  Add a line:
AQDRIV   0   /AQT
5. /usr/local/src/pgplot/makemake /usr/local/pgplot
6. Modify makefile:
DRIVERS=nudriv.o aqdriv.o
aqdriv.o: $(DRVDIR)/aqdriv.m
	$(MCOMPL) -c $(MFLAGC) $(XINCL) $(DRVDIR)/aqdriv.m
7. make


=== iFEFFit ===
1. download readline-4.2a from GNU and install libreadline.a to 
/usr/local/lib.
2. modify ifeffit_1.0b/src/macosx/Makefile
a. #X_LIBS
b. READLINE_LIBS = -L/usr/local/lib -lreadline
c. NSLIBS = -framework Foundation -framework AppKit
d. PGPLOT_LIB = -L$(BASEDIR)/pgplot -lpgplot -L/usr/lib $(NSLIBS)

Note: I downloaded gcc3.1/g77 from 
<http://floyd.liunet.edu/~gkhanna/g77.dmg.gz>.  The version of 
/usr/bin/cc is 2.95.2 and it has problem like
/usr/bin/ld: /usr/lib/crt1.o relocation overflow for relocation entry 33 
in section (__TEXT,__text) (displacement too large)




More information about the Ifeffit mailing list