[mpich-discuss] mpif90 and mpicc problems

Anthony Chan chan at mcs.anl.gov
Fri Sep 5 11:24:57 CDT 2008


do mpif90 and mpicc ever work since you install mpich2 ?

A.Chan
----- "jcrosby" <jcrosby at scotiaweather.com> wrote:

> 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/libdev/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."




More information about the mpich-discuss mailing list