[MBDyn-users] Compile MBDyn with --enable-python _ Ubuntu 22.04 cannot find python in system path

MBDyn users list mbdyn-users at mbdyn.org
Sun Jan 29 17:16:27 CET 2023


Hello,

The latest version provides the below error message, with the 
improvement in the possible explanation:

Best regards


Le 29/01/2023 à 08:46, MBDyn users list a écrit :
> Sure. If you could pull the latest code under the develop branch from 
> <https://public.gitlab.polimi.it/DAER/mbdyn> you can test it immediately.
>
> Sincerely, p.
>
> On 29/01/23 08:41, MBDyn users list wrote:
>> Thanks for the feedback. If at some point you need testing with a new 
>> version to get more precise error messages for that specific WSL 
>> case, just let me know.
>>
>> Best regards,
>>
>> JM
>>
>> Le 28/01/2023 à 15:51, MBDyn users list a écrit :
>>> Thank you for sharing your discover.
>>>
>>> Apparently, the call to setsockopt() returned EINVAL, while the 
>>> solution you found seems to indicate that it should have returned 
>>> EPERM or something more specific. I'm making the error message more 
>>> informative, just in case.
>>>
>>> Sincerely, p.
>>>
>>> On 28/01/23 15:25, MBDyn users list wrote:
>>>> Dear all,
>>>>
>>>> I finally got it working, following some proposals frm the Dust team.
>>>>
>>>> I tried on another Windows machine, and it worked on that other 
>>>> machine! I just exported the initial WSL virtual machine, then 
>>>> imported it on the other Windows laptop... and it just worked. The 
>>>> execution had not triggered the windows firewall on the new 
>>>> machine. I resetted the firewall to default settings... and it was 
>>>> still working.
>>>>
>>>> Looking for the differences, it appears that on the "new" machine, 
>>>> I use an account that is administrative type. Moved back to the 
>>>> initial machine, import the VM under wsl in the admin account => 
>>>> working !
>>>>
>>>> So for the combined Dust-Precice-MBDyn execution on Windows, in wsl 
>>>> VM, it needs to un from an admin account. There may be other 
>>>> options, but this needs more knowledge than I have.
>>>>
>>>> Best regards,
>>>>
>>>> JM
>>>>
>>>> Le 23/01/2023 à 22:30, MBDyn users list a écrit :
>>>>>
>>>>>>
>>>>>> Le 12/01/2023 à 21:33, MBDyn users list a écrit :
>>>>>>>
>>>>>>> Hello,
>>>>>>>
>>>>>>> Fist of all I wish an happy new year to the MBDyn community.
>>>>>>>
>>>>>>> I would like to experiment the couling between DUST and MBDyn.
>>>>>>>
>>>>>>> I installed this WE a wsl machine with Ubuntu Jammy, PRECICE, 
>>>>>>> MBDyn and DUST. But running the aeroelastic example goland-wing, 
>>>>>>> I get an error "mbc_py_nodal_negociate: error". The MBdyn log 
>>>>>>> gives: Reading Beam(4) Reading Joint(0) Reading Force(9) 
>>>>>>> UseSocket::PostConnect: setsockopt() failed (22: Invalid 
>>>>>>> argument) An error occurred during the execution of MBDyn; 
>>>>>>> aborting...
>>>>>>>
>>>>>>> MBDyn has been compiled with ./configure 
>>>>>>> --enable-netcdf--with-lapack--enable-python. The thing that may 
>>>>>>> look a bit specific for my install was that I had to use "sudo 
>>>>>>> apt install python-is-python3" to get mbdyn compile with the 
>>>>>>> --enable-python flag. Could it be one reason?
>>>>>>>
>>>>>>> The PATH are correct. MBDyn runs the tutorials...
>>>>>>>
>>>>>>> Nobody else encountered this error on the DUST Community forum 
>>>>>>> (or at least reported it).
>>>>>>>
>>>>>>> Would you have an idea ?
>>>>>>>
>>>>>>> Best regards,
>>>>>>>
>>>>>>> JM. Fourneron
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> MBDyn-users mailing list
>>>>>>> MBDyn-users at mbdyn.org
>>>>>>> https://mail.mbdyn.org/cgi-bin/mailman/listinfo/mbdyn-users
>>>>>> _______________________________________________
>>>>>> MBDyn-users mailing list
>>>>>> MBDyn-users at mbdyn.org
>>>>>> https://mail.mbdyn.org/cgi-bin/mailman/listinfo/mbdyn-users
>>>>> _______________________________________________
>>>>> MBDyn-users mailing list
>>>>> MBDyn-users at mbdyn.org
>>>>> https://mail.mbdyn.org/cgi-bin/mailman/listinfo/mbdyn-users
>>>> _______________________________________________
>>>> MBDyn-users mailing list
>>>> MBDyn-users at mbdyn.org
>>>> https://mail.mbdyn.org/cgi-bin/mailman/listinfo/mbdyn-users
>>>
>>>
>> _______________________________________________
>> MBDyn-users mailing list
>> MBDyn-users at mbdyn.org
>> https://mail.mbdyn.org/cgi-bin/mailman/listinfo/mbdyn-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mbdyn.org/pipermail/mbdyn-users/attachments/20230129/baded906/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: zHOxSLhX0a0puXN3.png
Type: image/png
Size: 52198 bytes
Desc: not available
URL: <http://mail.mbdyn.org/pipermail/mbdyn-users/attachments/20230129/baded906/attachment-0001.png>


More information about the MBDyn-users mailing list