I tried with gcc, got errors during make, too.
[weitong@magnetics tmp_GNU]$ ../configure --prefix=/usr/local/mpich3_GNU CC=gcc CXX=g++ FC=gfortran --enable-threads=multiple --with-pm=mpd:hydra 2>&1 | tee c.txt
[weitong@magnetics tmp_GNU]$ make 2>&1 | tee m.txt
make[4]: Entering directory `/home/weitong/setup/mpich/mpich-3.1/tmp_GNU/src/pm/hydra/tools/topo/hwloc/hwloc/src'
CC topology.lo
CC traversal.lo
In file included from ../../../../../../../../../src/pm/hydra/tools/topo/hwloc/hwloc/src/traversal.c:12:
/home/weitong/setup/mpich/mpich-3.1/src/pm/hydra/tools/topo/hwloc/hwloc/include/private/misc.h:28:2: error: #error "unknown size for unsigned int."
make[4]: *** [traversal.lo] error 1
make[4]: Leaving directory `/home/weitong/setup/mpich/mpich-3.1/tmp_GNU/src/pm/hydra/tools/topo/hwloc/hwloc/src'
make[3]: *** [all-recursive] error 1
make[3]: Leaving directory `/home/weitong/setup/mpich/mpich-3.1/tmp_GNU/src/pm/hydra/tools/topo/hwloc/hwloc'
make[2]: *** [all-recursive] error 1
make[2]: Leaving directory `/home/weitong/setup/mpich/mpich-3.1/tmp_GNU/src/pm/hydra'
make[1]: *** [all-recursive] error 1
make[1]: Leaving directory `/home/weitong/setup/mpich/mpich-3.1/tmp_GNU'
make: *** [all] error 2
-----原始邮件-----
发件人: "Wesley Bland" <wbland@anl.gov>
发送时间: 2014年4月4日 星期五
收件人: "discuss@mpich.org" <discuss@mpich.org>
抄送:
主题: Re: [mpich-discuss] misc.h(28): catastrophic error: #error directive: "unknown size forunsigned int."Can you send us your config.log?On Fri, Apr 4, 2014 at 4:24 AM, Wei TOng <weitong@hmfl.ac.cn> wrote:
Dear everyone,I am installing mpich3.1 with Intel parallel_studio_xe_2011_sp1_update3 (ifort12).My configure is#./configure --prefix=/usr/local/mpich_intel CC=icc CXX=icpc F77=ifort FC=ifort --enable-threads=multiple --with-pm=mpd:hydra 2>&1 | tee c.txtWhich completed successfully.But when I make, finally I got following errors:/home/weitong/setup/mpich-3.1/src/pm/hydra/tools/topo/hwloc/hwloc/include/private/misc.h(28): catastrophic error: #error directive: "unknown size for unsigned int."#error "unknown size for unsigned int."^compilation aborted for traversal.c (code 4)make[4]: *** [traversal.lo] error 1make[4]: Leaving directory `/home/weitong/setup/mpich-3.1/src/pm/hydra/tools/topo/hwloc/hwloc/src'make[3]: *** [all-recursive] error 1make[3]: Leaving directory `/home/weitong/setup/mpich-3.1/src/pm/hydra/tools/topo/hwloc/hwloc'make[2]: *** [all-recursive] error 1make[2]: Leaving directory `/home/weitong/setup/mpich-3.1/src/pm/hydra'make[1]: *** [all-recursive] error 1make[1]: Leaving directory `/home/weitong/setup/mpich-3.1'make: *** [all] 错误 2PS: I also tried "mpich-master-v3.1-137-gb912961f", the same errors during make.Any solutions?Best,Wei Tong
_______________________________________________
discuss mailing list discuss@mpich.org
To manage subscription options or unsubscribe:
https://lists.mpich.org/mailman/listinfo/discuss