problem in Running an ESyS-Particle simulation from the command- line

Asked by Divyamahalakshmi.M

Dear Sir,

I was trying to run simulation of two particle collision (bingle.py which is taken from tutorial). I am getting following error. please someone help.

divya@divya-Lenovo-B460e:~$ mpirun -np 2 ‘which esysparticle‘ firsttry.py
--------------------------------------------------------------------------
mpirun was unable to launch the specified application as it could not find an executable:

Executable: ‘which
Node: divya-Lenovo-B460e

while attempting to start process rank 0.
--------------------------------------------------------------------------
2 total processes failed to start

Thanks and Regards
Divya

Question information

Language:
English Edit question
Status:
Solved
For:
ESyS-Particle Edit question
Assignee:
No assignee Edit question
Solved by:
Feng Chen
Solved:
Last query:
Last reply:
Revision history for this message
Feng Chen (fchen3-gmail) said :
#1

Divya:

Are you using back quote/back ticks `` instead of single quote '' before and after `which esysparticle`?

Feng

Revision history for this message
Divyamahalakshmi.M (mahachem2008) said :
#2

Dear Sir,

I am using single quote only sir. I could not understand the meaning of following error "mpirun was unable to launch the specified application as it could not find an executable". I could not find solution. Please give suggestion to solve this.

Thanks and Regards
Divya

Revision history for this message
Best Feng Chen (fchen3-gmail) said :
#3

Hi, Divya:

You need to use backquotes (backtick) to surround `which esysparticle` instead of single quotes as this will return the full (absolute path) of esysparticle and pass this parameter to mpirun. You might need to google some references about bash fundamentals:

http://unix.stackexchange.com/questions/27428/what-does-backquote-backtick-mean-in-bash

Before running your full command, try in your terminal:

$which esysparticle

to verify if you have installed esysparticle correctly.

Regards,

Feng

Revision history for this message
Divyamahalakshmi.M (mahachem2008) said :
#4

Dear Sir,

Thank you very much. your reply is very helpful

Thanks and Regards
Divya

Revision history for this message
Divyamahalakshmi.M (mahachem2008) said :
#5

Thanks Feng Chen, that solved my question.