[neutron-mc] Addentum: MPI support

Aaron M. Percival percival at physics.queensu.ca
Tue May 8 22:18:20 CEST 2007


Hello again,

 

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

*************************************************

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman2.mcstas.org/pipermail/mcstas-users/attachments/20070508/a3da3f52/attachment.html>


More information about the mcstas-users mailing list