[mpich-discuss] building libraries

samantha lin wl8150 at googlemail.com
Sat Jul 18 16:01:10 CDT 2009


The compilation is done correctly and the output file is "a.xe" rather than
"a.out".Moreover, the executable file should run on a simulator.
That is:
$xsim a.xe
Is it possible to change the configure to get this supported?

wl
On Sat, Jul 18, 2009 at 9:44 PM, Pavan Balaji <balaji at mcs.anl.gov> wrote:

>
> Does this simple problem work correctly for you:
>
> $ cat conftest.c
> int main()
> {
>        return 0;
> }
>
> $ xcc -target=XS1-G4B-FB512 conftest.c
>
> $ ./a.out
>
>  -- Pavan
>
> On 07/18/2009 03:39 PM, samantha lin wrote:
>
>> Hi,
>>
>> Sorry, still got problem when re-building the libraries. Here is the error
>> message:
>>
>> checking for C compiler default output file name... configure: error: C
>> compiler cannot create executables
>> See `config.log' for more details.
>>
>> The compiler should be able to produce executables as I saw
>> a file generated which is "a.xe".  I added the log file to this email.
>> Hope someone can help. Thanks.
>>
>> wl
>>
>> On Sat, Jul 18, 2009 at 8:17 PM, Pavan Balaji <balaji at mcs.anl.gov<mailto:
>> balaji at mcs.anl.gov>> wrote:
>>
>>
>>    To replace the C compiler with foo, you can do
>>
>>     $ CC=foo ./configure
>>
>>    For C++, Fortran 77 and Fortran 90, you can use CXX, F77 and F90
>>    respectively.
>>
>>     -- Pavan
>>
>>
>>    On 07/18/2009 02:04 PM, samantha lin wrote:
>>
>>        Hi,
>>
>>        Is it possible to build the mpi libraries by a compiler which isn't
>>        assigned by the configure file?
>>
>>        Thanks,
>>        WL
>>
>>
>>    --    Pavan Balaji
>>    http://www.mcs.anl.gov/~balaji
>>
>>
>>
> --
> Pavan Balaji
> http://www.mcs.anl.gov/~balaji
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20090718/04b07936/attachment.htm>


More information about the mpich-discuss mailing list