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 -----
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
Hamid
It looks like this fixed the problem finding the library. Unfortunately I don't know anything about SLURM, which I think is the batch scheduler you are using, based on a google search for the sbatch command.
All I could find, by search for the sbatch 'Node count specification invalid' message, was that there's some problem with how you are specifying nodes. The page I found suggests you are asking for more nodes than are available, but I don't know if that's the only reason for the message.
Others on the PTP team might be more knowledgeable about SLURM and might be able to help.
Dave