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

From: Jason Swails <jason.swails.gmail.com>
Date: Thu, 24 Feb 2011 13:03:15 -0500

Hi Ben,

Try making a symlink from /usr/include/malloc/malloc.h to
/usr/include/malloc.h

--Jason

On Thu, Feb 24, 2011 at 1:01 PM, Ben Roberts <ben.roberts.geek.nz> wrote:

> 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
>
>


-- 
Jason M. Swails
Quantum Theory Project,
University of Florida
Ph.D. Candidate
352-392-4032
_______________________________________________
AMBER-Developers mailing list
AMBER-Developers.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber-developers
Received on Thu Feb 24 2011 - 10:30:06 PST
Custom Search