> #!/bin/csh -f
> #$ -N MPI_Job
> #$ -pe mpi 4
> hostname && ulimit -a
>
> ATM I'm quite confused: cause I want to use the c-shell, but ulimit is
> just for bash. The c-shell uses limit... hmm.. and SGE uses obviously
> bash, instead of my request for csh in the first line. But if I just use
> #!/bin/bash I get the same limits:
>
> -sh-3.00$ cat MPI_Job.o112116
> node02
> core file size          (blocks, -c) unlimited
> data seg size           (kbytes, -d) unlimited
> file size               (blocks, -f) unlimited
> pending signals                 (-i) 1024
> max locked memory       (kbytes, -l) 32
> max memory size         (kbytes, -m) unlimited
> open files                      (-n) 1024
> pipe size            (512 bytes, -p) 8
> POSIX message queues     (bytes, -q) 819200
> stack size              (kbytes, -s) unlimited
> cpu time               (seconds, -t) unlimited
> max user processes              (-u) 139264
> virtual memory          (kbytes, -v) unlimited
> file locks                      (-x) unlimited
>

just one remark:
for SGE you should specify the shell in you script like
#$ -S /bin/csh -f
not with #!.....

Markus

Reply via email to