|
[Sponsors] |
[OpenFOAM.org] unable to find the specified executable file - likely env vars |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 24, 2020, 15:03 |
unable to find the specified executable file - likely env vars
|
#1 |
New Member
Erik
Join Date: Jan 2020
Posts: 1
Rep Power: 0 |
I'm helping a friend get mpirun in parallel (multiple hosts) going. Things seem to work just fine on a single host.
I realize that openfoam5 is old, but that's what he's got installed. openfoam is installed to /opt/openfoam5 on all hosts, and we have NFS mounting the test files/data in the same place on all hosts I'm trying to run the incompressible/simpleFoam/motorBike tutorial from the installation just to validate that multiple machines work. passwordless SSH works in all directions. Here's the machines file: Code:
localhost slots=3 10.0.0.113 slots=3 Code:
Cleaning /home/rob/cases/incompressible/simpleFoam/motorBike case Running surfaceFeatureExtract on /home/rob/cases/incompressible/simpleFoam/motorBike Running blockMesh on /home/rob/cases/incompressible/simpleFoam/motorBike Running decomposePar on /home/rob/cases/incompressible/simpleFoam/motorBike /*---------------------------------------------------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 5.x | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ Build : 5.x-68e8507efb72 Exec : snappyHexMesh -overwrite Date : Jan 24 2020 Time : 14:48:59 Host : "solver10" PID : 61205 I/O : uncollated Case : /home/rob/cases/incompressible/simpleFoam/motorBike nProcs : 1 sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE). fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 10) allowSystemOperations : Allowing user-supplied system call operations // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time Create mesh for time = 0 Read mesh in = 0 s Overall mesh bounding box : (-5 -4 0) (15 4 8) Relative tolerance : 1e-06 Absolute matching distance : 2.29783e-05 /*---------------------------------------------------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 5.x | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ Build : 5.x-68e8507efb72 Exec : snappyHexMesh -overwrite Date : Jan 24 2020 Time : 14:48:59 Host : "solver10" PID : 61206 I/O : uncollated Case : /home/rob/cases/incompressible/simpleFoam/motorBike nProcs : 1 sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE). fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 10) allowSystemOperations : Allowing user-supplied system call operations // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time Create mesh for time = 0 Read mesh in = 0 s Overall mesh bounding box : (-5 -4 0) (15 4 8) Relative tolerance : 1e-06 Absolute matching distance : 2.29783e-05 /*---------------------------------------------------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 5.x | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ Build : 5.x-68e8507efb72 Exec : snappyHexMesh -overwrite Date : Jan 24 2020 Time : 14:48:59 Host : "solver10" PID : 61207 I/O : uncollated Case : /home/rob/cases/incompressible/simpleFoam/motorBike nProcs : 1 sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE). fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 10) allowSystemOperations : Allowing user-supplied system call operations // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time Create mesh for time = 0 Read mesh in = 0 s Overall mesh bounding box : (-5 -4 0) (15 4 8) Relative tolerance : 1e-06 Absolute matching distance : 2.29783e-05 -------------------------------------------------------------------------- mpirun was unable to find the specified executable file, and therefore did not launch the job. This error was first reported for process rank 3; 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: 10.0.0.113 Executable: /opt/openfoam5/platforms/linux64GccDPInt32Opt/bin/snappyHexMesh -------------------------------------------------------------------------- 3 total processes failed to start Code:
No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 18.04.3 LTS Release: 18.04 Codename: bionic Code:
source /opt/openfoam5/etc/bashrc If I try to do the following: Code:
ssh rob@10.0.0.113 /opt/openfoam5/platforms/linux64GccDPInt32Opt/bin/snappyHexMesh So, I'm not entirely sure where to go from here. Any thoughts? Trying to pass environment variables with PermitUesrEnv / AcceptEnv /SendEnv didn't quite seem to do the trick (couldn't get PATH working right). Trying to use .profile/.bash_profile/etc to source also didn't seem to work PermitUserRC and trying to source the bashrc resulted in other weird problems (for example -- the source command couldn't be found).... I'm kind of out of thoughts here... |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM.org] Error creating ParaView-4.1.0 OpenFOAM 2.3.0 | tlcoons | OpenFOAM Installation | 13 | April 20, 2016 17:34 |
what is swap4foam ?? | AB08 | OpenFOAM | 28 | February 2, 2016 01:22 |
[OpenFOAM.org] Compile OF 2.3 on Mac OS X .... the patch | gschaider | OpenFOAM Installation | 225 | August 25, 2015 19:43 |
[Other] Adding solvers from DensityBasedTurbo to foam-extend 3.0 | Seroga | OpenFOAM Community Contributions | 9 | June 12, 2015 17:18 |
SparceImage v1.7.x Issue on MAC OS X | rcarmi | OpenFOAM Installation | 4 | August 14, 2014 06:42 |