CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Parallel calculation error

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 9, 2018, 03:34
Default Parallel calculation error
  #1
New Member
 
Join Date: Oct 2017
Posts: 6
Rep Power: 9
RayJohn is on a distinguished road
Dear friends:
When I use OF5.0, the following error occurs:

mpirun was unable to find the specified executable file, and therefore
did not launch the job. This error was first reported for process
rank 0; it may have occurred for other processes as well.

NOTE: A common cause for this error is misspelling a mpirun command
line parameter option (remember that mpirun interprets the first
unrecognized command line token as the executable).

Node: ai-virtual-machine
Executable: –np
--------------------------------------------------------------------------
4 total processes failed to start

The solver I use is interFoam. Hope to get your help, thanks.
RayJohn is offline   Reply With Quote

Old   June 9, 2018, 06:21
Default
  #2
Senior Member
 
anonymous
Join Date: Jan 2016
Posts: 416
Rep Power: 14
simrego is on a distinguished road
Hi!


What was the command?
You should use:

mpirun -np 4 interFoam -parallel
simrego is offline   Reply With Quote

Old   June 11, 2018, 06:48
Default Hi
  #3
New Member
 
Join Date: Oct 2017
Posts: 6
Rep Power: 9
RayJohn is on a distinguished road
Quote:
Originally Posted by simrego View Post
Hi!


What was the command?
You should use:

mpirun -np 4 interFoam -parallel
yes, I used this command.
RayJohn is offline   Reply With Quote

Old   June 11, 2018, 18:33
Default
  #4
New Member
 
physicsunited's Avatar
 
Pi-Man
Join Date: Feb 2018
Posts: 10
Rep Power: 8
physicsunited is on a distinguished road
Ray,

Are you on a virtual machine?
physicsunited is offline   Reply With Quote

Old   June 12, 2018, 11:38
Default
  #5
New Member
 
Join Date: Oct 2017
Posts: 6
Rep Power: 9
RayJohn is on a distinguished road
Quote:
Originally Posted by physicsunited View Post
Ray,

Are you on a virtual machine?
yes, on a virtual machine
RayJohn is offline   Reply With Quote

Old   June 12, 2018, 11:41
Default
  #6
New Member
 
physicsunited's Avatar
 
Pi-Man
Join Date: Feb 2018
Posts: 10
Rep Power: 8
physicsunited is on a distinguished road
Quote:
Originally Posted by RayJohn View Post
yes, on a virtual machine
Have you allocated access rights to multiple processors on your VM ?

If you've only allowed 1 processor as a resource, mpirun won't be able to access other processors.

Best,
K
physicsunited is offline   Reply With Quote

Reply

Tags
openfoam, parallel calculation


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[blockMesh] blockMesh with double grading. spwater OpenFOAM Meshing & Mesh Conversion 92 January 12, 2019 10:00
[OpenFOAM.org] Compile OF 2.3 on Mac OS X .... the patch gschaider OpenFOAM Installation 225 August 25, 2015 20:43
[swak4Foam] installing funkySetFields igo OpenFOAM Community Contributions 1 November 20, 2012 21:16
ParaView for OF-1.6-ext Chrisi1984 OpenFOAM Installation 0 December 31, 2010 07:42
Problem with compile the setParabolicInlet ivanyao OpenFOAM Running, Solving & CFD 6 September 5, 2008 21:50


All times are GMT -4. The time now is 15:53.