Re: [AMBER] Amber12 parallel installation error with MPICH2 UBUNTU 14.04

From: M. Reza Ganjalikhany <ganjalikhany.gmail.com>
Date: Sat, 10 May 2014 23:39:08 +0430

Hi

I have installed MPICH2 via shell script (according to the Amber
website recommendation):

apt-get install mpich2 libmpich2-dev

However MPICH2 installation via Synaptic Package manager results the same error.

On 5/10/14, David A Case <case.biomaps.rutgers.edu> wrote:
> On Sat, May 10, 2014, M. Reza Ganjalikhany wrote:
>>
>> Serial compilation of amber was alright but the parallel compilation is
>> not
>> possible.
>
> This is the same sort of error as before. How did you install mpi? It
> seems
> to be some super-conservative version.
>
>>
>> Here is the result for mpicc -show:
>>
>> cc -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4
>> -Wformat -Werror=format-security -Wl,-Bsymbolic-functions -Wl,-z,relro
>> -I/usr/include/mpich -L/usr/lib/x86_64-linux-gnu -lmpich -lopa -lmpl -lrt
>> -lcr -lpthread
>
> You will have to remove the "-Werror=format-security" part.
>
>> ChargeFit.c: In function ‘AssignGridTopologies’:
>> ChargeFit.c:80:7: error: format not a string literal and no format
>> arguments [-Werror=format-security]
>> sprintf(myfit->tpname.map[i], tp->source);
>> ^
>
>> cc1: some warnings being treated as errors
>
> Amber is not set up to compile with these format-security issues being
> treated
> as errors.
>
> You could use the configure_mpich script in $AMBERHOME/AmberTools/src.
>
> ...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 Sat May 10 2014 - 12:30:02 PDT
Custom Search