|
[Sponsors] |
Running Parallel on Windows using Python Scripts |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 18, 2013, 11:44 |
Running Parallel on Windows using Python Scripts
|
#1 |
New Member
|
The python scripts don't seem to be running as well on Windows as it is on Linux.
The first thing, I noticed when looking at the parallel_computation.py script was that it looked for an environment variable called SU2_RUN and I created an environment variable and also added the path to PATH. But now when I try to run it, it gives me the following error: C:\Program Files (x86)\Stanford ADL\SU2\Sandbox>python ../bin/parallel_computati on.py -p 12 -f config.cfg -------------------------------------------------------------------------- mpirun was unable to launch the specified application as it could not access or execute an executable: Executable: C:\Program Node: Workstation while attempting to start process rank 0. -------------------------------------------------------------------------- -------------------------------------------------------------------------- mpirun was unable to launch the specified application as it could not access or execute an executable: Executable: C:\Program Node: Workstation while attempting to start process rank 0. -------------------------------------------------------------------------- 12 total processes failed to start 'C:\Program' is not recognized as an internal or external command, operable program or batch file. So, it seems as though it breaks at the space between “Program Files”, so I added quotes around the run_SU2_DDC and run_SU2_CFD variables and now the error has changed to: C:\Program Files (x86)\Stanford ADL\SU2\bin>python parallel_computation.py -p 12 -f config.cfg -------------------------------------------------------------------------- mpirun was unable to launch the specified application as it could not access or execute an executable: Executable: C:\Program Files (x86)\Stanford ADL\SU2\bin\SU2_DDC config_DDC_confi g.cfg Node: Workstation while attempting to start process rank 0. -------------------------------------------------------------------------- -------------------------------------------------------------------------- mpirun was unable to launch the specified application as it could not access or execute an executable: Executable: C:\Program Files (x86)\Stanford ADL\SU2\bin\SU2_CFD config_CFD_confi g.cfg Node: Workstation while attempting to start process rank 0. -------------------------------------------------------------------------- 12 total processes failed to start 'C:\Program' is not recognized as an internal or external command, operable program or batch file. I did notice that the files config_DDC_config.cfg and config_CFD_config.cfg were not created. I’m not completely sure, why. It works fine on Linux, but just not on Windows. |
|
January 19, 2013, 15:56 |
|
#2 |
New Member
Michael Colonno
Join Date: Jan 2013
Location: Stanford, CA
Posts: 28
Rep Power: 13 |
Thanks for your interest in SU^2. It looks like you're running into a common problem with Python in Windows: spaces in path names. We're trying to find all these and clean them up. Please try to run from a path that does not contain any spaces and / or run directly from the executables (i.e. outside of the Python scripts). You are correct re: SU2_RUN; you need to set this per the installation documentation.
|
|
January 19, 2013, 20:07 |
|
#3 | |
New Member
|
Quote:
Installing it on C:\SU2 seemed to take care of that error (for now) Would you also be able to have some kind of instruction on installing the MPICH2 libraries as just installing the executable doesn't seem to have the configuration setup correctly. Also, it doesn't seem to have the mpirun enabled. I have changed the python scripts to run mpiexec. |
||
January 19, 2013, 20:11 |
|
#4 |
New Member
Michael Colonno
Join Date: Jan 2013
Location: Stanford, CA
Posts: 28
Rep Power: 13 |
Glad that got you going. For instructions regarding the setup and install of MPICH2, please refer to the MPICH2 for installation guide: http://www.mpich.org/static/docs/gui...stallguide.pdf. This will guide you through installation and testing step by step.
|
|
January 20, 2013, 13:55 |
|
#5 | |
New Member
|
Quote:
C:\SU2\Sandbox>python "C:\SU2\bin\parallel_computation.py" -f config.cfg ------------------------------------------------------------------------- | SU2 Suite (Domain Decomposition Code) | ------------------------------------------------------------------------- ------------------------ Physical case definition ----------------------- Input mesh file name: biplane.su2 -------------------------- Output information --------------------------- Don't visualize the partitions. ------------------- Config file boundary information -------------------- Euler wall boundary marker(s): airfoil. Far-field boundary marker(s): farfield. ---------------------- Read grid file information ----------------------- Three dimensional problem. 1886048 interior elements. 328995 points. 2 surface markers. 30756 boundary elements in index 0 (Marker = airfoil). 4168 boundary elements in index 1 (Marker = farfield). ----------------------- Preprocessing computations ---------------------- Identifying vertices. --------------------------- Read FFD information ------------------------ There is no FFD box definition. Just in case, review the .su2 file ---------------------- Performing mesh partitioning --------------------- Finished partitioning using METIS 5.0.2. (11714 edge cuts). job aborted: rank: node: exit code[: error message] 0: Workstation: -1073741571: process 0 exited without calling finalize There is no geometry file (GetnZone))! There is no geometry file (GetnZone))! Press any key to exit... Press any key to exit... But when I run the DDC code without mpiexec, I get this followed by CFD_DDC.exe has stopped working error. C:\SU2\Sandbox>C:\SU2\bin\SU2_DDC.exe config.cfg ------------------------------------------------------------------------- | SU2 Suite (Domain Decomposition Code) | ------------------------------------------------------------------------- ------------------------ Physical case definition ----------------------- Input mesh file name: biplane.su2 -------------------------- Output information --------------------------- Don't visualize the partitions. ------------------- Config file boundary information -------------------- Euler wall boundary marker(s): airfoil. Far-field boundary marker(s): farfield. ---------------------- Read grid file information ----------------------- Three dimensional problem. 1886048 interior elements. 328995 points. 2 surface markers. 30756 boundary elements in index 0 (Marker = airfoil). 4168 boundary elements in index 1 (Marker = farfield). ----------------------- Preprocessing computations ---------------------- Identifying vertices. --------------------------- Read FFD information ------------------------ There is no FFD box definition. Just in case, review the .su2 file ---------------------- Performing mesh partitioning --------------------- Finished partitioning using METIS 5.0.2. (54928 edge cuts). |
||
January 22, 2013, 16:06 |
|
#6 |
New Member
Milosz
Join Date: Jan 2013
Posts: 14
Rep Power: 13 |
Is anybody who can help with this? I've got stuck on the same error.
Last edited by curky; January 23, 2013 at 01:11. |
|
April 4, 2013, 13:37 |
This may help...
|
#7 |
New Member
David Tucker
Join Date: Jan 2013
Posts: 16
Rep Power: 13 |
I had a similar error with the "No Geometry File (GetnZone)" and looked back at a previous successfully-run config file.
The difference was the following lines I had commented out: % --------------------------- PARTITIONING STRATEGY ---------------------------% % % Number of partitions of the domain NUMBER_PART= 0 % % Write a paraview file for each partition (NO, YES) VISUALIZE_PART= NO ...my guess is that unless you specify otherwise, running the parallel computation python script will make the assumption that you already HAVE a partitioned mesh. I hope that helps! Dave |
|
Tags |
install, python, running, su2 |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Running mapFields with Parallel Source and Parallel Target | RDanks | OpenFOAM Pre-Processing | 4 | August 2, 2016 06:24 |
Case running in serial, but Parallel run gives error | atmcfd | OpenFOAM Running, Solving & CFD | 18 | March 26, 2016 13:40 |
parallel error with cyclic BCs for pimpleDyMFoam and trouble in resuming running | sunliming | OpenFOAM Bugs | 21 | November 22, 2013 04:38 |
Windows 7 parallel calculations | curky | SU2 Installation | 23 | May 14, 2013 03:17 |
RSH problem for parallel running in CFX | Nicola | CFX | 5 | June 18, 2012 19:31 |