CCL:G: Running Two jobs on a shared memory computer
- From: "Ross Walker" <ross_-_rosswalker.co.uk>
- Subject: CCL:G: Running Two jobs on a shared memory computer
- Date: Wed, 17 May 2006 09:24:13 -0700
Sent to CCL by: "Ross Walker" [ross]=[rosswalker.co.uk]
Dear Roger,
> I have several shared processor opterons. At the moment I can not
> run guassian on two shared memory processors with out it crashing.
>
> If I try to run two jobs separately the both end up running
> on the same
> processor.
>
> Is there any way to get both jobs to run on separate processors.
If by this you mean run two single processor Gaussian jobs at the same time
on a dual processor machine this should just work. The operating system
should take care of processor affinity and schedule on job (for a decent
timeslice) on one cpu and the other on the other cpu. If it is not doing
this then there is something seriously wrong with your system installation.
How do you know they are both running on the same processor?
Note 'top' by default on most versions of Linux now defaults to single cpu
mode where only the overall system stats are reported and not individually
by CPU. you can change top do display usage by cpu and also show the cpu
number on which a process is running by modifying the file .toprc in your
home directory. Here is mine:
Id:a, Mode_altscr=0, Mode_irixps=1, Delay_time=1.000, Curwin=0
Def fieldscur=AEHIOQTWKNMbcdfgJplrsuvyzX
winflags=30009, sortindx=10, maxtasks=0
summclr=1, msgsclr=1, headclr=3, taskclr=1
Job fieldscur=ABcefgjlrstuvyzMKNHIWOPQDX
winflags=62777, sortindx=0, maxtasks=0
summclr=6, msgsclr=6, headclr=7, taskclr=6
Mem fieldscur=ANOPQRSTUVbcdefgjlmyzWHIKX
winflags=62777, sortindx=13, maxtasks=0
summclr=5, msgsclr=5, headclr=4, taskclr=5
Usr fieldscur=ABDECGfhijlopqrstuvyzMKNWX
winflags=62777, sortindx=4, maxtasks=0
summclr=3, msgsclr=3, headclr=2, taskclr=3
My apologies if I misunderstood your question.
All the best
Ross
/\
\/
|\oss Walker
| HPC Consultant and Staff Scientist |
| San Diego Supercomputer Center |
| Tel: +1 858 822 0854 | EMail:- ross++rosswalker.co.uk |
| http://www.rosswalker.co.uk | PGP Key available on request |
Note: Electronic Mail is not secure, has no guarantee of delivery, may not
be read every day, and should not be used for urgent or sensitive issues.