Replies: 3 comments 2 replies
-
problem fixed by adding -Dcustom-mpi=true to 'python meson.py build' command. But now ninja is causing problems, asking for a mpi.h file. this is same problem with #1323 I guess no solution for windows yet? |
Beta Was this translation helpful? Give feedback.
0 replies
-
I'm not sure if you have already done so already, but have you installed
MPI on your PC and added it to the system path so ninja can find it?
…On Thu, 1 Dec 2022, 13:57 jjywow, ***@***.***> wrote:
problem fixed by adding -Dcustom-mpi=true to 'python meson.py build'
command.
But now ninja is causing problems, asking for a mpi.h file. this is same
problem with #1323 <#1323>
I guess no solution for windows yet?
—
Reply to this email directly, view it on GitHub
<#1838 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEAP4EWYBSR67GWJMEO6C73WLAV2JANCNFSM6AAAAAASPYJJHQ>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
1 reply
-
Hi,
Sorry, I've not tried compiling on Windows before... I hope that if someone
else has a good idea, they can chime in!
…On Fri, 2 Dec 2022, 13:22 jjywow, ***@***.***> wrote:
hello,
yes I installed Microsoft MPI v10.1.2 and added the path to system path
have you compile in winow?
—
Reply to this email directly, view it on GitHub
<#1838 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEAP4EVM2JD5YLTIKAXWTW3WLF2P3ANCNFSM6AAAAAASPYJJHQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
OS: Window
gcc 8.1.0
Microsoft MPI v10.1.2
SU2 Version: 7.4.0 "Blackbird"
I tried "python meson.py build" and encountered OSError: [WinError 123] and Meson bug message.
following is a result of meson build and error message can be found at the last.
Anyone can help?
(SU) PS C:\Program Files\su2code> python meson.py build
git command not found. Using fall-back method to init submodules
Downloading CoDiPack 'b576224d5ea686fb8385b7ba6b5df0743d2be8aa'
Downloading MeDiPack '6aef76912e7099c4f08c9705848797ca9e8070da'
Downloading OpDiLib '1aabf5bd1ed77611742eb655002f2ac7a3dddef9'
Downloading meson '41c650a040d50e0912d268af7a903a9ce1456dfa'
Downloading ninja '52649de2c56b63f42bc59513d51286531c595b44'
Downloading Mutationpp '5ff579f43781cae07411e5ab46291c9971536be6'
Downloading MEL '2484cd3258ef800a10e361016cb341834ee7930b'
Downloading ninja ...
The Meson build system
Version: 0.61.1
Source dir: C:\Program Files\su2code
Build dir: C:\Program Files\su2code\build
Build type: native build
Project name: SU2
Project version: 7.4.0 "Blackbird"
C compiler for the host machine: gcc (gcc 8.1.0 "gcc (x86_64-posix-seh-rev0, Built by MinGW-W64 project) 8.1.0")
C linker for the host machine: gcc ld.bfd 2.30
C++ compiler for the host machine: c++ (gcc 8.1.0 "c++ (x86_64-posix-seh-rev0, Built by MinGW-W64 project) 8.1.0")
C++ linker for the host machine: c++ ld.bfd 2.30
Host machine cpu family: x86_64
Host machine cpu: x86_64
Program python3 found: YES (C:\Users\user\anaconda3\envs\SU\python.exe)
WARNING: Python files installed by Meson might not be found by python interpreter.
This warning can be avoided by setting "python.platlibdir" option.
WARNING: Python files installed by Meson might not be found by python interpreter.
This warning can be avoided by setting "python.purelibdir" option.
############
omit
#############
Build targets in project: 16
Found ninja.exe-1.9.0 at "C:\Program Files\su2code\ninja.exe"
Traceback (most recent call last):
File "C:\Program Files\su2code\externals\meson\mesonbuild\mesonmain.py", line 146, in run
return options.run_func(options)
File "C:\Program Files\su2code\externals\meson\mesonbuild\msetup.py", line 294, in run
app.generate()
File "C:\Program Files\su2code\externals\meson\mesonbuild\msetup.py", line 185, in generate
self._generate(env)
File "C:\Program Files\su2code\externals\meson\mesonbuild\msetup.py", line 247, in _generate
intr.backend.generate()
File "C:\Program Files\su2code\externals\meson\mesonbuild\backend\ninjabackend.py", line 553, in generate
self.generate_target(t)
File "C:\Program Files\su2code\externals\meson\mesonbuild\backend\ninjabackend.py", line 900, in generate_target
elem = self.generate_link(target, outname, final_obj_list, linker, pch_objects, stdlib_args=stdlib_args)
File "C:\Program Files\su2code\externals\meson\mesonbuild\backend\ninjabackend.py", line 3062, in generate_link
dep_targets.extend(self.guess_external_link_dependencies(linker, target, commands, internal))
File "C:\Program Files\su2code\externals\meson\mesonbuild\backend\ninjabackend.py", line 2907, in guess_external_link_dependencies
search_dirs, static_patterns)
File "C:\Program Files\su2code\externals\meson\mesonbuild\backend\ninjabackend.py", line 2848, in guess_library_absolute_path
trial = CCompiler._get_file_from_list(self.environment, trial)
File "C:\Program Files\su2code\externals\meson\mesonbuild\compilers\mixins\clike.py", line 1036, in _get_file_from_list
if p.is_file():
File "C:\Users\user\anaconda3\envs\SU\lib\pathlib.py", line 1387, in is_file
return S_ISREG(self.stat().st_mode)
File "C:\Users\user\anaconda3\envs\SU\lib\pathlib.py", line 1183, in stat
return self._accessor.stat(self)
OSError: [WinError 123] The filename, directory name, or volume label syntax is incorrect: 'C:\Program Files\mingw64\bin\..\lib\gcc\x86_64-w64-mingw32\8.1.0\libC:\Program Files (x86)\Microsoft SDKs\MPI\Lib\x64\msmpi.a'
ERROR: Unhandled python exception
This is a Meson bug and should be reported!
Beta Was this translation helpful? Give feedback.
All reactions