LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Norman Lo (normanlo_at_[hidden])
Date: 2006-10-13 12:22:24


Thank you so much for your reply. I compiled all my code using the
version 4.0.2. I'm thinking some library maybe compiled with 3.2.3. Is
there a way to trace which one is using 3.2.3 ?

Thanks again,

Norman

Tim Prince wrote:

>Norman Lo wrote:
>
>
>>Hi,
>>
>>I'm trying to install a program which uses lam/mpi. When I compile the
>>.f file using mpif77. The error message is as follow:
>>
>>mpif77 -g -O2 -I/hivehomes/normanlo/pvm3/include -I../../src -I
>>-L/hivehomes/normanlo/pvm3/lib/LINUX
>>-L/hivehomes/normanlo/pvm3/lib/LINUX -L../../src
>>-L/usr/local/stow/gcc-4.0.2/lib -o fpvmblockdesc -lm
>>fpvm-blockdesc-ex.o -lgfortran -lICf77 -lIC -lm -lfpvm3 -lgpvm3 -lpvm3
>>-lmpi -lm
>>Unrecognised option -fexceptions passed to ld
>>Unrecognised option -pthread passed to ld
>>Unrecognised option -fexceptions passed to ld
>>/usr/lib/gcc-lib/i386-redhat-linux/3.2.3/../../../crt1.o(.text+0x18): In
>>function `_start':
>>: undefined reference to `main'
>>
>>
>
>Your submission shows you trying to combine gcc-3.2.3 and 4.0.2 with
>gfortran. This seems a particularly bad idea, given that 4.1 is the
>earliest recommended version of gfortran, and gcc doesn't guarantee
>compatibility between releases which differ in the middle figure, let
>alone the first.
>_______________________________________________
>This list is archived at http://www.lam-mpi.org/MailArchives/lam/
>
>