On Tue, 8 Feb 2005, Anthony Chan wrote:
chan/ts_C> a.out
fopen does not create any file.
Without linking with rts libraries, the above program works.
Its not the 'rts' libraries. blrts_xlc doesn't use any rts libraries.
And this example code gives the same error with it. [and the gcc cross
compiler]
login2 balay/junk> /bgl/BlueLight/DRV521_2004-050113/ppc/blrts-gnu/bin/powerpc-bgl-blrts-gnu-gcc file-test.c
login2 balay/junk> ./a.out
fopen does not create any file.
login2 balay/junk> blrts_xlc file-test.c
login2 balay/junk> ./a.out
fopen does not create any file.
login2 balay/junk>
I guess it just that - with crosscompiling [which is what we are doing
on the bgl] - you can't expect the binaries to run on the front end
node. trivial examples happen to run on the front-end nodes - due to
the many similarities between frontend/compute nodes.