From: Gengbin Zheng (gzheng_at_ks.uiuc.edu)
Date: Fri Jan 02 2004 - 12:09:51 CST
> > > Another question: is it possible to set process priority (nice level)
> > > for NAMD node programs?
> > >
> > No. It can be implemented but not for windows I guess.
You can now. This has been implemented in Charm++ CVS server.
It is only for non windows versions.
Nice level can be passed in command line using +nice n,
./charmrun +p2 ./pgm +nice 10
will set process priority for all node processes to 10.
This currently works for all net-* and mpi-* verisons of Charm++.
For net-* versions when nodelist file is readed, one can set process
specific nice value in nodelist too, for example:
host host1 +nice 10
host host2 +nice 8
Note that the nice value normally ranges from -20 to 20, but may be
system dependent. Setting negative value needs root privilege, the program
will abort when error occurs.
Please let me know if you have any problem when using this new feature.
This archive was generated by hypermail 2.1.6 : Wed Feb 29 2012 - 15:37:16 CST