troubleshooting Question

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

Avatar of YANKAUSKAS
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:
lmp_linux<in.test
If run it parallel, I use MPICH2:
mpiexec -np 4 lmp_linux<in.test
Then I have to use job scheduler, I create script: lmp.sh (using cat ?)
Script:
#!/bin/bash
#
#$ -cwd
#$ -j y
#$ -S /bin/bash
#
num_np=8
/share/apps/bin/mpiexec -n $num_np /share/apps/bin/lmp_linux<in.test
After that I use qsub:
qsub lmp.sh (cça SGE)
I use qstat to check, it still work, but I only have an error file: lmp.sh.o83
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:
mpd&
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 lmp.sh.
ASKER CERTIFIED SOLUTION
WizRd-Linux

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