Re: [AMBER] CUDA install fails due to undefined netcdf definitions

From: Daniel Roe <daniel.r.roe.gmail.com>
Date: Thu, 6 Jun 2013 15:26:45 -0600

Hi,

On Thu, Jun 6, 2013 at 9:28 AM, Matthew Wampole
<Matthew.Wampole.jefferson.edu> wrote:
> bintraj.F90:(.text+0x332): undefined reference to `__netcdf_MOD_nf90_put_var_1d_eightbytereal'
> bintraj.F90:(.text+0x35e): undefined reference to `__netcdf_MOD_nf90_sync'
> bintraj.F90:(.text+0x4ba): undefined reference to `__netcdf_MOD_nf90_put_var_1d_eightbytereal'
> bintraj.F90:(.text+0x4cf): undefined reference to `__netcdf_MOD_nf90_sync'

These errors make me think that for some reason the NetCDF install
process got messed up and the fortran 90 netcdf routines didn't make
it into the netcdf library. I would say first check out your
libnetcdf.a and make sure the nf90 symbols are in there:

nm $AMBERHOME/lib/libnetcdf.a | grep nf90

If nothing is output from this then for some reason the netcdf install
went wrong. I remember seeing this happen once on one of my machines a
while back but I couldn't track down why. I think the way I fixed it
was by going into the netcdf directory manually and doing a 'make
uninstall' or 'make distclean', then 'make install', e.g.

cd $AMBERHOME/AmberTools/src/netcdf/src
make uninstall
make install

If you still do not have nf90 symbols in your libnetcdf.a after this
then there may be a larger problem.

-Dan

-- 
-------------------------
Daniel R. Roe, PhD
Department of Medicinal Chemistry
University of Utah
30 South 2000 East, Room 201
Salt Lake City, UT 84112-5820
http://home.chpc.utah.edu/~cheatham/
(801) 587-9652
(801) 585-9119 (Fax)
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Thu Jun 06 2013 - 14:30:13 PDT
Custom Search