[Ifeffit] Using FEFF8 with Artemis

Jeff Terry terryj at iit.edu
Sat May 26 10:08:58 CDT 2007

I am surprised that this is a problem with the Mac files. All of the  
command line feff8 builds for Mac OS X that  I have seen, output with  
the standard Unix file \n linefeeds that I believe ifeffit expects.

Scott, are you using one of the older Classic versions of feff8, I am  
surprised that anything compiled with gcc would output the old Mac  
style linefeeds?

Although, I agree with Matt that all the file formats should work  
without cleaning. I recently reanalyzed some older data that I had  
and used the tr program (translate) that Paul suggested to convert  
the old feff calculations to unix linefeeds.


On May 26, 2007, at 9:13 AM, Matt Newville wrote:

> Hi,
> I think the "line endings from other operating systems" should be
> something that is handled automatically  in the programs.    That is,
> one should be able to run Feff8 on a unix system and use the results
> on a Windows or Mac machine without having to "clean" the files.
> Ifeffit is already insensitive to data files and script files from
> foreign systems, but for some reason I cannot justify, Ifeffit still
> fails to read feff.dat files from other foreign systems.    I now have
> a fix for this (that works for me in one test case, and so needs some
> more testing!), so I'll release a 1.2.10 version with this fix soon
> (as soon as I have time to build and test a Windows dll).
> I'm sure it's easy for Artemis to automatically check and fix line
> ending problems for files.dat, etc.
> Sorry for the trouble,
> --Matt
> _______________________________________________
> Ifeffit mailing list
> Ifeffit at millenia.cars.aps.anl.gov
> http://millenia.cars.aps.anl.gov/mailman/listinfo/ifeffit

More information about the Ifeffit mailing list