Re: [AMBER-Developers] Compiling AmberTools mdgx and netcdf problem

From: Ben Roberts <ben.roberts.geek.nz>
Date: Thu, 24 Feb 2011 13:01:22 -0500

Hi Dan,

On 24/2/2011, at 11:56 a.m., Daniel Roe wrote:

> Hi,
>
> The AmberNetcdf in the AmberTools/sff directory is the one that mdgx
> needs. I'm not sure why the #include directive doesn't point to it. If
> I change
>
> #include "AmberNetcdf.h"
>
> to
>
> #include "../sff/AmberNetcdf.h"
>
> everything compiles fine. I've pushed this change into the tree. Try
> compiling again, let me know if it's still broken.

I just tried checking out your changes (and other recent ones), and got this:

(cd xtalutil/CPrograms/ && make install )
icc -c -ip -O3 -xHost -axSSE4.1,SSSE3 -DBINTRAJ -DHASGZ -DHASBZ2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DBINTRAJ -o AddToBox.o AddToBox.c -I../Clibs/
cd ../Clibs && make install
icc -c -ip -O3 -xHost -axSSE4.1,SSSE3 -DBINTRAJ -DHASGZ -DHASBZ2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DBINTRAJ -o crdmanip.o crdmanip.c
icc -c -ip -O3 -xHost -axSSE4.1,SSSE3 -DBINTRAJ -DHASGZ -DHASBZ2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DBINTRAJ -o grid.o grid.c
icc -c -ip -O3 -xHost -axSSE4.1,SSSE3 -DBINTRAJ -DHASGZ -DHASBZ2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DBINTRAJ -o listRead.o listRead.c
icc -c -ip -O3 -xHost -axSSE4.1,SSSE3 -DBINTRAJ -DHASGZ -DHASBZ2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DBINTRAJ -o matrix.o matrix.c
matrix.c(2): catastrophic error: could not open source file "malloc.h"
  #include <malloc.h>

-- 
For greater security, I support S/MIME encryption.



_______________________________________________
AMBER-Developers mailing list
AMBER-Developers.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber-developers

Received on Thu Feb 24 2011 - 10:30:04 PST
Custom Search