Re: [AMBER-Developers] Current build fail with amber11CVS

From: Daniel Roe <daniel.r.roe.gmail.com>
Date: Thu, 4 Mar 2010 08:17:49 -0500

This seems to be happening because icc can't find the fortran routines it
needs. Adding a -L flag with the directory to your fortran library
directory, something like e.g.

 icc -o ptraj main.o rdparm.o dispatch.o help.o utility.o second.o io.o
trajectory.o netcdf_ptraj.o parallel_ptraj.al.o ptraj.o actions.o analyze.o
thermo.o pubfft.o cluster.o clusterLib.o* -L/opt/intel/fce/10.1.015/lib* ...

before all of the libraries seems to do the trick. I'm not sure what the
best way to correct this in the Makefile/configure script is.

-Dan

On Thu, Mar 4, 2010 at 6:04 AM, Mark Williamson <mjw.sdsc.edu> wrote:

> Fresh checkout of the amber11 cvs tree as of Thu Mar 4 02:57:47 PST 2010
>
>
> ifort 10.1.018
> RHEL4.8 X86_64
>
> ./configure intel ; make -f Makefile_at
> <...snip....>
>
> icc -o rdparm main.o rdparm.o dispatch.o help.o utility.o second.o io.o
> trajectory.o netcdf_ptraj.o parallel_ptraj.o evec.o torsion.o mask.o rms.o
> display.o interface.o energy.o experimental.o ptraj.o actions.o analyze.o
> thermo.o pubfft.o cluster.o clusterLib.o
> /server-home/mjw/code/AMBER/amber11/lib/libpdb.a
> /server-home/mjw/code/AMBER/amber11/lib/arpack.a
> /server-home/mjw/code/AMBER/amber11/lib/lapack.a
> /server-home/mjw/code/AMBER/amber11/lib/blas.a -lifport -lifcore -lsvml
> ../netcdf/lib/libnetcdf.a -lm
> thermo.o(.text+0x475): In function `thermo_':
> : undefined reference to `for_write_seq_fmt'
> thermo.o(.text+0x4c0): In function `thermo_':
>
> <....etc....>
>
> /server-home/mjw/code/AMBER/amber11/lib/blas.a(xerbla.o)(.text+0x75): In
> function `xerbla_':
> : undefined reference to `for_stop_core'
> make[1]: *** [rdparm] Error 1
> make[1]: Leaving directory `/server-home/mjw/code/AMBER/amber11/src/ptraj'
> make: *** [serial] Error 2
>
> Any ideas?
>
> Mark
>
>
> _______________________________________________
> AMBER-Developers mailing list
> AMBER-Developers.ambermd.org
> http://lists.ambermd.org/mailman/listinfo/amber-developers
>
_______________________________________________
AMBER-Developers mailing list
AMBER-Developers.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber-developers
Received on Thu Mar 04 2010 - 05:30:04 PST
Custom Search