On Dec 17, 2009, at 9:15 AM, Min Zhu wrote:
> Thanks for your reply. Yes, your mpirun command works for me. But I need to use bsub job scheduler. I wonder why
> bsub -e ERR -o OUT -n 16 openmpi-mpirun "/bin/sh -c ulimit -s unlimited; ./wrf.exe" doesn't work.
Try with different quoting...? I don't know the details of the openmpi-mpirun script, but perhaps it's trying to exec the whole quoted string as a single executable (which doesn't exist). Perhaps:
bsub -e ERR -o OUT -n 16 openmpi-mpirun /bin/sh -c "ulimit -s unlimited; ./wrf.exe"
That's a (somewhat educated) guess...