Hello,

I am trying to start an LS-DYNA job through SGE but have no experience writing 
scripts and submitting jobs to a cluster. I have the basic structure figured 
out from looking at examples online, but am not able to successfully execute my 
script. Most likely something is wrong in the way I am calling mpirun and the 
LD_LIBRARY_PATH. Any suggestions on how to correct my script?

Thanks!
Jessica

Command line: $ qsub -pe mpi 16 script.sh

Here's my script:
#!/bin/bash
#$ -S /bin/bash
#$ -cwd
#$ -V
#$ -N lsdyna_test5
#$ -j y
#$ -o lsdyna-test5.out
############################################################
export MPI_HOME=/opt/gridengine 
export PATH=$MPI_HOME/bin:$PATH
export LD_LIBRARY_PATH=#$MPI_HOME/lib/linux-x64:$LD_LIBRARY_PATH        
export MPIRUN=$MPI_HOME/mpi/myrinet/sge_mpirun
#
export LSDYNA=/ansys_inc/v170/ansys/bin/lsdyna170       
export LSTC_LICENSE=NETWORK
export LSTC_LICENSE_SERVER=swlic01.s.uw.edu     
export LSTC_MEMORY=auto
export PATH=/ansys_inc/v170/ansys 
#       
$MPIRUN -TCP -np $NSLOTS -hostfile $TMPDIR/machines $LSDYNA i=LSDYNAexport.k
echo "Program ended"

Here's my output file:
/opt/gridengine/edfault/spool/compute-2-0/active_jobs/28.1/pe_hostfile
compute-2-0
compute-2-0
compute-2-0
compute-2-0
compute-2-0
compute-2-0
compute-2-0
compute-2-0
compute-2-12
compute-2-12
compute-2-12
compute-2-12
compute-2-12
compute-2-12
compute-2-12
compute-2-12
/opt/gridengine/edfault/spool/compute-2-0/job_scripts/28: line 23: 
opt/gridengine/mpi/myrinet/sge_mpirun
: No such file or directory
Program ended
rm: cannot remove `/tmp/28.1.all.q/rsh': No such file or directory


_______________________________________________
SGE-discuss mailing list
SGE-discuss@liv.ac.uk
https://arc.liv.ac.uk/mailman/listinfo/sge-discuss

Reply via email to