Same time to run with more processors [SOLVED]
Posted: Mon Aug 10, 2015 4:46 pm
I'm trying to run Abinit 7.10.4 in parallel using MPICH2 and Ubuntu 14.04, using tmoldyn_01 in tutoparal for testing. I have fifteen computers with two CPUs each, but am trying to set it up on two computers first. When I run the program, it takes the same amount of time to run regardless of whether 2 (one on each computer) or 4 processors are used (approx 2 mins for ntime=5). I have timed it using an external timer, and they are the same. To make sure that both computers were being used, I unplugged one from the Ethernet switch, and the program stopped running, which implies it is using both. The time is almost exactly the same, which suggests there is no difference in computation if np=2 or 4.
However, when I run it with only one processor, it only takes 7s. I understand that it takes time to send data between computers, but I'm not sure why there is such a large discrepancy.
I have attached the log file for each test. For the tests with np=1,2 and 4, I used npband=1,2,2 and npfft=1,1,2. I've looked at all of the tutorials and can't find anything I missed, and I can't find anyone else reporting this problem. I hope it's just something obvious I've missed.
Essentially, why is there no difference in time if np=2 or 4, and why does it take so much less time with only one computer? I'm afraid I'm quite new to both Abinit and Linux. Thank you for any assistance!
However, when I run it with only one processor, it only takes 7s. I understand that it takes time to send data between computers, but I'm not sure why there is such a large discrepancy.
I have attached the log file for each test. For the tests with np=1,2 and 4, I used npband=1,2,2 and npfft=1,1,2. I've looked at all of the tutorials and can't find anything I missed, and I can't find anyone else reporting this problem. I hope it's just something obvious I've missed.
Essentially, why is there no difference in time if np=2 or 4, and why does it take so much less time with only one computer? I'm afraid I'm quite new to both Abinit and Linux. Thank you for any assistance!