[Wien] little fortran question

Dr. Sharat Chandra sharat at igcar.ernet.in
Tue Aug 31 14:09:52 CEST 2004


Reorder them as the compiler suggests. In the common block, the member 
names need to be written in a different order.

Regards
Sharat

On Tue, 31 Aug 2004, koitzsch wrote:

> Hi Everybody,
> 
> I have a question, which is not so much Wien-related but more a question to somebody that knows Fortran well. I hope you don't mind if we abuse the mailing list for that, I just hoped some of you might know the answer to our problem, we would really appreciate that.
> 
> I am trying to transfer an old scattering code from VAX to Linux. Upon compilation with f77 the comiler complains about common block formats:
> "Padding of 4 bytes required in common block -consider reordering members, largest-type-size first"
> 
> Does anybody of you know what I can do about that? 
> 
> Thanks a lot
> 
> Christian Koitzsch
> 
> Université de Neuchâtel
> Institut de Physique
> Electron Spectroscopy Group
> Christian Koitzsch
> Rue A.-L. Breguet 1
> CH-2000 Neuchâtel
> e-mail : Christian.Koitzsch at gmx.ch
> Tel. : +41 32 718 2891
> Fax.: +41 32 718 2901

-- 
Dr. Sharat Chandra %%%%%%%% _ %%%%%%%%%%%% ___ %%%%%% Home Address %%%%%%%
Materials Science Division (_) ___   ___  / _ \  ___  DAE Township
Indira Gandhi Centre for   | |/ _ \ / __\| |_| |' _ \ 183, Central Avenue
Atomic Research            | | (_) | |__,|  _  | | \| Kalpakkam
Kalpakkam 603102 TN INDIA  |_|\__/ |\___/|_| |_|_|    603102 TN INDIA
Phone:    +91 4114 280347     / /| | %%%%%%%%%%%%%%%% +91 4114 281521
email: sharat at igcar.ernet.in | |_| | %%%%%%%%%%%%%%%% sharat_c at yahoo.com
%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \___/ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%




More information about the Wien mailing list