Dear All, Finally this issue is solved by one of my students, Philip Clapham .
Assume we have an array which is declared as an allocatable array. When this array is used without explicit allocation of memory by mistake, ifort and gfortran implicitly allocate the memory in a different way. ifort gives the size of 0 and gfortran gives the size of 1 This was very difficult to track using the debuggers and we actually put the manual check line by line... Anyway thank you very much indeed for all of your help on this issue. Have a lovely and long Easter weekend :-) Best wishes, Fumie f.cos...@cs.man.ac.uk wrote: > Dear Mark, Dmitri, Xavier, Dave, and Tom, > thank you very much for your suggestions. > First of all, I tried the compilation > with -fbounds-check option and I did not get any error > message. > When I checked the site http://gcc.gnu.org/wiki/GFortran > our gfortran which shows: > fu...@e3sfc32:~/ngs-fdcn-code> gfortran --version > GNU Fortran (GCC) 4.4.0 20081011 (experimental) [trunk revision 141054] > Copyright (C) 2008 Free Software Foundation, Inc. > seems to be the latest now. > > There is no file to read in as this is the > very primitive code for the new algorithm test, > not the production code(=reference code). > > We are going to try to learn gdb so that > we can understand where the segfault comes from. > > I will keep you updated. > Thank you very much for your help > Best wishes, Fumie > _______________________________________________ Beowulf mailing list, Beowulf@beowulf.org sponsored by Penguin Computing To change your subscription (digest mode or unsubscribe) visit http://www.beowulf.org/mailman/listinfo/beowulf