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, 
Julien.



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

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


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'
/home/peter/intel/Compiler/11.1/080/lib/intel64/for_main.o:/export/users/nbtester/efi2linux_nightly/branch-11_1/20101202_010000/libdev/frtl/src/libfor/for_main.c:(.text+0x0):
 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':
/export/users/nbtester/efi2linux_nightly/branch-11_1/20101202_010000/libdev/frtl/src/libfor/for_main.c:(.text+0x38):
 undefined reference to `MAIN__

_______________________________________________
Scalapack mailing list
Scalapack@Domain.Removed<mailto:Scalapack@Domain.Removed>
http://lists.eecs.utk.edu/mailman/listinfo/scalapack

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://lists.eecs.utk.edu/mailman/private/scalapack/attachments/20111028/9877a919/attachment.html
 

<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