LAM/MPI logo

LAM/MPI General User's Mailing List Archives

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

From: Ralf Wildenhues (Ralf.Wildenhues_at_[hidden])
Date: 2005-06-29 03:36:29


Hi Chris,

* Chris Fletcher wrote on Tue, Jun 28, 2005 at 02:01:35AM CEST:
>
> I am compiling an atmospheric model, with the following set up:
> Fedora Core 3, LAM-7.1.1, Intel C and Fortran compilers v8.1. I've used
> mpif77 to get the following to pass to ifort:
> LDFLAGS = -L/usr/local/lib -lnetcdf -L/usr/local/lib -llammpio -
> llamf77mpi -lmpi -lcprts -llam -laio -lutil -ldl
>
> The compilation is failing at the linking stage with the following (a
> sample of many such errors):
> /my/dir/% ifort [.o file list] -o output.x $LDFLAGS
> <...CUT...>
> mpp_util.o(.text+0x17b2): In function `mpp_util_mod_mp_mpp_node_':
> : undefined reference to `mld_id_'
> <...CUT...>
> mpp_io_read.o(.text+0x16e5): In function
> `mpp_io_read_mod_mp_read_record_':
> : undefined reference to `nf_get_vara_double_'
> <...CUT...>
*snip*

Which Autoconf version was used to create the "configure" script of that
atmosphere software package? Its configure output and config.log are of
interest -- most likely you are also in need of a patch against
Autoconf's _AC_PROG_FC_V_OUTPUT macro which went in post 2.59.

Note that most likely, this discussion does not belong to the LAM list.
I would not know where better, though, at least until you name the other
package. :)

Regards,
Ralf