[Wien] How to make more cpu participate in paralle processes

Oleg Rubel orubel at lakeheadu.ca
Mon Nov 4 18:37:58 CET 2013


If you would like to explore multicore parallelism, please check
OMP_NUM_THREADS environment variable.

In bash:
$ export OMP_NUM_THREADS=4

should enable up to 4 cores per process.

Oleg


On Sun, Nov 3, 2013 at 9:26 AM, Michael Sluydts
<michael.sluydts at ugent.be> wrote:
> Hello Lei,
>
> Have you set up your .machines file properly? (it's described in the manual)
> Most likely you are just running on two threads and wien is not actually
> trying to parallellize properly.
>
> If you have 12 k points then you can basically make 1 line per core with
> each line "1: hostname" possibly in your case 1:localhost if you're running
> the jobs only on the machine you're working on.
>
> But try reading the manual and send us another mail if you get stuck.
>
>
> Regards,
>
> Michael Sluydts
> 马亚坤 schreef op 3/11/2013 14:34:
>
> Dear all Wien2k users:
>  I chosed paralle caculation in the SCF cycle , but only 2 cpus were
> running, while other 10 cpus  was free.  Can anyone tell me why this is, how
> to solve this problem to Improve processing speed?
>
> top - 17:54:11 up 5 days, 30 min,  1 user,  load average: 2.02, 2.02, 2.00
> Tasks: 279 total,   3 running, 275 sleeping,   0 stopped,   1 zombie
> Cpu(s): 16.7%us,  0.0%sy,  0.0%ni, 83.3%id,  0.0%wa,  0.0%hi,  0.0%si,
> 0.0%st
> Mem:  49448368k total,  6814276k used, 42634092k free,   316812k buffers
> Swap: 51199144k total,        0k used, 51199144k free,  3680536k cached
>   PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
> 22849 student   25   0 1249m 1.1g 6448 R 100.0  2.4  32:43.95 lapw1
> 22834 student   25   0 1252m 1.1g 6440 R 99.8  2.4  32:43.43 lapw1
>     1 root      15   0 10312  728  616 S  0.0  0.0   0:02.25 init
>     2 root      RT  -5     0    0    0 S  0.0  0.0   0:00.04 migration/0
>
> best regard
>
> Lei Liu
>
>
>
>
> _______________________________________________
> Wien mailing list
> Wien at zeus.theochem.tuwien.ac.at
> http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien
> SEARCH the MAILING-LIST at:
> http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html
>
>
>
> _______________________________________________
> Wien mailing list
> Wien at zeus.theochem.tuwien.ac.at
> http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien
> SEARCH the MAILING-LIST at:
> http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html
>


More information about the Wien mailing list