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)
On 2002.03.10, at 06:09, Tsu-Chien Weng wrote:
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>
I had thought about using aquaterm as well (as an output for pgplot), especially as I find it very useful with gnuplot. When I tried to follow the directions for pgplot on the aquaterm, I discovered that the instructions were incomplete. I just learned about the missing libraries yesterday after writing the author, but now that I have gifeffit running, it is clear that it very much an X11 application and will be hard to change and the new environment would seem to be much more productive than the command line ifeffit (which I also must say I liked). I think it would a good idea to leave it up to the user and leave the aquaterm library option open though.
Hi Tsu-Chien,
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.
Wow! That's amazing! Thanks for the pointers on building this PGPLOT driver and using it with ifeffit. How does it compare with the X-Windows output? As Paul pointed out:
... but now that I have gifeffit running, it is clear that it very much an X11 application and will be hard to change and the new environment would seem to be much more productive than the command line ifeffit (which I also must say I liked). I think it would a good idea to leave it up to the user and leave the aquaterm library option open though.
currently all GUIs for ifeffit require X because they use the Tk widget set. A more native Mac GUI would be possible, but at this point, the portability of Tk is a big plus (athena and gifeffit work on Mac, Win32, and linux with no change to the code). But I'm all for trying out the aquaterm! Since Tk worked on Mac OS9, it might be possible that python/Tk could work without X (I had heard that it did, but wasn't necessarily easy to do, and believe that the Fink version of python requires X). If that's so, then with aquaterm/PGPLOT it might mean that command-line ifeffit and gifeffit could possibly work without X. Sounds like some work, though...
Has anyone tried to use Tcl/tk 8.4a4 with G.I.FEFFit?
Yes. G.I.FEFFIT works on MacOS X. Installing the python package from Fink and then building and installing the Ifeffit-python wrapper will install G.I.FEFFIT. --Matt
Hi Dr. Newville,
Yes, I just tried newplot() with PGPlot/AQT, not in rootless XFree86. Since I'm a new user, I've not tried many functions Wow! That's amazing! Thanks for the pointers on building this PGPLOT driver and using it with ifeffit. How does it compare with the X-Windows output?
I grabbed few screenshots and put them in http://homepage.mac.com/tsuchien/PhotoAlbum2.html. They seems fine to me.
As Paul pointed out:
... but now that I have gifeffit running, it is clear that it very much an X11 application and will be hard to change and currently all GUIs for ifeffit require X because they use the Tk widget set. A more native Mac GUI would be possible, but at ... Since Tk worked on Mac OS9, it might be possible that python/Tk could work without X (I had heard that it did, but wasn't
Thanks for clearing up my thought on G.I.FEFFIT. I just learn that GUI control in Cocoa is similar to uicontrol() in matlab (in some ways). To write a native GUI will be an interesting project, but my beamtime at BioCAT is next Wednesday. Hope I can find more time after that. Tsu-Chien <Chien>001000</Chien>
On Monday, March 11, 2002, at 09:45 AM, Tsu-Chien Weng wrote:
Hi Dr. Newville,
Yes, I just tried newplot() with PGPlot/AQT, not in rootless XFree86. Since I'm a new user, I've not tried many functions Wow! That's amazing! Thanks for the pointers on building this PGPLOT driver and using it with ifeffit. How does it compare with the X-Windows output?
I grabbed few screenshots and put them in http://homepage.mac.com/tsuchien/PhotoAlbum2.html. They seems fine to me.
As Paul pointed out:
... but now that I have gifeffit running, it is clear that it very much an X11 application and will be hard to change and currently all GUIs for ifeffit require X because they use the Tk widget set. A more native Mac GUI would be possible, but at ... Since Tk worked on Mac OS9, it might be possible that python/Tk could work without X (I had heard that it did, but wasn't
Thanks for clearing up my thought on G.I.FEFFIT. I just learn that GUI control in Cocoa is similar to uicontrol() in matlab (in some ways). To write a native GUI will be an interesting project, but my beamtime at BioCAT is next Wednesday. Hope I can find more time after that.
Tsu-Chien <Chien>001000</Chien>
A native interface would be a very nice thing. I have started studying Cocoa and have found what appears to be an excellent book on the subject that I thought I would pass along, namely " Cocoa: Programming for Mac OS X" by Aarn Hillegass. I have only read the first chapter or so, but I it looks like a very friendly environment (you can lean on the application frameworks very heavily). I still have no real idea how hard it would be to port gifeffit in some semi-automated way to Cocoa (gifeffit is still changing so incorporating changes in a reasonable time seems like an important priority.) Paul
Dr. Paul Fons Photonics Research Institute National Institute for Advanced Industrial Science and Technology Ministry of Economics and Trade Umezono 1-1-1 Tsukuba, Japan 305-8568 tel. 81-298-61-5636 fax. 81-298-61-5615 paul-fons@aist.go.jp Lines below are in Japanese 独立行政法人 産業技術総合研究所光技術部門 〒305-8568 茨城県つくば市梅園1-1-1 産総研つくば中央第2 E-mail: paul-fons@aist.go.jp, Tel. 0298-61-5636, Fax. 0298-61-5615
participants (3)
-
Dr. Paul Fons
-
Matt Newville
-
Tsu-Chien Weng