|
[Sponsors] |
[SOLVED] TORQUE / mpirun - error while loading shared libraries |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 14, 2016, 06:40 |
[SOLVED] TORQUE / mpirun - error while loading shared libraries
|
#1 |
New Member
Join Date: Oct 2016
Posts: 1
Rep Power: 0 |
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. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Foam::error::PrintStack | almir | OpenFOAM Running, Solving & CFD | 92 | Today 07:56 |
Decomposing meshes | Tobi | OpenFOAM Pre-Processing | 22 | February 24, 2023 09:23 |
[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 |