It means that everything is included in the distribution to run Abinit in parallel without having to install any extra utility/library or linking whatsoever i.e. MPICH2 library is already inside abinit.exe and you only have to use mpiexec to launch multiple threads of Abinit. If you happen to install another MPI library on your system to serve another program, no problem, Abinit won't use it and won't interfere with it.
I think that the origin of your "mpiexec could not exec abinit.exe" error message is that mpiexec - being borrowed from Unix world - doesn't search by default in the current directory when given abinit.exe as argument. So simply try to add the full path to abinit.exe or the shortcut .\ for the current directory
So for an example session with a parallelization on k points and spin ... let's say that you unzipped abinit-6.2.3.zip in a newly "abinit" subdirectory of C:\Program Files. Open a command prompt and
Code: Select all
cd "c:\Program Files\abinit"
C:\Program Files\abinit>dir
Volume in drive C has no label.
Volume Serial Number is DCAA-01D7
Directory of C:\Program Files\abinit
12/13/2010 10:08 PM <DIR> .
12/13/2010 10:08 PM <DIR> ..
12/13/2010 10:06 PM <DIR> abinit-6.2.3
10/07/2010 02:10 PM 32,746 Abinit_on_Windows.pdf
12/13/2010 10:05 PM <DIR> gnuplot
12/13/2010 10:08 PM <DIR> gnuwin32
12/13/2010 10:08 PM <DIR> tofrodos
12/13/2010 10:06 PM <DIR> V_Sim
12/13/2010 10:05 PM <DIR> winvi
1 File(s) 32,746 bytes
8 Dir(s) 56,759,336,960 bytes free
C:\Program Files\abinit>mkdir example
C:\Program Files\abinit>cd example
C:\Program Files\abinit\example>copy "..\abinit-6.2.3\share\abinit\paral\Input\t_kpt+spin.files" .
1 file(s) copied.
C:\Program Files\abinit\example>copy "..\abinit-6.2.3\share\abinit\paral\Input\t_kpt+spin.in" .
1 file(s) copied.
C:\Program Files\abinit\example>copy "..\abinit-6.2.3\share\abinit\Psps_for_tests\26fe.pspnc" .
1 file(s) copied.
C:\Program Files\abinit\example>..\winvi\WinVi32.exe "t_kpt+spin.files"
C:\Program Files\abinit\example>..\abinit-6.2.3\bin\mpiexec.exe -np 2 ..\abinit-6.2.3\bin\abinit.exe < "t_kpt+spin.files" > "t_kpt+spin.log"
When the WinVi window opens, edit the t_kpt+spin.files file to remove the extra path to the pseudopotential file i.e. change the last line to 26fe.pspnc. Save the file.
When Abinit is launched, 2 "security" windows open; unblock abinit and mpiexec - nothing surprising here, the launcher and parallel threads use tcp sockets to talk each other (nothing goes on Internet, only through the local interface)
After a few minutes - depending on the speed of your system ...
Code: Select all
C:\Program Files\abinit\example>dir
Volume in drive C has no label.
Volume Serial Number is DCAA-01D7
Directory of C:\Program Files\abinit\example
12/13/2010 10:27 PM <DIR> .
12/13/2010 10:27 PM <DIR> ..
10/03/2010 11:00 AM 305,169 26fe.pspnc
12/13/2010 10:27 PM 28,164 t.o_DS1_DDB
12/13/2010 10:26 PM 479,282 t.o_DS1_DEN
12/13/2010 10:27 PM 74,570 t.o_DS1_EIG
12/13/2010 10:27 PM 63,181,618 t.o_DS1_WFK
12/13/2010 10:17 PM 50 t_kpt+spin.files
10/03/2010 11:01 AM 1,012 t_kpt+spin.in
12/13/2010 10:27 PM 245,478 t_kpt+spin.log
12/13/2010 10:27 PM 128,209 t_kpt+spin.out
12/13/2010 10:27 PM 7,579 t_LOG_0001
10 File(s) 64,451,131 bytes
2 Dir(s) 56,694,702,080 bytes free
And to look at the output log ...
Code: Select all
C:\Program Files\abinit\example>..\winvi\WinVi32.exe "t_kpt+spin.log"
Kind regards,
Alain