The program icon for artemis and athena is a short applescript application (that in turn calls a unix script). The source code is in the Ifeffit/applescript folder (the top level artemis is a compiled applescript applescript). It goes like this: display dialog "Please pick an output device" buttons {"X11 graphics", "Aquaterm"} default button "X11 graphics" set mydevice to the button returned of the result if mydevice contains "Aquaterm" then do shell script "/Applications/Ifeffit/bin/runprog -q -m -x -a artemis" else do shell script "/Applications/Ifeffit/bin/runprog -q -x -a artemis" end if As you can see depending on the answer received the script / Applications/Ifeffit/bin/runprog is invoked (with different options). The shell script runprog is a bourne shell script (written by Matt and hacked by me). The -m option just sets the environment variable PGPLOT_DEV to the value /AQT before ifeffit is invoked. The option list is: -a) app=$2 ; shift ;; -x) $open_x ;; -q) show_out=0 ;; -d) show_dir=1 ;; -m) device='/AQT' ;; *) files="$files $1" ;; It should be possible to invoke artemis with an aquaterm graphics output by using the line "/Applications/Ifeffit/bin/runprog -q -m -x - a artemis" (without the quotes) in an X11 window. Does this command work? I should add that some of the linking is dynamic (at runtime) and by installing other dynamic libraries, it is conceivable that aquaterm could get confused (but of course, I should say that I have never seen this on my machines and I install a lot of stuff). Hope this helps, Paul On Sep 14, 2006, at 9:34 PM, Stefano Ciurli wrote:
Hello Matt,
Did you try using /Applications/Ifeffit/bin/feff6 as the preferred feff executable in Artemis? That's what the error message was suggesting you try.
I did try, no success
Can you verify that you have /Applications/Ifeffit/bin/feff6?
verified, I do have it.
In the meantime I made an interesting discovery that some of you will certainly be able to explain:
If I launch Artemis using the double click on the application icon I DO get the error message and feff does not run, regardless of which application I choose for the graphics
However:
If I launch the program from the terminal window, I do not get the question on whether to choose Xwindow or Aquaterm, the default being apparently Xwindow PGPLOT, and everything runs smoothly.
So, what is the origin of the error message that I get when I launch the program from the icon?
Stefano -- ____________________________________________
Stefano Ciurli Professor of Chemistry Laboratory of Bioinorganic Chemistry Department of Agro-Environmental Science and Technology University of Bologna Viale Giuseppe Fanin, 40 I-40127 Bologna Italy Phone: +39-051-209-6204 Fax: +39-051-209-6203
"Fatti non foste a viver come bruti, ma per seguir virtute e canoscenza" Dante Alighieri - Inferno - Canto XXVI
"Ihr seid bestimmt, nicht Tieren gleich zu leben, Nein, Tugend zu erringen und Erkenntnis" "Ye were not form'd to live the life of brutes, But virtue to pursue and knowledge high" _______________________________________________ Ifeffit mailing list Ifeffit@millenia.cars.aps.anl.gov http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit