AMBER Archive (2006)Subject: RE: AMBER: gfortran/gcc versus ifort/icc
From: Jordi Camps (jcamps_at_lsi.upc.edu)
Date: Wed Nov 15 2006 - 11:50:54 CST
Hello,
I'm trying to compile Amber 9 with NetCDF support, but I'm stuck with a
linking problem. I get Amber working without NetCDF support in the serial
flavour, but when I add the NetCDF flag, I get a bunch of unresolved
symbols.
Here is a snip of the first error lines:
../netcdf/lib/libnetcdf.a(netcdf.o): In function
`__netcdf__nf90_inq_libvers':
netcdf.f90:(.text+0x13): undefined reference to `nf_inq_libvers_'
../netcdf/lib/libnetcdf.a(netcdf.o): In function
`__netcdf__nf90_strerror':
netcdf.f90:(.text+0x47): undefined reference to `nf_strerror_'
../netcdf/lib/libnetcdf.a(netcdf.o): In function
`__netcdf__nf90_create':
netcdf.f90:(.text+0xaf): undefined reference to `nf__create_'
netcdf.f90:(.text+0xeb): undefined reference to `nf__create_'
netcdf.f90:(.text+0xf7): undefined reference to `nf_create_'
../netcdf/lib/libnetcdf.a(netcdf.o): In function
`__netcdf__nf90_enddef':
netcdf.f90:(.text+0x188): undefined reference to `nf_enddef_'
netcdf.f90:(.text+0x1f6): undefined reference to `nf__enddef_'
It is a linking problem, but I'm being unable to resolve the cause. I'm on a
x86_64 (Opteron) system running Linux and GCC (gfortran) compilers version
4.1.0.
Did you get this error before? Could you tell me how you will try to resolve
this issue?
Thanks in advance!
--
Jordi Camps Puchades
jcamps_at_lsi.upc.edu
Supercomputing research, support and development
Barcelona Supercomputing Center | Instituto Nacional de Bioinformática
| GNHC-2 UPC-CIRI
(http://inb.lsi.upc.edu)
http://www.bsc.es | http://www.inab.org
Tel. : 934 137 602 | Tel. : 934 037 155
Fax : 934 137 721 | Fax : 934 037 157
c/ Jordi Girona, 29 | c/ Josep Samitier, 1-5
Edifici Nexus II, despatx 1B | PCB, Edifici Modular, PBC32
E-08034 Barcelona | E-08028 Barcelona
Catalunya (Spain) | Catalunya (Spain)
-----------------------------------------------------------------------
The AMBER Mail Reflector
To post, send mail to amber_at_scripps.edu
To unsubscribe, send "unsubscribe amber" to majordomo_at_scripps.edu
|