[Aces-support] shell problem
William Boos
billboos at MIT.EDU
Fri Aug 24 17:17:45 EDT 2007
hi john,
you need to delete the # symbol from your module lines. #PBS denotes a PBS
directive, #! is used for the first line of the script, but any other line
starting with # is a comment. at least that's my guess at how this all
works.
-bill
_____
From: aces-support-bounces at mitgcm.org
[mailto:aces-support-bounces at mitgcm.org] On Behalf Of John Williams
Sent: Friday, August 24, 2007 5:00 PM
To: aces-support at acesgrid.org
Subject: [Aces-support] shell problem
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/21a94f93/attachment.html
More information about the Aces-support
mailing list