CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   SU2 (https://www.cfd-online.com/Forums/su2/)
-   -   SU2 MPI Error 133 (https://www.cfd-online.com/Forums/su2/132938-su2-mpi-error-133-a.html)

CrashLaker April 8, 2014 04:52

SU2 MPI Error 133 [Solved]
 
Hello guys.

I tried running Onera M6 (Tutorial 2) on a cluster and got an error n#133
which was:
Code:

mpirun was unable to launch the specified application as it could not find an executable:
This is what it echoed:
Code:

export SU2_RUN="/scratch/ramos/su2mpi/bin"
export PYTHONPATH="${PYTHONPATH}:/scratch/ramos/su2mpi/bin/SU2/run"
time /scratch/ramos/python2.7/bin/python  /scratch/ramos/su2mpi/bin/parallel_computation.py -f inv_ONERAM6.cfg -p 8 -d 8
Traceback (most recent call last):
  File "/scratch/ramos/su2mpi/bin/parallel_computation.py", line 113, in <module>
    main()
  File "/scratch/ramos/su2mpi/bin/parallel_computation.py", line 58, in main
    options.divide_grid  )
  File "/scratch/ramos/su2mpi/bin/parallel_computation.py", line 90, in parallel_computation
    info = SU2.run.CFD(config)
  File "/scratch/ramos/su2mpi/bin/SU2/run/interface.py", line 93, in CFD
    run_command( the_Command )
  File "/scratch/ramos/su2mpi/bin/SU2/run/interface.py", line 279, in run_command
    raise Exception , message
Exception: Path = /scratch/ramos/su2tests/oneram6v1/,
Command = mpirun -np 8 - machinefile hosts /scratch/ramos/su2mpi/bin/SU2_CFD config_CFD.cfg
SU2 process returned error '133'
--------------------------------------------------------------------------
mpirun was unable to launch the specified application as it could not find an executable:

Executable: -
Node: puma47

while attempting to start process rank 0.
--------------------------------------------------------------------------

Do you know what might be the cause?

thanks!

Edit: Problem solved!

CrashLaker April 8, 2014 13:49

Edit. post on wrong thread..

aniketaranake April 8, 2014 17:12

Hello Carlos,

In your run command it looks as though you've included a machinefile. This is not the default behavior of this script; have you modified it?

Anyway, the problem is that there is a space between the - and the machine file. The corrected command is:
mpirun -np 8 -machinefile hosts /scratch/ramos/su2mpi/bin/SU2_CFD config_CFD.cfg
You can run this command directly (in the directory containing the file hosts) or repair the python script.

Cheers!
Aniket

lmanrique April 8, 2014 17:47

delete this reply!

CrashLaker April 9, 2014 06:52

Quote:

Originally Posted by aniketaranake (Post 484770)
Hello Carlos,

In your run command it looks as though you've included a machinefile. This is not the default behavior of this script; have you modified it?

Anyway, the problem is that there is a space between the - and the machine file. The corrected command is:
mpirun -np 8 -machinefile hosts /scratch/ramos/su2mpi/bin/SU2_CFD config_CFD.cfg
You can run this command directly (in the directory containing the file hosts) or repair the python script.

Cheers!
Aniket

Hello Aniket!

Thanks for your reply!
There's indeed a space between "-" and machinefile. But when I go to the file where I've edited it appears correct:
Code:

mpi_Command = 'mpirun -np %i -machinefile hosts %s'
But the report print is wrong wth :(

CrashLaker April 9, 2014 07:30

Hello. I don't what exactly happened but I rewrote the same line and it worked like a glove.

Thanks Aniket!

Problem solved!

Edit1: Actually a mate seeing this edited the file for me haha. Thanks guys!


All times are GMT -4. The time now is 20:36.