|
[Sponsors] |
June 27, 2019, 04:34 |
OpenFOAM Running error with multiple nodes
|
#1 |
Member
Dokeun, Hwang
Join Date: Apr 2010
Location: Korea, Republic of
Posts: 98
Rep Power: 16 |
Dear foamers.
There is 2 nodes and each node has n processors. The default ver is 2.4 and I wanted to dev-version. When I use single node. I just typed ‘ofdev’ to change the version. Whenever I change node, I have to type the command ‘ofdev’. Now I’m trying to run my case with multiple nodes in a cluster which has several versions of OpenFOAM. So, I command as below. Code:
mpirun —hostfile machines -np 12 Solver(ex: InterFoam) > log & Code:
node1 cpu=6 node2 cpu=6 Code:
bash: of240: command not found I think it because the default ver is 2.4 and there was no change command for other node in my command for running openfoam with multiple nodes. How can I fix this problem? Last edited by dokeun; June 27, 2019 at 04:35. Reason: To specify the number of processors |
|
June 28, 2019, 01:04 |
Any one who helps me?
|
#2 |
Member
Dokeun, Hwang
Join Date: Apr 2010
Location: Korea, Republic of
Posts: 98
Rep Power: 16 |
I refered BPS script from https://www.hpc.dtu.dk/?page_id=1024#Parallel
There is a command as Code:
# -- load OpenFOAM -- module load OpenFoam/2.3.0/gcc-4.8.3-openmpi Code:
module mpi/openmpi-x86_64 But I have no idea how to load specific version of openfoam with module command. Would someone give me a hint? Thank you in advance. ————————————— I knew I had to change my bashrc I edit home/users/dokeun/.bashrc I add the code Code:
export FOAM_INST_DIR=/usr/local/OpenFOAM; . $FOAM_INST_DIR/OpenFOAM-dev/etc/bashrc But the log is as below Code:
————————————————————————————————————- mpirun was unable to find the specified excutable file, and therefor did not launc 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 paramter option (remember that mpirun interprets the first unrecognized command line token as the excutable). Node: Dnode1 Excutable: multiphaseInterFoam ————————————————————————————————————- 8 total processes failed to start Code:
#!/bin/sh #PBS -N log.PBS #PBS -l walltime=24:00:00 #PBS -l nodes=2:ppn=12 #.. mpirun —hostfile nachines -np 16 multiphaseInterFoam -parallel > log.multiphaseInterFoam Last edited by dokeun; June 28, 2019 at 03:36. Reason: More inform |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Docker] Running OpenFoam 4.1 from script without user intervention | fnellmeldin | OpenFOAM Running, Solving & CFD | 9 | June 7, 2017 19:04 |
OpenFOAM v3.0.1 Training, London, Houston, Berlin, Jan-Mar 2016 | cfd.direct | OpenFOAM Announcements from Other Sources | 0 | January 5, 2016 04:18 |
OpenFOAM Training, London, Chicago, Munich, Sep-Oct 2015 | cfd.direct | OpenFOAM Announcements from Other Sources | 2 | August 31, 2015 14:36 |
Kubuntu uses dash breaks All scripts in tutorials | platopus | OpenFOAM Bugs | 8 | April 15, 2008 08:52 |
CFX4.3 -build analysis form | Chie Min | CFX | 5 | July 13, 2001 00:19 |