Discussion:
Setting a users's partition with sacctmgr
Ramiro Alba
2011-10-18 14:44:04 UTC
Permalink
Hi all,

When I try to set/modify a user's partition with the command:

sacctmgr modify user where name=raq set Partition=globlal

It says:

Unknown option: Partition=globlal
Use keyword 'where' to modify condition

Is there any way to do it?
Anything wrong with that command

Regards
--
Ramiro Alba

Centre Tecnològic de Tranferència de Calor
http://www.cttc.upc.edu


Escola Tècnica Superior d'Enginyeries
Industrial i Aeronàutica de Terrassa
Colom 11, E-08222, Terrassa, Barcelona, Spain
Tel: (+34) 93 739 86 46
--
Aquest missatge ha estat analitzat per MailScanner
a la cerca de virus i d'altres continguts perillosos,
i es considera que est� net.
Danny Auble
2011-10-18 14:56:55 UTC
Permalink
Partition is part of the actual association and can't be modified. You would need to create a new association with the partition as part of the request.
Post by Ramiro Alba
Hi all,
sacctmgr modify user where name=raq set Partition=globlal
Unknown option: Partition=globlal
Use keyword 'where' to modify condition
Is there any way to do it?
Anything wrong with that command
Regards
Felip Moll
2011-10-18 15:07:14 UTC
Permalink
Maybe a typo?

Partition=glo*blal*
Post by Danny Auble
Partition is part of the actual association and can't be modified. You
would need to create a new association with the partition as part of the
request.
Post by Ramiro Alba
Hi all,
sacctmgr modify user where name=raq set Partition=globlal
Unknown option: Partition=globlal
Use keyword 'where' to modify condition
Is there any way to do it?
Anything wrong with that command
Regards
Ramiro Alba
2011-10-18 15:42:46 UTC
Permalink
Danny,

Yo mean that once assigned to a user when this is created, you can not
modify or add it:

sacctmgr create user belen Account=physics Partition=global

and the same applies to Account and DefaultAccount, wright?

So the only solution would be to recreate that user with a different
partition.


Regards
Post by Danny Auble
Partition is part of the actual association and can't be modified.
You would need to create a new association with the partition as part of the request.
Post by Ramiro Alba
Hi all,
sacctmgr modify user where name=raq set Partition=globlal
Unknown option: Partition=globlal
Use keyword 'where' to modify condition
Is there any way to do it?
Anything wrong with that command
Regards
--
Ramiro Alba

Centre Tecnològic de Tranferència de Calor
http://www.cttc.upc.edu


Escola Tècnica Superior d'Enginyeries
Industrial i Aeronàutica de Terrassa
Colom 11, E-08222, Terrassa, Barcelona, Spain
Tel: (+34) 93 739 86 46
--
Aquest missatge ha estat analitzat per MailScanner
a la cerca de virus i d'altres continguts perillosos,
i es considera que est� net.
Danny Auble
2011-10-18 15:49:31 UTC
Permalink
You can change the defaultaccount, but the portions of the association you
can't change are User, Account, Cluster, Partition. You should be able to
change anything else though.

Yes recreating the user with the partition as part of the association is the
way to do it.

Danny
Post by Ramiro Alba
Danny,
Yo mean that once assigned to a user when this is created, you can not
sacctmgr create user belen Account=physics Partition=global
and the same applies to Account and DefaultAccount, wright?
So the only solution would be to recreate that user with a different
partition.
Regards
Post by Danny Auble
Partition is part of the actual association and can't be modified.
You would need to create a new association with the partition as part of
the request.>
Post by Ramiro Alba
Hi all,
sacctmgr modify user where name=raq set Partition=globlal
Unknown option: Partition=globlal
Use keyword 'where' to modify condition
Is there any way to do it?
Anything wrong with that command
Regards
Ramiro Alba
2011-10-18 16:12:59 UTC
Permalink
Danny,

Thanks for your answer. You clarified me the issue.

Regards
Post by Danny Auble
You can change the defaultaccount, but the portions of the association you
can't change are User, Account, Cluster, Partition. You should be able to
change anything else though.
Yes recreating the user with the partition as part of the association is the
way to do it.
Danny
Post by Ramiro Alba
Danny,
Yo mean that once assigned to a user when this is created, you can not
sacctmgr create user belen Account=physics Partition=global
and the same applies to Account and DefaultAccount, wright?
So the only solution would be to recreate that user with a different
partition.
Regards
Post by Danny Auble
Partition is part of the actual association and can't be modified.
You would need to create a new association with the partition as part of
the request.>
Post by Ramiro Alba
Hi all,
sacctmgr modify user where name=raq set Partition=globlal
Unknown option: Partition=globlal
Use keyword 'where' to modify condition
Is there any way to do it?
Anything wrong with that command
Regards
--
Ramiro Alba

Centre Tecnològic de Tranferència de Calor
http://www.cttc.upc.edu


Escola Tècnica Superior d'Enginyeries
Industrial i Aeronàutica de Terrassa
Colom 11, E-08222, Terrassa, Barcelona, Spain
Tel: (+34) 93 739 86 46
--
Aquest missatge ha estat analitzat per MailScanner
a la cerca de virus i d'altres continguts perillosos,
i es considera que est� net.
Loading...