[mvapich-discuss] Compilation issues

Marcin Zalewski marcin.zalewski at gmail.com
Fri Mar 8 21:10:49 EST 2013


Thanks for the patch.

About /dev/ipath, we indeed found out that the permissions were wrong.
On Ubuntu, while the device is created, it is not assigned correct
properties by the system.

Thank you for your help,
Marcin

On Fri, Mar 8, 2013 at 6:42 PM, Devendar Bureddy
<bureddy at cse.ohio-state.edu> wrote:
> Thanks Marcin. I'm able to reproduce build issue with your configure flags.
> The fix you proposed should work for your configuration.  I attached a patch
> to fix this in a correct way.
>
> Regarding your other following run time error
>
>> cutter16.14497PSM can't open /dev/ipath for reading and writing (err=23)
>>psm_ep_open failed with error Failure in initializing endpoint
>> Fatal error in MPI_Init: Internal MPI error!
>
> This error is from PSM library.  Can you check if  /dev/ipath has read/write
> permissions to users ?
>
> $ ls -l /dev/ipath
> crw-rw-rw- 1 root root 249, 0 Feb 21 21:18 /dev/ipath
>
> -Devendar
>
> On Fri, Mar 8, 2013 at 3:42 PM, Marcin Zalewski <marcin.zalewski at gmail.com>
> wrote:
>>
>> I have configured with:
>>
>> ./configure --prefix=/opt/mvapich/2-1.9b --enable-fast=all,O3
>> --enable-thread-cs=per-object --enable-refcount=lock-free
>> --enable-handle-allocation=tls --with-atomic-primitives
>> --enable-shared --with-ch3-rank-bits=16 --enable-hybrid
>> --with-device=ch3:psm --with-psm=/opt/mvapich/2-1.9b/usr
>>
>> I am using a recent trunk gcc:
>>
>> $ gcc -v
>> Using built-in specs.
>> COLLECT_GCC=gcc
>>
>> COLLECT_LTO_WRAPPER=/home/zalewski/tools/gcc-4.8-20130303/libexec/gcc/x86_64-unknown-linux-gnu/4.8.0/lto-wrapper
>> Target: x86_64-unknown-linux-gnu
>> Configured with: ../gcc-4.8-20130303/configure
>> --prefix=/home/zalewski/tools/gcc-4.8-20130303
>> --enable-languages=c,c++,fortran,objc,obj-c++ --enable-shared
>> --with-system-zlib --without-included-gettext --enable-threads=posix
>> --enable-nls --enable-clocale=gnu --enable-gnu-unique-object
>> --enable-plugin --enable-objc-gc --disable-werror
>> --enable-checking=release --with-sysroot=/
>> Thread model: posix
>> gcc version 4.8.0 20130303 (experimental) (GCC)
>>
>> Thanks,
>> Marcin
>>
>> On Fri, Mar 8, 2013 at 12:38 PM, Devendar Bureddy
>> <bureddy at cse.ohio-state.edu> wrote:
>> > Hi Marcin
>> >
>> > I couldn't reproduce the same issue? Can you specify your configure
>> > options?
>> >
>> > -Devendar
>> >
>> > On Thu, Mar 7, 2013 at 1:47 AM, Marcin Zalewski
>> > <marcin.zalewski at gmail.com>
>> > wrote:
>> >>
>> >> I have been trying to compile mvapich 2-1.9b with the trunk version of
>> >> gcc, and I am getting errors like this:
>> >>
>> >> src/mpid/ch3/channels/psm/src/psm_1sided.c:791:34: error: incompatible
>> >> types when assigning to type 'MPID_cc_t' from type 'int'
>> >>          *(req->savedreq->cc_ptr) = 0;
>> >>                                   ^
>> >>
>> >> Since I am compiling with per-object granularity, my solution has been
>> >> to change lines like this to:
>> >>
>> >> req->savedreq->cc_ptr->v = 0;
>> >>
>> >> This compiles, but I want to ask whether it makes sense.
>> >>
>> >> Thanks,
>> >> Marcin
>> >> _______________________________________________
>> >> mvapich-discuss mailing list
>> >> mvapich-discuss at cse.ohio-state.edu
>> >> http://mail.cse.ohio-state.edu/mailman/listinfo/mvapich-discuss
>> >
>> >
>> >
>> >
>> > --
>> > Devendar
>
>
>
>
> --
> Devendar


More information about the mvapich-discuss mailing list