<div>Hi,</div>Thanks for the reply.<div><br></div><div>It now steps further according to your suggestions and also </div><div>the error messages. I added two more parameters:</div><div><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Lucida Grande">
--host xsim --with-cross=xc_datatypes</p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Lucida Grande">The file, xc_datatypes, is generated by compiling the program maint/getcross.c .</p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Lucida Grande">
The configuration now stops at an error:</p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Lucida Grande">configure: error: No timer found</p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Lucida Grande">
Anyone has ideas?</p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Lucida Grande"><br></p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Lucida Grande">wl</p><br><div class="gmail_quote">On Sat, Jul 18, 2009 at 10:12 PM, Pavan Balaji <span dir="ltr"><<a href="mailto:balaji@mcs.anl.gov">balaji@mcs.anl.gov</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br>
This part is actually done by autoconf, and not by MPICH2 itself. So, I don't know how it can be changed. Maybe some autoconf experts can chime in?<br>
<br>
In the meanwhile, is there a way for you to change the compiler's default output name? One way is to create a wrapper that does something like:<br>
<br>
$ cat wrapper_cc<br>
xcc $@ && if [ -e a.xe ] ; then mv a.xe a.out ; fi<br>
<br>
This will create an "a.out" output file instead of "a.xe".<br><font color="#888888">
<br>
-- Pavan</font><div class="im"><br>
<br>
On 07/18/2009 04:01 PM, samantha lin wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
<br>
The compilation is done correctly and the output file is "a.xe" rather than "a.out".<br>
Moreover, the executable file should run on a simulator.<br>
That is:<br>
$xsim a.xe<br>
Is it possible to change the configure to get this supported? <br>
wl<br></div><div class="im">
On Sat, Jul 18, 2009 at 9:44 PM, Pavan Balaji <<a href="mailto:balaji@mcs.anl.gov" target="_blank">balaji@mcs.anl.gov</a> <mailto:<a href="mailto:balaji@mcs.anl.gov" target="_blank">balaji@mcs.anl.gov</a>>> wrote:<br>
<br>
<br>
Does this simple problem work correctly for you:<br>
<br>
$ cat conftest.c<br>
int main()<br>
{<br>
return 0;<br>
}<br>
<br>
$ xcc -target=XS1-G4B-FB512 conftest.c<br>
<br>
$ ./a.out<br>
<br>
-- Pavan<br>
<br>
<br>
On 07/18/2009 03:39 PM, samantha lin wrote:<br>
<br>
Hi,<br>
<br>
Sorry, still got problem when re-building the libraries. Here is<br>
the error message:<br>
<br>
checking for C compiler default output file name... configure:<br>
error: C compiler cannot create executables<br>
See `config.log' for more details.<br>
<br>
The compiler should be able to produce executables as I saw<br>
a file generated which is "a.xe". I added the log file to this<br>
email. Hope someone can help. Thanks.<br>
<br>
wl<br>
<br>
On Sat, Jul 18, 2009 at 8:17 PM, Pavan Balaji<br>
<<a href="mailto:balaji@mcs.anl.gov" target="_blank">balaji@mcs.anl.gov</a> <mailto:<a href="mailto:balaji@mcs.anl.gov" target="_blank">balaji@mcs.anl.gov</a>><br></div><div class="im">
<mailto:<a href="mailto:balaji@mcs.anl.gov" target="_blank">balaji@mcs.anl.gov</a> <mailto:<a href="mailto:balaji@mcs.anl.gov" target="_blank">balaji@mcs.anl.gov</a>>>> wrote:<br>
<br>
<br>
To replace the C compiler with foo, you can do<br>
<br>
$ CC=foo ./configure<br>
<br>
For C++, Fortran 77 and Fortran 90, you can use CXX, F77 and F90<br>
respectively.<br>
<br>
-- Pavan<br>
<br>
<br>
On 07/18/2009 02:04 PM, samantha lin wrote:<br>
<br>
Hi,<br>
<br>
Is it possible to build the mpi libraries by a compiler<br>
which isn't<br>
assigned by the configure file?<br>
<br>
Thanks,<br>
WL<br>
<br>
<br>
-- Pavan Balaji<br>
<a href="http://www.mcs.anl.gov/~balaji" target="_blank">http://www.mcs.anl.gov/~balaji</a><br>
<br>
<br>
<br>
-- Pavan Balaji<br>
<a href="http://www.mcs.anl.gov/~balaji" target="_blank">http://www.mcs.anl.gov/~balaji</a><br>
<br>
<br>
</div></blockquote><div><div></div><div class="h5">
<br>
-- <br>
Pavan Balaji<br>
<a href="http://www.mcs.anl.gov/~balaji" target="_blank">http://www.mcs.anl.gov/~balaji</a><br>
</div></div></blockquote></div><br></div>