Someone
public python v1 · immutable#!/bin/sh # #$ -S /bin/bash #$ -cwd #$ -j y #$ -R y #$ -l h_rt=120:00:00 #$ -pe threaded_mpi_2 20 #$ -t 1-6:1 #$ -tc 1 export DISPLAY=:0.0## generate a proper hostfile for SGE mkdir -p ${SGE_O_WORKDIR}/.tempfiles/$$/usr/local/bin/pehostfile2machinefile $PE_HOSTFILE | sort -u > ${SGE_O_WORKDIR}/.tempfiles/$$/hostfile/usr/local/openmpi/ib/1.3.2/x86_64/gcc-sge/bin/mpirun -np 10 -machinefile ${SGE_O_WORKDIR}/.tempfiles/$$/hostfile emergent_mpi -nogui -ni -p lvis_context.proj n_threads=2 config=TI46_context b_start=0 b_end=1\ tag=-xform20-150ms-no_overlap-two_windows-context_abs=.0\$SGE_TASK_ID semantics=0 log_trials=1 load_weights=0 context_abs=.0\$SGE_TASK_ID# remove our temp hostfile rm -rf ${SGE_O_WORKDIR}/.tempfiles/$$