If the file opal/datatype/.lib/libdatatype_reliable.a does not exist after running "ar cru .libs/libdatatype_reliable.a .libs/libdataty...etc.", then there is something wrong with your system. Specifically, "ar" is a Linux command that makes an archive file; this command is not part of Open MPI. If "ar" isn't working, then ... 🤷♂️
What happens if you run the full "ar cru ...." command manually from within the opal/datatype directory? (you can see the full command if you invoke "make V=1") ________________________________ From: George Bosilca <bosi...@icl.utk.edu> Sent: Wednesday, July 12, 2023 2:26 PM To: Open MPI Users <users@lists.open-mpi.org> Cc: Jeff Squyres (jsquyres) <jsquy...@cisco.com>; Elad Cohen <el...@volcani.agri.gov.il> Subject: Re: [OMPI users] OMPI compilation error in Making all datatypes I can't replicate this on my setting, but I am not using the tar archive from the OMPI website (I use the git tag). Can you do `ls -l opal/datatype/.lib` in your build directory. George. On Wed, Jul 12, 2023 at 7:14 AM Elad Cohen via users <users@lists.open-mpi.org<mailto:users@lists.open-mpi.org>> wrote: Hi Jeff, thanks for replying opal/datatype/.libs/libdatatype_reliable.a doesn't exist. I tried building on a networked filesystem , and a local one . when building in /root - i'm getting ore output, but eventually the same error: make[2]: Entering directory '/root/openmpi-v4.1.5/openmpi-4.1.5/opal/datatype' CC libdatatype_reliable_la-opal_datatype_pack.lo CC libdatatype_reliable_la-opal_datatype_unpack.lo CC opal_convertor_raw.lo CC opal_convertor.lo CC opal_copy_functions.lo CC opal_copy_functions_heterogeneous.lo CC opal_datatype_add.lo CC opal_datatype_clone.lo CC opal_datatype_copy.lo CC opal_datatype_create.lo CC opal_datatype_create_contiguous.lo CC opal_datatype_destroy.lo CC opal_datatype_dump.lo CC opal_datatype_fake_stack.lo CC opal_datatype_get_count.lo CC opal_datatype_module.lo CC opal_datatype_monotonic.lo CC opal_datatype_optimize.lo CC opal_datatype_pack.lo CC opal_datatype_position.lo CC opal_datatype_resize.lo CC opal_datatype_unpack.lo CCLD libdatatype_reliable.la<http://libdatatype_reliable.la> ranlib: '.libs/libdatatype_reliable.a': No such file make[2]: *** [Makefile:1870: libdatatype_reliable.la<http://libdatatype_reliable.la>] Error ________________________________ From: Jeff Squyres (jsquyres) <jsquy...@cisco.com<mailto:jsquy...@cisco.com>> Sent: Wednesday, July 12, 2023 1:09:35 PM To: users@lists.open-mpi.org<mailto:users@lists.open-mpi.org> Cc: Elad Cohen Subject: Re: OMPI compilation error in Making all datatypes The output you sent (in the attached tarball) in doesn't really make much sense: libtool: link: ar cru .libs/libdatatype_reliable.a .libs/libdatatype_reliable_la-opal_datatype_pack.o .libs/libdatatype_reliable_la-opal_datatype_unpack.o libtool: link: ranlib .libs/libdatatype_reliable.a ranlib: '.libs/libdatatype_reliable.a': No such file Specifically: 1. "ar cru .libs/libdatatype_reliable.a" should have created the file .libs/libdatatype_reliable.a. 2. "ranlib .libs/libdatatype_reliable.a" then should modify the .libs/libdatatype_reliable.a that was just created. I'm not sure how #2 fails to find the file that was just created in step #1. No errors were reported by step #1, so that file should be there. Can you confirm if the file opal/datatype/.libs/libdatatype_reliable.a exists? Are you building on a networked filesystem, perchance? If so, is the time synchronized between the machine on which you are building and the file server? ________________________________ From: users <users-boun...@lists.open-mpi.org<mailto:users-boun...@lists.open-mpi.org>> on behalf of Elad Cohen via users <users@lists.open-mpi.org<mailto:users@lists.open-mpi.org>> Sent: Wednesday, July 12, 2023 4:27 AM To: users@lists.open-mpi.org<mailto:users@lists.open-mpi.org> <users@lists.open-mpi.org<mailto:users@lists.open-mpi.org>> Cc: Elad Cohen <el...@volcani.agri.gov.il<mailto:el...@volcani.agri.gov.il>> Subject: [OMPI users] OMPI compilation error in Making all datatypes Hello, I'm getting this error in both v4.1.4 and v4.1.5: Making all in datatype make[2]: Entering directory '/data/bin/openmpi-v4.1.5/openmpi-4.1.5/opal/datatype' CCLD libdatatype_reliable.la<http://libdatatype_reliable.la> ranlib: '.libs/libdatatype_reliable.a': No such file make[2]: *** [Makefile:1870: libdatatype_reliable.la<http://libdatatype_reliable.la>] Error 1 make[2]: Leaving directory '/data/bin/openmpi-v4.1.5/openmpi-4.1.5/opal/datatype' make[1]: *** [Makefile:2394: all-recursive] Error 1 make[1]: Leaving directory '/data/bin/openmpi-v4.1.5/openmpi-4.1.5/opal' make: *** [Makefile:1912: all-recursive] Error 1 Thank you Email secured by Check Point - Threat Emulation policy