Re: [AMBER] ambertools1.4 install problem

From: Anuradha Mittal <anuradha.mittal.gmail.com>
Date: Fri, 17 Sep 2010 10:17:08 -0500

On Fri, Sep 17, 2010 at 7:09 AM, case <case.biomaps.rutgers.edu> wrote:

> On Thu, Sep 16, 2010, Anuradha Mittal wrote:
>
> > mpicc -c -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DBINTRAJ -DMPI -o
> > wallclock.o wallclock.c
> > wallclock.c(25): error: incomplete type is not allowed
> > struct timezone tz;
> > ^
>
> This is a pretty weird error, that I have never seen before. I'm
> assuming(?)
> that this compiled file when you did your serial installation.
>

Yes, the file compiled fine serially.


> What does "mpicc -show" report? What compiler and OS are you using? Is
> there
> evidence that mpicc is referencing a compiler that is different than the
> one
> you used for serial builds?
>

icc -g -O2 -D_XOPEN_SOURCE=600 -L/usr/local/ofed/lib64 -
I/usr/local/packages/mvapich2/1.4/intel-11.1/include
-L/usr/local/packages/mvapich2/1.4/intel-11.1/lib -lmpich -lpthread -lrdmacm
-libverbs -libumad -lrt

which mpif90
/usr/local/packages/mvapich2/1.4/intel-11.1/bin/mpif90

which mpirun
/usr/local/packages/mvapich2/1.4/intel-11.1/bin/mpirun



>
> Do you have a /usr/include/sys/time.h file? Does it define a "timezone"
> struct? This is not strictly a part of the "C" standard (as I understand
> it),
> but we haven't had reports of problems with this before. If you don't have
> /usr/include/sys/time.h, does your system have a /usr/include/time.h
> header?
>

yes, time.h exists in /usr/include/sys and it has the "timezone" struct.


> ....dac
>
>
> _______________________________________________
> AMBER mailing list
> AMBER.ambermd.org
> http://lists.ambermd.org/mailman/listinfo/amber
>
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Fri Sep 17 2010 - 08:30:07 PDT
Custom Search