<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><DIV>I believe I have found a bug in the mvapich2 build process when enabling Panasas file system support.</DIV><DIV><BR class="khtml-block-placeholder"></DIV>I followed the advice in the README.romio file but I was getting an error associated with being unable to find mpi.h.<DIV><BR class="khtml-block-placeholder"></DIV><DIV>Along with my other configure options, I've included the "--enable-romio --with-file-system=panfs+ufs+nfs" part. I have also made sure that CFLAGS contains a "-I/usr/include" since the panasas header files are located there. The build follows the configure set up as normal until it gets to building the panfs bit:</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>...</DIV><DIV>compiling ROMIO in directory adio/ad_panfs</DIV><DIV>make[5]: Entering directory `/net/scratch1/dog/rpm/BUILD/mvapich2-0.9.8/src/mpi/romio/adio/ad_panfs'</DIV><DIV>/usr/bin/gcc -D_X86_64_ -D_SMP_ -DUSE_HEADER_CACHING -DONE_SIDED -DMPID_USE_SEQUENCE_NUMBERS -I/usr/local/ofed/include -I/usr/include -O2 -D_SHMEM_COLL_ -D_X86_64_ -D_SMP_ -DUSE_HEADER_CACHING -DONE_SIDED -DMPID_USE_SEQUENCE_NUMBERS -I/usr/local/ofed/include -I/usr/include -O2 -D_SHMEM_COLL_ -DFORTRANUNDERSCORE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_ROMIOCONF_H -I. -I/net/scratch1/dog/rpm/BUILD/mvapich2-0.9.8/src/mpi/romio/adio/ad_panfs/../include -I../include -I../../include -I/opt/panfs/include -c ad_panfs.c</DIV><DIV>In file included from ad_panfs.h:15,</DIV><DIV> from ad_panfs.c:9:</DIV><DIV>/net/scratch1/dog/rpm/BUILD/mvapich2-0.9.8/src/mpi/romio/adio/ad_panfs/../include/adio.h:72:17: mpi.h: No such file or directory</DIV><DIV>In file included from /net/scratch1/dog/rpm/BUILD/mvapich2-0.9.8/src/mpi/romio/adio/ad_panfs/../include/adio.h:73,</DIV><DIV> from ad_panfs.h:15,</DIV><DIV> from ad_panfs.c:9:</DIV><DIV>../../include/mpio.h:13:17: mpi.h: No such file or directory</DIV><DIV>In file included from /net/scratch1/dog/rpm/BUILD/mvapich2-0.9.8/src/mpi/romio/adio/ad_panfs/../include/adio.h:73,</DIV><DIV> from ad_panfs.h:15,</DIV><DIV> from ad_panfs.c:9:</DIV><DIV>../../include/mpio.h:47: error: syntax error before "MPI_Datatype"</DIV><DIV>../../include/mpio.h:49: error: syntax error before "datatype"</DIV><DIV>../../include/mpio.h:119: error: syntax error before "char"</DIV><DIV>../../include/mpio.h:121: error: syntax error before "MPI_Info"</DIV><DIV>../../include/mpio.h:125: error: syntax error before "MPI_Group"</DIV><DIV>...</DIV><DIV><100's of lines dealing with MPI_xxx defs deleted></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>It appears that mvapich2-0.9.8/src/mpi/romio/adio/include/adio.h requires mpi.h, but there is no mpi.h to be found. I changed a line in </DIV><DIV>mvapich2-0.9.8/src/mpi/romio/adio/ad_panfs/Makefile.in to point back to mvapich2-0.9.8/src/include and it then completes without error.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Here is the change I made:</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>From:</DIV><DIV> INCLUDE_DIR = -I@MPI_INCLUDE_DIR@ -I${srcdir}/../include -I../include -I../../include -I/opt/panfs/include</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>To:</DIV><DIV>INCLUDE_DIR = -I@MPI_INCLUDE_DIR@ -I${srcdir}/../include -I../include -I../../include -I../../../../include -I/opt/panfs</DIV><DIV>/include</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Thanks,</DIV><DIV>david</DIV><DIV><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><DIV>--</DIV><DIV>David Gunter</DIV><DIV>HPC-4: HPC Environments: Parallel Tools Team</DIV><DIV>Los Alamos National Laboratory</DIV></SPAN></SPAN><BR class="Apple-interchange-newline"></SPAN></SPAN></SPAN> </DIV><BR></BODY></HTML>