List Info

Thread: LAM: trouble compiling MPI version of VH-1




LAM: trouble compiling MPI version of VH-1
user name
2006-07-27 19:27:23
I removed the -lmpi linking part from my Makefile and now
all those errors are
gone, except that I get these errors now: 
vhone.o(.text+0xb44): In function `MAIN__':
: undefined reference to `rtc_'
vhone.o(.text+0x1021): In function `MAIN__':
: undefined reference to `rtc_'
collect2: ld returned 1 exit status
make: *** [vhone] Error 1

Here's how my updated Makefile's link section looks like:
F77 = mpif77                             # name of f77
compiler
FFLAGS = -c -I/opt/lam7.0.6/include #-I/opt/hdf/include    #
-02 optimization
LDR = mpif77                             # name of linker
LDRFLAGS =                               #
LIBS = -I/opt/hdf/lib -lmfhdf -ldf -ljpeg -lz #

Any ideas??

Thanks
Nanda
> Hi
> I am new to MPI and i am tring to compile MPI version
of VH-1 code. I modified
> the Makefile according to my system but I get errors
probably related to MPI
> linkage problem. Here's one of such repeating errors. 
> 
>
/usr/lib/gcc/x86_64-redhat-linux/3.4.3/../../../../lib64/lib
mpi.a(lamtest.o)(.text+0x20e):

> In function `lam_test':
> : undefined reference to `_kio'
> collect2: ld returned 1 exit status
> make: *** [vhone] Error 1
> 
> Here's how my Makefile's library info looks like:
> 
> F77 = mpif77                             # name of f77
compiler
> FFLAGS = -c -I/opt/lam7.0.6/include     # -02
optimization
> LDR = mpif77                             # name of
linker
> LDRFLAGS =                               #
> LIBS = -lmpi -I/usr/lib -lmfhdf -ldf -ljpeg -lz #
> 
> Can you please help me out here,
> thanks!!
> 
> ---------------------------------------------
> This message was sent using Endymion MailMan.
> http://www.
endymion.com/products/mailman/
> 
> 
> _______________________________________________
> This list is archived at http://www.l
am-mpi.org/MailArchives/lam/
> 


---------------------------------------------
This message was sent using Endymion MailMan.
http://www.
endymion.com/products/mailman/


_______________________________________________
This list is archived at http://www.l
am-mpi.org/MailArchives/lam/
LAM: trouble compiling MPI version of VH-1
user name
2006-07-28 21:10:46
Sounds like you did the Right thing to fix your LAM
problems.  The missing
rtc_ symbols do not look LAM- or MPI-related -- perhaps you
need to add
-lrtc somewhere in your library list...?

You might want to contact the VH-1 developers for more
assistance.

Hope that helps.



On 7/27/06 3:27 PM, "nandaycsmail.cs.siu.edu"
<nandaycsmail.cs.siu.edu>
wrote:

> I removed the -lmpi linking part from my Makefile and
now all those errors are
> gone, except that I get these errors now:
> vhone.o(.text+0xb44): In function `MAIN__':
> : undefined reference to `rtc_'
> vhone.o(.text+0x1021): In function `MAIN__':
> : undefined reference to `rtc_'
> collect2: ld returned 1 exit status
> make: *** [vhone] Error 1
> 
> Here's how my updated Makefile's link section looks
like:
> F77 = mpif77                             # name of f77
compiler
> FFLAGS = -c -I/opt/lam7.0.6/include #-I/opt/hdf/include
   # -02 optimization
> LDR = mpif77                             # name of
linker
> LDRFLAGS =                               #
> LIBS = -I/opt/hdf/lib -lmfhdf -ldf -ljpeg -lz #
> 
> Any ideas??
> 
> Thanks
> Nanda
>> Hi
>> I am new to MPI and i am tring to compile MPI
version of VH-1 code. I
>> modified
>> the Makefile according to my system but I get
errors probably related to MPI
>> linkage problem. Here's one of such repeating
errors.
>> 
>> 
>
/usr/lib/gcc/x86_64-redhat-linux/3.4.3/../../../../lib64/lib
mpi.a(lamtest.o)(.
> text+0x20e):
> 
>> In function `lam_test':
>> : undefined reference to `_kio'
>> collect2: ld returned 1 exit status
>> make: *** [vhone] Error 1
>> 
>> Here's how my Makefile's library info looks like:
>> 
>> F77 = mpif77                             # name of
f77 compiler
>> FFLAGS = -c -I/opt/lam7.0.6/include     # -02
optimization
>> LDR = mpif77                             # name of
linker
>> LDRFLAGS =                               #
>> LIBS = -lmpi -I/usr/lib -lmfhdf -ldf -ljpeg -lz #
>> 
>> Can you please help me out here,
>> thanks!!
>> 
>> ---------------------------------------------
>> This message was sent using Endymion MailMan.
>> http://www.
endymion.com/products/mailman/
>> 
>> 
>> _______________________________________________
>> This list is archived at http://www.l
am-mpi.org/MailArchives/lam/
>> 
> 
> 
> ---------------------------------------------
> This message was sent using Endymion MailMan.
> http://www.
endymion.com/products/mailman/
> 
> 
> _______________________________________________
> This list is archived at http://www.l
am-mpi.org/MailArchives/lam/


-- 
Jeff Squyres
Server Virtualization Business Unit
Cisco Systems
_______________________________________________
This list is archived at http://www.l
am-mpi.org/MailArchives/lam/
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )