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

Running OpenFOAM on LSF platform

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By DominicTNC

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 24, 2017, 06:32
Default Running OpenFOAM on LSF platform
  #1
Member
 
Dominic
Join Date: Jan 2017
Posts: 41
Rep Power: 9
DominicTNC is on a distinguished road
Dear Foamers,

Currently I am trying to run OpenFoam on LSF platform. Even though I have read many reference materials, but I still can't make it works. I really need help on this. Would anyone shed some light on this? Any comments are appreciated. Thank you.

My script is shown below:
<<<<<<<<<<<<<<<<<snappy.lsf>>>>>>>>>>>>>>>
Code:
#! /bin/bash
#BSUB -n 264
#BSUB -q model_queue_high
#BSUB -e openmpi_%J.err
#BSUB -o openmpi_%J.out
#BSUB -R "span[ptile=8]"

export PATH="/usr/mpi/gcc/openmpi-1.3.2/bin:$PATH"
export LD_LIBRARY_PATH="/usr/mpi/gcc/openmpi-1.3.2/lib64:$LD_LIBRARY_PATH"

for i in $LSB_HOSTS
do echo $i >> machineFile
done

source /prod_model/home/R2test/OpenFOAM/OpenFOAM-2.4.0/etc/bashrc

mpirun -np 264 --hostfile machineFile snappyHexMesh -overwrite -parallel > Smesh.log
--------------------------------------------------------------------

And I type
Code:
bsub < snappy.lsf
to submit the job.

All the output message are attached here as reference.
openmpi_784507.out.txt

openmpi_784507.err.txt

machineFile.txt

Any ideas? Many Thanks!
scopolamine likes this.
DominicTNC is offline   Reply With Quote

Reply


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
Frequently Asked Questions about Installing OpenFOAM wyldckat OpenFOAM Installation 3 November 14, 2023 12:58
[Docker] Running OpenFoam 4.1 from script without user intervention fnellmeldin OpenFOAM Running, Solving & CFD 9 June 7, 2017 19:04
3D simulations OpenFoam running too low(more 1 000 000 elements) Suggestion speed up? silvai OpenFOAM Running, Solving & CFD 4 April 6, 2017 12:44
OpenFOAM Training Jan-Jul 2017, Virtual, London, Houston, Berlin CFDFoundation OpenFOAM Announcements from Other Sources 0 January 4, 2017 07:15
New OpenFOAM Forum Structure jola OpenFOAM 2 October 19, 2011 07:55


All times are GMT -4. The time now is 22:27.