[mpich-discuss] misc.h(28): catastrophic error: #error directive: "unknown size forunsigned int."

童伟 weitong at hmfl.ac.cn
Sun Apr 6 07:53:37 CDT 2014


I tried with gcc, got errors during make, too.

[weitong at 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 at 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 at anl.gov>
发送时间: 2014年4月4日 星期五
收件人: "discuss at mpich.org" <discuss at 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 at 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.txt
Which 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 1
make[4]: Leaving directory `/home/weitong/setup/mpich-3.1/src/pm/hydra/tools/topo/hwloc/hwloc/src'
make[3]: *** [all-recursive] error 1
make[3]: Leaving directory `/home/weitong/setup/mpich-3.1/src/pm/hydra/tools/topo/hwloc/hwloc'
make[2]: *** [all-recursive] error 1
make[2]: Leaving directory `/home/weitong/setup/mpich-3.1/src/pm/hydra'
make[1]: *** [all-recursive] error 1
make[1]: Leaving directory `/home/weitong/setup/mpich-3.1'
make: *** [all] 错误 2
PS: I also tried "mpich-master-v3.1-137-gb912961f", the same errors during make.
Any solutions?
Best,
Wei Tong
 

_______________________________________________
discuss mailing list     discuss at mpich.org
To manage subscription options or unsubscribe:
https://lists.mpich.org/mailman/listinfo/discuss







-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mpich.org/pipermail/discuss/attachments/20140406/7a263b1f/attachment.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: m.txt
URL: <http://lists.mpich.org/pipermail/discuss/attachments/20140406/7a263b1f/attachment.txt>


More information about the discuss mailing list