invalid command name " mpirun"
Moderator: selimgunay
-
- Posts: 39
- Joined: Sun Apr 19, 2009 12:03 am
- Location: Iran
invalid command name " mpirun"
dear fmk
when OpenSeesSP interpreter is run from the command line with the command " mpirun -np 7 OpenSeesSingleParallelInterpreter ida.txt " , It returns the invalid command name " mpirun " (look at the openseesSp screen copied in the following ) . what is the reason ?
best regard
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
Master Process Running OpenSees Interpreter 0
OpenSees -- Open System For Earthquake Engineering Simulation
Pacific Earthquake Engineering Research Center -- 2.4.3 (rev 5645)
(c) Copyright 1999-2013 The Regents of the University of California
All Rights Reserved (Copyright and Disclaimer @ http://www.berkeley.edu/OpenSees/copyright.html)
OpenSees > mpirun -np 4 OpenSeesSingleParallelInterpreter ida.txt
invalid command name "mpirun"
OpenSees >
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
when OpenSeesSP interpreter is run from the command line with the command " mpirun -np 7 OpenSeesSingleParallelInterpreter ida.txt " , It returns the invalid command name " mpirun " (look at the openseesSp screen copied in the following ) . what is the reason ?
best regard
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
Master Process Running OpenSees Interpreter 0
OpenSees -- Open System For Earthquake Engineering Simulation
Pacific Earthquake Engineering Research Center -- 2.4.3 (rev 5645)
(c) Copyright 1999-2013 The Regents of the University of California
All Rights Reserved (Copyright and Disclaimer @ http://www.berkeley.edu/OpenSees/copyright.html)
OpenSees > mpirun -np 4 OpenSeesSingleParallelInterpreter ida.txt
invalid command name "mpirun"
OpenSees >
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
Re: invalid command name " mpirun"
You are running it wrong.
you use mpirun when you first call OpenSees not after you have already called it. Also I think its called OpenSeesSP or OpenSeesMP and no longer called OpenSeesSingl.... unless that is the name you compiled it in?
you use mpirun when you first call OpenSees not after you have already called it. Also I think its called OpenSeesSP or OpenSeesMP and no longer called OpenSeesSingl.... unless that is the name you compiled it in?
-
- Posts: 39
- Joined: Sun Apr 19, 2009 12:03 am
- Location: Iran
Re: invalid command name " mpirun"
dear brag006
thanks for your help but i don't understand your mean . can you explain more in detail ?
thanks for your help but i don't understand your mean . can you explain more in detail ?
Re: invalid command name " mpirun"
he means that you normally start openseesMP or SP running with the mpirun command .. you do not normally place the command inside the script (if you do, AND YOU PROBABLY DO NOT, you would use it with another command).
-
- Posts: 39
- Joined: Sun Apr 19, 2009 12:03 am
- Location: Iran
Re:why invalid command name " mpirun"
Dear fmk
I read the Documentation described openseesSp and OpenSeesMp use, additional commands, modified commands, and some examples (http://opensees.berkeley.edu/OpenSees/p ... rallel.php ) completely . according to this document (section 4.2) it is possible to use the script that is exactly the same as a regular opensees script that run on a sequential or single processor machine but for domain decomposition it is only need the user start opensees interpreter (OpenSeesSP) from the command line with a command such as " mpirun -np 4 OpenSeesParallelInterpreter main1.tcl " . i did this but invalid command name mpirun was returned . you and brag006 suggested to place the command inside the script , it is done but any results earned , i mean invalid comman name mpirun was returned again .whether the command must be used in special location ?
Please do me a favor and help me to solve the problem .
Thank you
I read the Documentation described openseesSp and OpenSeesMp use, additional commands, modified commands, and some examples (http://opensees.berkeley.edu/OpenSees/p ... rallel.php ) completely . according to this document (section 4.2) it is possible to use the script that is exactly the same as a regular opensees script that run on a sequential or single processor machine but for domain decomposition it is only need the user start opensees interpreter (OpenSeesSP) from the command line with a command such as " mpirun -np 4 OpenSeesParallelInterpreter main1.tcl " . i did this but invalid command name mpirun was returned . you and brag006 suggested to place the command inside the script , it is done but any results earned , i mean invalid comman name mpirun was returned again .whether the command must be used in special location ?
Please do me a favor and help me to solve the problem .
Thank you
Re: invalid command name " mpirun"
this is not an OpenSees issue, bu an mpi problem you have. you really need to learn how to use the mpi installed on your machine to start a parallel application (i.e. OpenSeesSP).
it might be mpiexec on your machine instead of mpirun. go look at the documentation and simple tutorials on the web for how to use mpi.
it might be mpiexec on your machine instead of mpirun. go look at the documentation and simple tutorials on the web for how to use mpi.