[Ifeffit] compiling feff with g77 on linux : Error opening file, s2_em.dat in module sigem

jroux jroux at admin.cnrs-orleans.fr
Thu Aug 21 04:49:57 CDT 2003


I solved a small problem of portability of feff under linux/g77 for a friend. 

%< - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
Error opening file, s2_em.dat in module sigem
Fatal error
STOP CHOPEN statement executed
%< - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

g77 is usually compiled so that the maximum fortran unit number is 99.
Unit numbers 111 112 and 113 are used in the feff code this is OK for some 
compilers but NOT pristine g77 and should be replaced by
some lower numbers. I tried 91 92 93 and this fixes the problem. 

-- 
Jacques Roux, (jroux at cnrs-orleans.fr)
CNRS-ISTO, 1A rue de la Férollerie
45071 Orléans cedex 2
tel: (33|0) 238 25 53 99



More information about the Ifeffit mailing list