Closed
Description
Under Windows 7, _shell_utils.NativeParser.split (WindowsParser.split) splits executable names containing blanks.
For my Intel Fortran compiler, it should return: ['C:\Program Files (x86)\IntelSWTools\compilers_and_libraries_2018\windows\bin\intel64\ifort.exe']
Currently, it returns: ['C:\Program', 'Files', '(x86)\IntelSWTools\compilers_and_libraries_2018\windows\bin\intel64\ifort.exe']
This results in:
- info message: "Could not locate executable C:\Program",
- incorrect compiler run commands:
compiling Fortran 90 module sources
Fortran f77 compiler: C:\Program Files (x86)\IntelSWTools\compilers_and_libraries_2018\windows\bin\intel64\ifort.exe Files (x86)\IntelSWTools\compilers_and_libraries_2018\windows\bin\intel64\ifort.exe /nologo /MD /nbs /names:lowercase /assume:underscore /O1 /arch:IA32 /QaxSSE3
Fortran f90 compiler: C:\Program Files (x86)\IntelSWTools\compilers_and_libraries_2018\windows\bin\intel64\ifort.exe Files (x86)\IntelSWTools\compilers_and_libraries_2018\windows\bin\intel64\ifort.exe /nologo /MD /nbs /names:lowercase /assume:underscore /O1 /arch:IA32 /QaxSSE3
Fortran fix compiler: C:\Program Files (x86)\IntelSWTools\compilers_and_libraries_2018\windows\bin\intel64\ifort.exe Files (x86)\IntelSWTools\compilers_and_libraries_2018\windows\bin\intel64\ifort.exe /nologo /MD /nbs /names:lowercase /assume:underscore /O1 /arch:IA32 /QaxSSE3
- warning message after compile instructions (see below)
Error message:
ifort.exe:f90: D:\PAJarrige\IstDvp\Gan_API\Python\gandll\pyGanSim.f90
ifort: command line warning #10161: unrecognized source type 'Files'; object file assumed
ifort: command line warning #10161: unrecognized source type '(x86)\IntelSWTools\compilers_and_libraries_2018\windows\bin\intel64\ifort.exe'; object file assumed
Numpy/Python version information:
1.18.0