[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [ptp-user] error while loading shared libraries: libimf.so: cannot open shared object file: No such file or directory
|
Hamid,
It seems you're trying to run on a RHEL
x86 cluster, but it seems the SLURM configuration you've chosen is for
the IBM BlueGene/P system. The NP="-np 4" line in the script
tells me this.
In order to use SLURM on an x86 cluster
you need to choose the "SLURM-Generic-Batch" resource manager.
Also what version of Eclipse PTP are
you using. You might have an old version of the SLURM configs.
Regards,
Simon
Wail, Ph.D
|
Research
Scientist
|
| IBM
Research - Australia
|
|
phone:
| +61
3 9921-3872
|
address:
| Level
5, 204 Lygon St
|
| Carlton
VIC 3053 Australia
|
email:
| simon.wail@xxxxxxxxxxx |
|
From:
"Hamid Hamraz"
<hhamraz@xxxxxxxxx>
To:
"PTP User list"
<ptp-user@xxxxxxxxxxx>
Date:
16/01/2014 05:14 am
Subject:
Re: [ptp-user]
error while loading shared libraries: libimf.so: cannot
open shared object file: No such file or directory
Sent by:
ptp-user-bounces@xxxxxxxxxxx
Hi David,
I grabbed the LD_LIBRARY_PATH value from
the server, and put that as you advised.
Here is the script produced by Eclipse:
#!/bin/bash
#SBATCH --workdir=/home/sha264/mpi_test
#SBATCH --job-name=ptp_sbatch
#SBATCH --nodes=2
#SBATCH --partition=debug
#SBATCH --time=00:01:00
export LD_LIBRARY_PATH="/share/cluster/RHEL6.2/x86_64/apps/openmpi/1.6.2/lib:/share/cluster/RHEL6.2/x86_64/apps/intel/ict/composer_xe_2013.0.079/compiler/lib/intel64:/share/cluster/RHEL6.2/x86_64/apps/intel/ict/composer_xe_2013.0.079/mkl/lib/intel64"
# Set mpirun arguments
NP="-np 4"
CWD="-cwd /home/sha264/mpi_test"
if [ "" = "--reboot" ]; then
REBOOT="-reboot"
fi
MPI_ARGS="${NP} ${MODE} ${CWD} ${MAPFILE} ${LABEL} ${REBOOT} ${VERBOSE}
${TRACE} ${CONFIG}"
# Set mpirun environment variables
MPI_ENV="-env_all"
COMMAND="mpirun ${MPI_ARGS} ${MPI_ENV} /home/sha264/mpi_test/hello
"
cd /home/sha264/mpi_test
${COMMAND}
BTW, Eclipse complains:
Problem Occurred
'Launching DLXHello' has encountered a problem.
sbatch Exited with value: 1
sbatch: error: Batch job submission failed: Node count
specification invalid
Job Submit Failed
Do you have any advice?
BTW, the working script I wrote manually looks like:
#!/bin/bash
#SBATCH -n 4
#SBATCH -t 00:01:00
#SBATCH -J hello_job
#SBATCH -o output.txt
mpirun hello
Any idea?
Thanks,
Hamid
----- Original Message -----
From: David
Wootton
To: PTP
User list
Sent: Wednesday, January 15, 2014 11:33 AM
Subject: Re: [ptp-user] error while loading shared
libraries: libimf.so: cannot open shared object file: No such file or directory
On 01/14/2014 03:31 PM, Hamid Hamraz wrote:
Hello List,
I am running Eclipse and PTP on Windows and
trying to develop a remote MPI project. So far, I could compile my hello
world C file and get the executable. BTW, I couldn't have been able to
run the executable on the remote server. I keep receiving:
mpirun: error while loading shared libraries: libimf.so:
cannot open shared object file: No such file or directory
which is related to the PATH environment variable.
Looking online resources, I am advised to set the LD_LIBRARY_PATH. However,
I don't know where on Eclipse I should set that and to what value should
it be set. I appreciate your help.
Thank you.
Hamid Hamraz
_______________________________________________
ptp-user mailing list
ptp-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ptp-user
Hamid
It looks like libimf.so is an Intel library so you need to find the directory
containing that library, for instance /opt/intel/composer_xe_2013_sp1.1.106/compiler/lib/intel64/libimf.so,
and add it to the setting for LD_LIBRARY_PATH.
LD_LIBRARY_PATH can be set in the Environment tab of the run configuration
for your application by clicking the New button, filling in the Name field
with LD_LIBRARY_PATH and the Value field with what you would specify as
your complete library search path
Dave
_______________________________________________
ptp-user mailing list
ptp-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ptp-user_______________________________________________
ptp-user mailing list
ptp-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ptp-user