CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > 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 Search this Thread 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 Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Decomposing meshes Tobi OpenFOAM Pre-Processing 22 February 24, 2023 09:23
Foam::error::PrintStack almir OpenFOAM Running, Solving & CFD 91 December 21, 2022 04:50
[swak4Foam] difficulties installing swak4foam newbie29 OpenFOAM Community Contributions 120 October 21, 2022 04:01
decomposePar problem: Cell 0contains face labels out of range vaina74 OpenFOAM Pre-Processing 37 July 20, 2020 05:38
[mesh manipulation] Importing Multiple Meshes thomasnwalshiii OpenFOAM Meshing & Mesh Conversion 18 December 19, 2015 18:57


All times are GMT -4. The time now is 18:44.