ScaLAPACK Archives

[Scalapack] scalapack istaller problem

You are using mpif77 from Open MPI with the fortran Intel compiler beneath. I 
think you need to add the -nofor_main flag after the mpif77 command. Cheers, 

On Oct 27, 2011, at 1:54 AM, wu peter wrote:

            I try the scalapack installer-0.96. But it does not work.The 
problem is below.
            Thanks for your help.                                             

Selected loader flags (C main):
Selected loader flags (F77 main):
Selected NOOPT flags:
Checking loader...

COMMON: in check_linking: cannot link
            Cannot link a C main program to a Fortran77 subroutine
            Make sure that the appropriate flags are passed to the linker.
command is:  /home/peter/openmpi-1.4.3/bin/mpif77  -o lnk tmpf.o tmpc.o
error is:
tmpc.o: In function `main':
tmpc.c:(.text+0x0): multiple definition of `main'
 first defined here
ld: Warning: size of symbol `main' changed from 80 in 
/home/peter/intel/Compiler/11.1/080/lib/intel64/for_main.o to 7 in tmpc.o
/home/peter/intel/Compiler/11.1/080/lib/intel64/for_main.o: In function `main':
 undefined reference to `MAIN__

Scalapack mailing list

-------------- next part --------------
An HTML attachment was scrubbed...

<Prev in Thread] Current Thread [Next in Thread>

For additional information you may use the LAPACK/ScaLAPACK Forum.
Or one of the mailing lists, or