Re: [AMBER] amber11 Installation Test Failures

From: Tru Huynh <tru.pasteur.fr>
Date: Sun, 20 Mar 2011 01:30:40 +0100

On Tue, Mar 15, 2011 at 09:08:04PM -0500, David Cantu wrote:
> By the way, this is the error that came out during the "make serial"
> command:
>
> ../netcdf/lib/libnetcdf.a(netcdf.o): In function
> `__netcdf_MOD_nf90_rename_var':
> netcdf.f90:(.text+0x1b73): undefined reference to `nf_rename_var_'
> collect2: ld returned 1 exit status
> make[1]: *** [sander] Error 1
> make[1]: Leaving directory
> `/working002b/chem_eng3/dcantu/amber11/src/sander'
> make: *** [serial] Error 2
>
> Thanks,
>
I don't recall the reason, but I had to fix the netcdf/config.h to make it built
with the gcc44 compilers (after patching the configure script).


[tru.sillage src]$ diff -uNr config.h-automatic config.h
--- config.h-automatic 2010-11-02 14:45:37.000000000 +0100
+++ config.h 2010-11-02 21:06:10.000000000 +0100
.@ -198,10 +198,10 @@
 /* #undef const */

 /* Turned on by netCDF configure. */
-#define f2cFortran 1
+/* #undef f2cFortran */

 /* Turned on by netCDF configure. */
-/* #undef gFortran */
+#define gFortran 1

 /* Define to `long' if <sys/types.h> does not define. */
 /* #undef off_t */

my 2 cents

Tru
-- 
Dr Tru Huynh          | http://www.pasteur.fr/recherche/unites/Binfs/
mailto:tru.pasteur.fr | tel/fax +33 1 45 68 87 37/19
Institut Pasteur, 25-28 rue du Docteur Roux, 75724 Paris CEDEX 15 France  
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Sat Mar 19 2011 - 18:00:02 PDT
Custom Search