Universities and polytechnics > Applying for CPU time > Changing primary group
 
Tehdyt toimenpiteet

Directing CPU time consumption to the right project

If you belong to more than one project, you may direct your CPU  time consumption to the desired project by changing your primary group.

The Unix command groups shows the groups you belong to. First comes the primary group that indicates the project quota that your compute jobs are currently consuming. The command id shows which project number corresponds to the group. The primary group may change between servers.

To change the primary group:

  1. Give the Unix command chprigrp and give the password to the server.
  2. Check your current primary group: Your current group is:
  3. Type the new primary group upon request: New primary group:
    (If you don't want to change your primary group, press Enter.)
  4. Log out the UNIX server and log in again to activate the change.
  5. Note that the primary group change will become active within an hour, and is server specific.
  6. Change the primary group again if you start to work for a new project.

Example: Changing the primary group on Hippu

testuser@hippu1:~> chprigrp
[connecting to the password server]
Password:

Changing primary group for testuser on host hippu.
Press return to keep your current primary group.

Your current group is: project1
You belong to groups: project1, project2

New primary group:

New primary group: project2
[primary group changed]
[Changes become active within an hour]

testuser@hippu1:~> logout