LAM/MPI logo

LAM/MPI General User's Mailing List Archives

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

From: Tim Prince (tprince_at_[hidden])
Date: 2005-06-28 07:47:01


Chris Fletcher wrote:

>Dear lam-list
>
>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
>
>
>
-lcprts wouldn't be right, unless you configured lam with CXXFLAGS
including -cxxlib-icc and --with-cxx=icpc. I've never seen it done that
way, nor do I know whether anyone has checked for compatibility of
Dinkumware libraries with lam. Normally, if you are actually using the
C++ stuff, and want better performance, you wouldn't take the trouble to
use -lcprts rather than -lstdc++. Just checking.