[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bgl-discuss] blrts_xlc and configure



Satish Balay wrote:

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.



So is hacking an apps' configure and/or source the only way to port that app? If I run configure with --host and --target options, a number of variables used are not defined... Sounds very app-specific, but I was hoping there may be some more general approach or FAQ-like info.


Boyana

Satish




- -------------------------------------------------------------------- To add or remove yourself from this mailing list, use the 'notifyme' command on any BGL machine. To remove: notifyme -n, to add: notifyme -y.