[neutron-mc] Addentum: MPI support

Willendrup, Peter Kj=?ISO-8859-1?B?5g==?=r peter.willendrup at risoe.dk
Thu May 10 21:27:49 CEST 2007


Hello there,


Aaron Percival and I have now gotten MPICH2 to work with McStas on Windows.
(Up to now successful only on a local machine with several
processors/cores.)

I will do the needed modifications in the next stable release (mcstas-1.11)
to allow everyone to use this.


Regards,

Peter Willendrup


On 5/8/07 10:18 PM, "Aaron M. Percival" <percival at physics.queensu.ca> wrote:

> I've been playing around with the MPI support for McStas for most of the
> day.  I believe that I have solved a few of my problems:
> 
>  
> 
> I have defined a  'machines' file named 'mcstas-hosts' in the perl directory
> of the mcstas directory.  The file works as I've used it in the test program
> provided with mpich.
> 
>  
> 
> I have modified the mcstas_config.perl file as follows:
> 
>  
> 
>     HOSTFILE => 'C:\mcstas\lib\tools\perl\mcstas-hosts',
> 
>     MPIRUN => 'mpiexec.exe',
> 
>     THREADS => 'no',
> 
>     SSH => 'no',
> 
>  
> 
> My problem now is that I'm not sure how to define the MPICC variable, as
> from my understanding mpicc is unix only.  Therefore, the  MPICC => 'no', is
> not allowing me to use MPI support.  Is there a windows based compiler that
> I could used here, or another way around this?
> 
>  
> 
> Thanks,
> 
>  
> 
> Aaron
> 
>  
> 
> *************************************************
> 
> Aaron M. Percival
> 
> M.Sc. Candidate
> 
> Dept. of Physics, Engineering Physics & Astronomy
> 
> Queen's University
> 
> Kingston, Ontario, Canada, K7L 3N6
> 
> Office: 613-533-6000 ext. 74789
> 
> Fax: 613-533-6463
> 
> *************************************************
> 
>  
> 
> _______________________________________________
> neutron-mc mailing list
> neutron-mc at risoe.dk
> http://mailman.risoe.dk/mailman/listinfo/neutron-mc




More information about the mcstas-users mailing list