[mpich-discuss] [mvapich-discuss] Build problem with mvapich2-1.5 and Panfs driver for ROMIO
Dave Goodell
goodell at mcs.anl.gov
Thu Jul 15 11:20:41 CDT 2010
[adding RobL]
It looks like a bug in "src/mpi/romio/adio/ad_panfs/Makefile.in". If you compare it to the Makefile.in for ad_ufs, the ad_panfs version is missing an "CPPFLAGS=@CPPFLAGS@" entry, along with other related modifications. The CPPFLAGS var is where the correct include for mpidpre.h comes from.
Unfortunately, I have to admit that I don't know anything about the state of the ad_panfs code or build system.
Rob: what's the right fix here? Basically just make ad_panfs look like ad_ufs?
-Dave
On Jul 15, 2010, at 11:07 AM CDT, Jonathan Perkins wrote:
> The logs are attached. Thanks for your help.
>
> On Thu, Jul 15, 2010 at 11:18 AM, Dave Goodell <goodell at mcs.anl.gov> wrote:
>> It looks like the build system isn't putting "-Isrc/mpid/ch3/include" on the compile line. There's also a chance that the configure step didn't fully complete, but I don't think that's likely.
>>
>> Can you send us the c.txt, config.log, and m.txt (from "make V=1") as explained in the MPICH2 README? Debugging 1.3a2 is preferable to 1.2.1p1.
>>
>> -Dave
>>
>> On Jul 15, 2010, at 9:17 AM CDT, Jonathan Perkins wrote:
>>
>>> Hi, a user of mvapich2 reported this issue to us a few days ago. I've
>>> looked into the issue a bit and didn't see an obvious fix. I've been
>>> able to reproduce this issue as well as a very similar one with gcc
>>> with both mpich2-1.2.1p1 and mpich2-1.3a2.
>>>
>>> The configuration that I've used with gcc is...
>>> Configuring MPICH2 version 1.3a2 with '--enable-romio=yes'
>>> '--with-file-system=lustre+panfs'
>>> '--prefix=/tmp/perkinjo/panfs/gcc/mpich2-1.3a2/install'
>>>
>>> The initial errors encountered during make is...
>>> make[5]: Entering directory
>>> `/tmp/perkinjo/panfs/gcc/mpich2-1.3a2/src/mpi/romio/adio/ad_panfs'
>>> gcc -O2 -DFORTRANDOUBLEUNDERSCORE -D_LARGEFILE64_SOURCE
>>> -D_FILE_OFFSET_BITS=64 -DHAVE_ROMIOCONF_H -D_LARGEFILE64_SOURCE
>>> -D_FILE_OFFSET_BITS=64 -I.
>>> -I/tmp/perkinjo/panfs/gcc/mpich2-1.3a2/src/mpi/romio/adio/ad_panfs/../include
>>> -I../include -I../../include
>>> -I/tmp/perkinjo/panfs/gcc/mpich2-1.3a2/src/mpi/romio/adio/ad_panfs/../../../../include
>>> -I../../../../include -I/opt/panfs/include -c ad_panfs.c
>>> In file included from
>>> /tmp/perkinjo/panfs/gcc/mpich2-1.3a2/src/mpi/romio/adio/ad_panfs/../include/adioi.h:809,
>>> from
>>> /tmp/perkinjo/panfs/gcc/mpich2-1.3a2/src/mpi/romio/adio/ad_panfs/../include/adio.h:427,
>>> from ad_panfs.h:15,
>>> from ad_panfs.c:9:
>>> /tmp/perkinjo/panfs/gcc/mpich2-1.3a2/src/mpi/romio/adio/ad_panfs/../../../../include/mpiimpl.h:37:17:
>>> error: mpl.h: No such file or directory
>>> /tmp/perkinjo/panfs/gcc/mpich2-1.3a2/src/mpi/romio/adio/ad_panfs/../../../../include/mpiimpl.h:126:21:
>>> error: mpidpre.h: No such file or directory
>>> In file included from
>>> /tmp/perkinjo/panfs/gcc/mpich2-1.3a2/src/mpi/romio/adio/ad_panfs/../../../../include/mpiimpl.h:145,
>>> from
>>> /tmp/perkinjo/panfs/gcc/mpich2-1.3a2/src/mpi/romio/adio/ad_panfs/../include/adioi.h:809,
>>> from
>>> /tmp/perkinjo/panfs/gcc/mpich2-1.3a2/src/mpi/romio/adio/ad_panfs/../include/adio.h:427,
>>> from ad_panfs.h:15,
>>> from ad_panfs.c:9:
>>> /tmp/perkinjo/panfs/gcc/mpich2-1.3a2/src/mpi/romio/adio/ad_panfs/../../../../include/mpiimplthread.h:25:25:
>>> error: mpid_thread.h: No such file or directory
>>>
>>> Is this a known issue? Does a patch already exist or should I file a
>>> bug report. Thanks in advance for any help that you can provide.
>>>
>>> On Mon, Jul 12, 2010 at 11:31 AM, Craig Tierney <Craig.Tierney at noaa.gov> wrote:
>>>> I just pulled down mvapich2-1.5 and tried to build with Panfs support. It did not
>>>> build. Here are the error messages:
>>>>
>>>> make[5]: Entering directory `/misc/whome/admin/hjet/software/opt/mvapich/mvapich2-1.5/src/mpi/romio/adio/ad_panfs'
>>>> icc -g -O2 -DNDEBUG -O2 -DFORTRANUNDERSCORE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_ROMIOCONF_H -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I. -I/home/admin/hjet/software/opt/mvapich/mvapich2-1.5/src/mpi/romio/adio/ad_panfs/../include -I../include -I../../include -I/home/admin/hjet/software/opt/mvapich/mvapich2-1.5/src/mpi/romio/adio/ad_panfs/../../../../include -I../../../../include -I/opt/panfs/include -c ad_panfs.c
>>>> /home/admin/hjet/software/opt/mvapich/mvapich2-1.5/src/mpi/romio/adio/ad_panfs/../../../../include/mpiimpl.h(143): catastrophic error: could not open source file "mpidpre.h"
>>>> #include "mpidpre.h"
>>>>
>>>>
>>>>
>>>> Here is how I configured the build:
>>>>
>>>> ./configure CC=icc CXX=icpc F77=ifort FC=ifort F90=ifort --with-rdma=gen2 --prefix=/opt/mvapich2/1.5-intel-11.1 --enable-romio=yes --with-file-system=lustre+panfs
>>>>
>>>>
>>>> I tried hacking the links in, the dependencies are complicated.
>>>>
>>>> Thanks,
>>>> Craig
>>>> _______________________________________________
>>>> mvapich-discuss mailing list
>>>> mvapich-discuss at cse.ohio-state.edu
>>>> http://mail.cse.ohio-state.edu/mailman/listinfo/mvapich-discuss
>>>
>>> --
>>> Jonathan Perkins
>>> _______________________________________________
>>> mpich-discuss mailing list
>>> mpich-discuss at mcs.anl.gov
>>> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
>>
>> _______________________________________________
>> mpich-discuss mailing list
>> mpich-discuss at mcs.anl.gov
>> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
>>
>>
>
>
>
> --
> Jonathan Perkins
> <c.txt><m.txt><config.log>_______________________________________________
> mpich-discuss mailing list
> mpich-discuss at mcs.anl.gov
> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
More information about the mpich-discuss
mailing list