VahanaOpenSource / vtol_sizing

conceptual design of vtol platforms
MIT License
13 stars 7 forks source link

problem running xrun.py after installation #1

Closed johnZYW closed 3 years ago

johnZYW commented 3 years ago

Hi Vahana Developers @zlovering @nenanth,

I just built Vahana in Ubnutu and currently faced an error when trying to run python3 xrun.py inside the cases/Beta folders. The error message is attached below and i hope you guys can help me with it. Thank you.

Regards, Yuwen

Invalid MIT-MAGIC-COOKIE-1 key/home/yuwenzhang/Desktop/USYD/VAHANA/vtol_sizing/cases/Beta/create_fea_config.py:281: VisibleDeprecationWarning: Creating an ndarray from ragged nested sequences (which is a list-or-tuple of lists-or-tuples-or ndarrays with different lengths or shapes) is deprecated. If you meant to do this, you must specify 'dtype=object' when creating the ndarray distloadid = np.array([ wrote config.inp file for airframe structure xrun.py:57: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details. fdefault = yaml.load(f) xrun.py:60: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details. fyaml = yaml.load(f) Traceback (most recent call last): File "xrun.py", line 92, in x = hydraInterface(all_dict) TypeError: init() missing 1 required positional argument: 'MPI_found'

nenanth commented 3 years ago

Looks like you need to install mpi and mpi4py

On Tue, Dec 8, 2020, 2:26 AM johnZYW notifications@github.com wrote:

Hi there,

I just downloaded and built the YAHANA vtol sizing code and wanted to test it. I went to the cases/Beta folder and ran python3 xrun.py and got the following errors. Please help me with this, thank you.

Regards, Yuwen

Invalid MIT-MAGIC-COOKIE-1 key/home/yuwenzhang/Desktop/USYD/VAHANA/vtol_sizing/cases/Beta/create_fea_config.py:281: VisibleDeprecationWarning: Creating an ndarray from ragged nested sequences (which is a list-or-tuple of lists-or-tuples-or ndarrays with different lengths or shapes) is deprecated. If you meant to do this, you must specify 'dtype=object' when creating the ndarray distloadid = np.array([ wrote config.inp file for airframe structure xrun.py:57: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details. fdefault = yaml.load(f) xrun.py:60: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details. fyaml = yaml.load(f) Traceback (most recent call last): File "xrun.py", line 92, in x = hydraInterface(all_dict) TypeError: init() missing 1 required positional argument: 'MPI_found'

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/VahanaOpenSource/vtol_sizing/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADX46YQNA73UT56W6XAYCT3STX5PDANCNFSM4URYLDUQ .

johnZYW commented 3 years ago

Thanks for the reply. I installed mpi and mpi4py but the same error shows up. Could you tell me the version of mpi and mpi4py you were using? I think it might just be an issue of different version.

Looks like you need to install mpi and mpi4py On Tue, Dec 8, 2020, 2:26 AM johnZYW @.**> wrote: Hi there, I just downloaded and built the YAHANA vtol sizing code and wanted to test it. I went to the cases/Beta folder and ran python3 xrun.py and got the following errors. Please help me with this, thank you. Regards, Yuwen Invalid MIT-MAGIC-COOKIE-1 key/home/yuwenzhang/Desktop/USYD/VAHANA/vtol_sizing/cases/Beta/create_fea_config.py:281: VisibleDeprecationWarning: Creating an ndarray from ragged nested sequences (which is a list-or-tuple of lists-or-tuples-or ndarrays with different lengths or shapes) is deprecated. If you meant to do this, you must specify 'dtype=object' when creating the ndarray distloadid = np.array([ wrote config.inp file for airframe structure xrun.py:57: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details. fdefault = yaml.load(f) xrun.py:60: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details. fyaml = yaml.load(f) Traceback (most recent call last): File "xrun.py", line 92, in x = hydraInterface(all_dict) TypeError: init*() missing 1 required positional argument: 'MPI_found' — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#1>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADX46YQNA73UT56W6XAYCT3STX5PDANCNFSM4URYLDUQ .