R Walser
R Walser

Reputation: 494

UCX build with cuda aware

I was trying to install cuda aware openmpi. While following the following recipe laid out here:

$ git clone https://github.com/openucx/ucx.git ucx
$ cd ucx
$ ./autogen.sh 
$ mkdir build
$ cd build
$ ../configure --prefix=/usr/opt
$ make -j4
$ make install

I get the following at the make -j4 step:

Remark #3391-D: individual warnings can be suppressed with "--diag_suppress <warning-name>"                               
                                                                                                                          
  CC       dc/libuct_ib_mlx5_la-dc_mlx5.lo                                                                                
  CC       dc/libuct_ib_mlx5_la-dc_mlx5_devx.lo                                                                           
  CC       ud/libuct_ib_mlx5_la-ud_mlx5_common.lo                                                                         
<inline asm>:1:7: error: invalid operand for instruction                                                                  
        bsrl %al,%r12d                                                                                                    
             ^~~                                                                                                          
make[4]: *** [Makefile:902: dc/libuct_ib_mlx5_la-dc_mlx5_devx.lo] Error 1                                                 
make[4]: *** Waiting for unfinished jobs....                                                                              
<inline asm>:1:7: error: invalid operand for instruction                                                                  
        bsfl %al,%eax                                                                                                     
             ^~~                                                                                                          
make[4]: *** [Makefile:888: dc/libuct_ib_mlx5_la-dc_mlx5_ep.lo] Error 1                                                   
make[4]: Leaving directory '/home/naseeb/ucx/build/src/uct/ib/mlx5'                                                       
make[3]: *** [Makefile:983: all-recursive] Error 1                                                                        
make[3]: Leaving directory '/home/naseeb/ucx/build/src/uct/ib'                                                            
make[2]: *** [Makefile:1215: all-recursive] Error 1                                                                       
make[2]: Leaving directory '/home/naseeb/ucx/build/src/uct'                                                               
make[1]: *** [Makefile:797: all-recursive] Error 1                                                                        
make[1]: Leaving directory '/home/naseeb/ucx/build'                                                                       
make: *** [Makefile:661: all] Error 2  

Can anyone explain what's going on? My gcc --version is 11.4.0.

Upvotes: 0

Views: 29

Answers (0)

Related Questions