troubleshooting Question

Cron job in Linux? Please explain for me this script.

YANKAUSKASFlag for United States of America asked on
LinuxLinux Distributions
1 Comment1 Solution605 ViewsLast Modified:
I'm using LAMMPS software to simulate the movement of moleculars. After screating script for LAMMPS, I type:
If run it parallel, I use MPICH2:
mpiexec -np 4 lmp_linux<in.test
Then I have to use job scheduler, I create script: (using cat ?)
#$ -cwd
#$ -j y
#$ -S /bin/bash
/share/apps/bin/mpiexec -n $num_np /share/apps/bin/lmp_linux<in.test
After that I use qsub:
qsub (cça SGE)
I use qstat to check, it still work, but I only have an error file:
mpiexec_dudu5.local: cannot connect to local mpd (/tmp/mpd2.console_coffee); possible causes:
1. no mpd is running on this host
2. an mpd is running but was started without a ''console'' (-n option)
In case 1, you can start an mpd on this host with:
and you will be able to run jobs just on this host.
For more details on starting mpds on a set of host, see the MPICH2 installation Guide.
What I have to do now? Please suggest me!
Also please explain for me the structure of the script

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 1 Comment.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 1 Comment.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros