[mpich-discuss] Error "hydra requires VA_ARGS support", RHEL 5.10, icc

Lu, Huiwei huiweilu at mcs.anl.gov
Wed Feb 26 09:18:55 CST 2014


This problem seems to be similar as the discussion thread below:
http://lists.mpich.org/pipermail/discuss/2014-February/002246.html
Some of your flags was treated as warnings by MPICH and therefore disabled VA_ARGS.

Could you please try to compile MPICH-3.1 with less flags? For example, 
export CFLAGS=‘-O3’
export CXXFLAGS=‘-O3’
export FFLAGS=‘-O3’

—
Huiwei Lu
Postdoc Appointee
Mathematics and Computer Science Division, Argonne National Laboratory
http://www.mcs.anl.gov/~huiweilu/

On Feb 26, 2014, at 5:42 AM, Бакиров, Медер <bakirov at almetico.com> wrote:

> Dear Sirs!
> 
> I'm trying to compile MPICH 3.1 under RHEL 5.10 using Intel Compiler,
> but encounter the following errors:
> 
> make[3]: Entering directory `/home/dotcoder/src/mpich-3.1/src/pm/hydra'
>  CC       utils/alloc/alloc.lo
> In file included from utils/alloc/alloc.c(7):
> ./include/hydra.h(79): catastrophic error: #error directive: "hydra
> requires VA_ARGS support"
>  #error "hydra requires VA_ARGS support"
>   ^
> 
> compilation aborted for utils/alloc/alloc.c (code 4)
> make[3]: *** [utils/alloc/alloc.lo] Error 1
> make[3]: Leaving directory `/home/dotcoder/src/mpich-3.1/src/pm/hydra'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/home/dotcoder/src/mpich-3.1/src/pm/hydra'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/dotcoder/src/mpich-3.1'
> make: *** [all] Error 2
> 
> Can you, please, help me to figure out an error and successfully
> compile MPICH 3.1?
> 
> I'm using icc version 14.0.2. My environment variables:
> export CC=icc
> export CXX=icpc
> export CFLAGS='-O3 -xHost -ip -no-prec-div -static-intel'
> export CXXFLAGS='-O3 -xHost -ip -no-prec-div -static-intel'
> export F77=ifort
> export FC=ifort
> export FFLAGS='-O3 -xHost -ip -no-prec-div -static-intel'
> export CPP='icc -E'
> export CXXCPP='icpc -E'
> unset F90
> 
> Please, find an attachment with the corresponding gzipped config.log file.
> 
> Thanks!
> 
> Best regards,
> Meder Bakirov
> <config.log.gz>_______________________________________________
> discuss mailing list     discuss at mpich.org
> To manage subscription options or unsubscribe:
> https://lists.mpich.org/mailman/listinfo/discuss



More information about the discuss mailing list