I can't say that we've tried to build on WSL; the fact that it fails is 
probably not entirely unsurprising.  :-(

I looked at your logs, and although I see the compile failure, I don't see any 
reason *why* it failed.  Here's the relevant fail from the tar_openmpi_fail 
file:

-----
5523 Making all in mca/filem
5524 make[2]: Entering directory 
'/mnt/c/Users/ofcra/dev/openmpi-3.1.2/orte/mca/filem'
5525   GENERATE orte_filem.7
5526   CC       base/filem_base_frame.lo
5527   CC       base/filem_base_select.lo
5528   CC       base/filem_base_receive.lo
5529   CC       base/filem_base_fns.lo
5530 base/filem_base_receive.c: In function 
‘filem_base_process_get_remote_path_cmd’:
5531 base/filem_base_receive.c:250:9: warning: ignoring return value of 
‘getcwd’, declared with attribute warn_unused_result [-Wunused-result]
5532          getcwd(cwd, sizeof(cwd));
5533          ^~~~~~~~~~~~~~~~~~~~~~~~
5534 base/filem_base_receive.c:251:9: warning: ignoring return value of 
‘asprintf’, declared with attribute warn_unused_result [-Wunused-result]
5535          asprintf(&tmp_name, "%s/%s", cwd, filename);
5536          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5537 Makefile:1892: recipe for target 'base/filem_base_select.lo' failed
5538 make[2]: *** [base/filem_base_select.lo] Error 1
5539 make[2]: *** Waiting for unfinished jobs....
5540 make[2]: Leaving directory 
'/mnt/c/Users/ofcra/dev/openmpi-3.1.2/orte/mca/filem'
5541 Makefile:2586: recipe for target 'all-recursive' failed
5542 make[1]: *** [all-recursive] Error 1
5543 make[1]: Leaving directory '/mnt/c/Users/ofcra/dev/openmpi-3.1.2/orte'
5544 Makefile:1897: recipe for target 'all-recursive' failed
5545 make: *** [all-recursive] Error 1
-----

I.e., I see "recipe for target 'base/filem_base_select.lo' failed" -- but 
there's no error indicating *why* it failed.  There were 2 warnings when 
compiling that file -- but not errors.  That should not have prevented 
compilation for that .c file.

You then went on to run "make check", but that failed predictably because 
"make" had already failed.

You might want to run "make V=1" to see if you can get more details about why 
orte/mca/filem/base/filem_base_select.c failed to compile properly.

It looks like your GitHub clone build failed in exactly the same place.

There's something about filem_base_select.c that is failing to compile -- 
that's what we need more detail on.



> On Sep 18, 2018, at 10:06 AM, Oleg Kmechak <ofcrashb...@gmail.com> wrote:
> 
> Hello, 
> 
> I am student of Physics from University of Warsaw, and new to OpenMPI. 
> Currently just trying to compile it from source code(tried both github and  
> tar(3.1.2)).
> I am using Windows Linux Subsystem(WLS), Ubuntu. 
> 
> uname -a:
> >Linux Canopus 4.4.0-17134-Microsoft #285-Microsoft Thu Aug 30 17:31:00 PST 
> >2018 x86_64 x86_64 x86_64 GNU/Linux
> 
> I have done all steps suggested in INSTALL and HACKING files, installed next 
> tool i proper order: M4(1.4.18), autoconf(2.69), automake(1.15.1), 
> libtool(2.4.6), flex(2.6.4).
> 
> Next I enabled AUTOMAKE_JOBS=4 and ran: 
> 
> ./autogen.pl #for source code from git hub
> 
> Then
> ./configure --disable-picky --enable-mpi-cxx --without-cma --enable-static
> 
> I added --without-cma cos I have a lot of warnings about compiling asprintf 
> function 
> 
> and finally:
> make -j 4 all #cos I have 4 logical processors
> 
> And in both versions(from github or  tar(3.1.2)) it fails. 
> Github version error:
> >../../../../opal/mca/hwloc/hwloc201/hwloc/include/hwloc.h:71:10: fatal 
> >error: hwloc/bitmap.h: No such file or directory
>  #include <hwloc/bitmap.h>
> 
> And tar(3.1.2) version: 
> >libtool:   error: cannot find the library '../../ompi/libmpi.la' or 
> >unhandled argument '../../ompi/libmpi.la'
> 
> Please see also full log in attachment
> Thanks, hope You will help(cos I passed a lot of time on it currently:) )
> 
> 
> PS: if this is a bug or unimplemented feature(WLS is probably quite specific 
> platform), should I rise issue on github project?
> 
> 
> Regards, Oleg Kmechak
> 
> <OpenMPI_log.7z>_______________________________________________
> users mailing list
> users@lists.open-mpi.org
> https://lists.open-mpi.org/mailman/listinfo/users


-- 
Jeff Squyres
jsquy...@cisco.com

_______________________________________________
users mailing list
users@lists.open-mpi.org
https://lists.open-mpi.org/mailman/listinfo/users

Reply via email to