LAM/MPI logo

LAM/MPI General User's Mailing List Archives

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

From: ankit ashwinbhai patel (ankitpatel_1983_at_[hidden])
Date: 2006-11-15 08:04:10


In lam-mpi installation, for fortran i used intel fortran compiler and for c i used gcc and for c++ default one.But when i want to compile my program that i got following error . para.f and s*.f all files are manually coded for specific program. $ ifort -I /usr/local/include para.f s*.f /usr/local/lib/liblam.a -o a.out/tmp/ifortNq7EA2.o(.text+0x3e): In function `MAIN__\':: undefined reference to `mpi_init_\'/tmp/ifortNq7EA2.o(.text+0x54): In function `MAIN__\':: undefined reference to `mpi_comm_rank_\'/tmp/ifortNq7EA2.o(.text+0x6a): In function `MAIN__\':: undefined reference to `mpi_comm_size_\'/tmp/ifortNq7EA2.o(.text+0xd1): In function `MAIN__\':: undefined reference to `mpi_bcast_\'/tmp/ifortNq7EA2.o(.text+0x507): In function `MAIN__\':: undefined reference to `mpi_finalize_\'/tmp/ifortNq7EA2.o(.text+0x59b): In function `fiten_\':: undefined reference to `mpi_comm_rank_\'/tmp/ifortNq7EA2.o(.text+0x5b7): In function `fiten_\':: undefined reference to `mpi_comm_size_\'/tmp/ifortNq7EA2.o(.text+0x5fa): In fu
nction `fiten_\':: undefined reference to `mpi_bcast_\'/tmp/ifortNq7EA2.o(.text+0x7b0): In function `fiten_\':: undefined reference to `mpi_bcast_\'/tmp/ifortNq7EA2.o(.text+0xea6): In function `fiten_\':: undefined reference to `mpi_bcast_\'/tmp/ifortNq7EA2.o(.text+0x1732): In function `fiten_\':: undefined reference to `mpi_bcast_\'/tmp/ifortNq7EA2.o(.text+0x1f68): In function `fiten_\':: undefined reference to `mpi_bcast_\'/tmp/ifortNq7EA2.o(.text+0x2edd): In function `functx_\':: undefined reference to `mpi_comm_rank_\'/tmp/ifortNq7EA2.o(.text+0x2ef6): In function `functx_\':: undefined reference to `mpi_comm_size_\'/tmp/ifortNq7EA2.o(.text+0x31ab): In function `functx_\':: undefined reference to `mpi_bcast_\'/tmp/ifortNq7EA2.o(.text+0x31d7): In function `functx_\':: undefined reference to `mpi_bcast_\'/tmp/ifortNq7EA2.o(.text+0x3203): In function `functx_\':: undefined reference to `mpi_bcast_\'/tmp/ifortNq7EA2.o(.text+0x322f): In function `functx_\':: undefined reference to `mpi_bcast_\'/tmp/ifortNq7EA2
.
o(.text+0x325b): In function `functx_\':: undefined reference to `mpi_bcast_\'/tmp/ifortNq7EA2.o(.text+0x4706): In function `functx_\':: undefined reference to `mpi_send_\'/tmp/ifortNq7EA2.o(.text+0x4750): In function `functx_\':: undefined reference to `mpi_send_\'/tmp/ifortNq7EA2.o(.text+0x47aa): In function `functx_\':: undefined reference to `mpi_send_\'/tmp/ifortNq7EA2.o(.text+0x489a): In function `functx_\':: undefined reference to `mpi_recv_\'/tmp/ifortNq7EA2.o(.text+0x48f1): In function `functx_\':: undefined reference to `mpi_recv_\'/tmp/ifortNq7EA2.o(.text+0x493d): In function `functx_\':: undefined reference to `mpi_recv_\'/tmp/ifortNq7EA2.o(.text+0x4a15): In function `functx_\':: undefined reference to `mpi_send_\'/tmp/ifortNq7EA2.o(.text+0x4b77): In function `functx_\':: undefined reference to `mpi_send_\'/tmp/ifortNq7EA2.o(.text+0x4ff2): In function `functx_\':: undefined reference to `mpi_recv_\'/tmp/ifortNq7EA2.o(.text+0x5206): In function `functx_\':: undefined reference to `mpi_send_\'/tmp/
ifortNq7EA2.o(.text+0x5246): In function `functx_\':: undefined reference to `mpi_send_\'/tmp/ifortNq7EA2.o(.text+0x5286): In function `functx_\':: undefined reference to `mpi_send_\'/tmp/ifortNq7EA2.o(.text+0x53b3): In function `functx_\':: undefined reference to `mpi_send_\'/tmp/ifortNq7EA2.o(.text+0x7b9c): In function `functx_\':: undefined reference to `mpi_recv_\'/tmp/ifortNq7EA2.o(.text+0x7ff2): In function `functx_\':: undefined reference to `mpi_abort_\'/tmp/ifortNq7EA2.o(.text+0x8be9): In function `functx_\':: undefined reference to `mpi_bcast_\'/tmp/ifortNq7EA2.o(.text+0x8c15): In function `functx_\':: undefined reference to `mpi_bcast_\'/tmp/ifortNq7EA2.o(.text+0x8c41): In function `functx_\':: undefined reference to `mpi_bcast_\'/tmp/ifortNq7EA2.o(.text+0x8cc7): In function `functx_\':: undefined reference to `mpi_bcast_\'/tmp/ifortNq7EA2.o(.text+0x910f): In function `functx_\':: undefined reference to `mpi_bcast_\'Thanx in advance