[Aces-support] shell problem
John Williams
jkw at MIT.EDU
Fri Aug 24 17:00:11 EDT 2007
i can run a program real.exe fine using an interactive node, but it will not work with my shell script.
here is what runs interactively:
qsub -I -q four -l nodes=1:ppn=2
module add nco
module add mpich/pgi
module add mpiexec
cd /home/jkw/WRF/WFV2/run
mpiexec -np 2 real.exe
here is my shell script (have also tried #!/bin/csh), that i run by doing qsub run_real.csh
#!/bin/bash
#PBS -q four
#PBS -N jkw_run_real
#PBS -l nodes=1:ppn=2,walltime=01:00:0
#module add nco
#module add mpich/pgi
#module add mpiexec
cd /home/jkw/WRF/WRFV2/run/
# mpiexec -np 2 real.exe
it outputs two files, jkw_run_real.e86499 (which contains message "Warning: no access to tty (Bad file descriptor). Thus no job control in this shell"), and jkw_run_real.o86499 which is empty.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://forge.csail.mit.edu/pipermail/aces-support/attachments/20070824/a0756ea6/attachment.html
More information about the Aces-support
mailing list