-
I am using Julia v. 1.6.3 64bit in my windows machine. I have an FMU model (generated by 32bits simulation tool) which I tried to load it. However, I got the below error. ERROR: LoadError: AssertionError: Target platform is Windows, but can't find valid FMU binary at `` for path `path/to/file/myFMU`. I am wondering if the problem is because: julia> versioninfo()
Julia Version 1.6.3
Commit ae8452a9e0 (2021-09-23 17:34 UTC)
Platform Info:
OS: Windows (x86_64-w64-mingw32)
CPU: Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-11.0.1 (ORCJIT, skylake)
Environment:
JULIA_EDITOR = code
JULIA_NUM_THREADS = 6 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Dear @Amuri44, a 64-bit application is not capable of loading (and executing) a 32-bit binary. Because you are using a 64-Bit application, there are no executable files in a 32-bit FMU. So if you want to use a 32-bit FMU, you can try to install a 32-bit Julia and run it in compatibility mode on your 64-bit OS. See here: Stackoverflow. EDIT: 32-bit support added in version 0.3.11 Best regards, PS: This is more a question. For Q&A, please use the discussion function. The "issue"-function is meant to be for library related issues/bugs. I will move this topic to discussions. |
Beta Was this translation helpful? Give feedback.
Dear @Amuri44,
a 64-bit application is not capable of loading (and executing) a 32-bit binary. Because you are using a 64-Bit application, there are no executable files in a 32-bit FMU. So if you want to use a 32-bit FMU, you can try to install a 32-bit Julia and run it in compatibility mode on your 64-bit OS. See here: Stackoverflow.
And finally, I did not implement 32-bit support, but if someone is using it and Julia is availabel for 32-bit Windows I can do so (only 3 lines of code).
EDIT: 32-bit support added in version 0.3.11
Best regards,
Tobias
PS: This is more a question. For Q&A, please use the discussion function. The "issue"-function is meant to be for library related issues/bug…