Re: [AMBER-Developers] building issues with cray systems (really just PGI compilers?)

From: Daniel Roe <>
Date: Mon, 10 Jan 2011 18:44:44 -0500


On Mon, Jan 10, 2011 at 4:44 PM, Jason Swails <> wrote:
> The first cpptraj issue is that Makefile_at had hard-coded -Wall into the

Fixed - I don't normally test with PGI compilers so I didn't catch
this. I like having -Wall on in general.

> or something?).  However, after I took that out, I got the following error:
> CC -c -I/nics/d/home/swails/amber/include -O2 -D_FILE_OFFSET_BITS=64
> PtrajFile.cpp
> /opt/cray/xt-asyncpe/4.0/bin/CC: INFO: linux target is being used
> "/usr/include/glob.h", line 175: error: more than one instance of overloaded
>          function "glob64" has "C" linkage

Also fixed. It seems that the PGI compilers don't like when glob.h is
specified, so I wrapped all glob-related functionality in #ifndef
__PGI defines. The only issue with this is small; cpptraj won't be
able to do tilde expansions etc on filenames when compiled with PGI

Thanks Jason for testing the code and catching these.


AMBER-Developers mailing list
Received on Mon Jan 10 2011 - 16:00:04 PST
Custom Search