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

From: David A Case <case.biomaps.rutgers.edu>
Date: Sat, 10 May 2014 08:30:40 -0400

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
Received on Sat May 10 2014 - 06:00:02 PDT
Custom Search