[mpich-discuss] mpif90 and mpicc problems
Rajeev Thakur
thakur at mcs.anl.gov
Wed Sep 10 09:55:41 CDT 2008
This has been fixed in the SVN trunk.
Rajeev
_____
From: owner-mpich-discuss at mcs.anl.gov
[mailto:owner-mpich-discuss at mcs.anl.gov] On Behalf Of linzhenhua
Sent: Saturday, September 06, 2008 9:49 AM
To: mpich-discuss at mcs.anl.gov
Subject: Re:RE: [mpich-discuss] mpif90 and mpicc problems
I think I have also got similiar message when I just begin to try mpich2. It
bother me for quite some time.
Later I know if I just type the command without source file,there will be
such errors. I think it will be better if the developers can change this
default behavior when typing the command without source file.
--
在2008-09-06,"Rajeev Thakur" <thakur at mcs.anl.gov> 写道:
>Did you try to compile a program with mpicc/mpif90, i.e., "mpicc foo.c" or
>"mpif90 foo.f90"? If you just run "mpicc" or "mpif90", you will get
>something like the messages below.
>
>Do the example programs in the examples and examples/f90 directories
>compile?
>
>Rajeev
>
>
>
>> -----Original Message-----
>> From: owner-mpich-discuss at mcs.anl.gov
>> [mailto:owner-mpich-discuss at mcs.anl.gov] On Behalf Of jcrosby
>> Sent: Friday, September 05, 2008 9:34 AM
>> To: mpich-discuss at mcs.anl.gov
>> Subject: [mpich-discuss] mpif90 and mpicc problems
>>
>> Good morning,
>>
>> I'm having a few problems getting mpif90 and mpicc to work.
>> Whenever I run them I get the following errors:
>> MPIF90:
>> /opt/intel/fc/10.1.015/lib/for_main.o: In function `main':
>> /users/nbtester/x86linux_nightly/branch-10_1/20080313_000000/l
>> ibdev/frtl/src/libfor/for_main.c:(.text+0x39):
>> undefined reference to `MAIN__'
>>
>> MPICC:
>> /usr/lib/gcc/i486-linux-gnu/4.2.3/../../../../lib/crt1.o: In function
>> `_start':
>> (.text+0x18): undefined reference to `main'
>> collect2: ld returned 1 exit status
>>
>>
>> --
>> Joseph Crosby
>> Network Administrator
>> Scotia Weather Service Inc.
>> netadmin at scotiaweather.com
>> -----------
>> A byte walks into a bar and orders a pint. Bartender asks him
>> "What's wrong?" Byte says "Parity error." Bartender nods and
>> says "Yeah, I thought you looked a bit off."
>>
>>
>
_____
超大花房赠送,60万轻松入住顺鑫花语
<http://popme.163.com/link/003984_0905_5286.html>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20080910/c38af7ef/attachment.htm>
More information about the mpich-discuss
mailing list