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

[SOLVED] TORQUE / mpirun - error while loading shared libraries

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   October 14, 2016, 06:40
Default [SOLVED] TORQUE / mpirun - error while loading shared libraries
  #1
New Member
 
Join Date: Oct 2016
Posts: 1
Rep Power: 0
pseudonym474 is on a distinguished road
UPDATE: ...


It appears that the mpirun I was using was not compiled with TORQUE support, or at least it was necessary to add the option "-x LD_LIBRARY_PATH".


Case closed.

__________________________________________________ ___________________


Hi


I have installed OpenFOAM-v1606+ on a cluster under my home directory.

It runs fine in parallel on the local node. but when I "qsub" a script containing the "mpirun" command to our cluster I get the following error

************************************************** *********
${HOME}/OpenFOAM/OpenFOAM-v1606+/platforms/linux64GccDPInt32Opt/bin/interFoam: error while loading shared libraries: libimmiscibleIncompressibleTwoPhaseMixture.so: cannot open shared object file: No such file or directory
************************************************** *********

When I qsub in interactive mode, I see that the directory containing the shared library is in my LD_LIBRARY_PATH

My submission script is given below. I could try installing the OpenFOAM foundation version, but does anyone have any idea why I am hitting the issue.

Thanks.


************************************************** **********
#!/bin/csh
# declare a name for this job to be sample_job
#PBS -N par_db
# request a total of 16 processors for this job (2 nodes and 8 processors per node)
#PBS -l nodes=2: ppn=8
# combine PBS standard output and error files
#PBS -j oe

set solver=interFoam

set fp2solver="${HOME}/OpenFOAM/OpenFOAM-v1606+/platforms/linux64GccDPInt32Opt/bin/"${solver}

# set up the OpenFOAM environment
source ${HOME}/OpenFOAM/OpenFOAM-v1606+/etc/cshrc .

#change to the directory where you submitted the job
cd $PBS_O_WORKDIR

mpirun -machinefile hosts -np 16 $fp2solver -parallel

# exit!
exit 0
************************************************** **********

Last edited by pseudonym474; October 14, 2016 at 08:12.
pseudonym474 is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
decomposePar problem: Cell 0contains face labels out of range vaina74 OpenFOAM Pre-Processing 30 August 23, 2017 13:25
Foam::error::PrintStack almir OpenFOAM Running, Solving & CFD 83 July 22, 2017 08:26
Decomposing meshes Tobi OpenFOAM Pre-Processing 4 July 13, 2017 05:03
Importing Multiple Meshes thomasnwalshiii OpenFOAM Meshing & Mesh Conversion 18 December 19, 2015 19:57
swak4foam newbie29 OpenFOAM Installation 82 July 18, 2015 17:16


All times are GMT -4. The time now is 23:06.