[mcstas-users] --grid option for mcrun

Peter Kjær Willendrup pkwi at fysik.dtu.dk
Wed May 16 10:07:47 CEST 2018


Dear Alex,

On 15 May 2018, at 16:17 , Alex Szakál <szakal.alex at wigner.mta.hu<mailto:szakal.alex at wigner.mta.hu>> wrote:

I tried to install McStas on two machines and I ran into a problem I
couldn't solve. The first machine is my desktop machine and the second
is a server machine shared with my colleagues which serves as a
computing node. I followed the instructions in the manual (
http://www.mcstas.org/documentation/manual/mcstas-2.4.1-manual.pdf
) to set up the "grid" configuration using ssh, because we use
different operating systems with my colleagues, but we want to use the
same computing node. The openssh-server on the computing node was set
up and rsa keys were added for passwordless authentication. Now, I am
able to log in the computing
node without typing the password. A "hosts" file containing the
hostname of the computing node was created in $HOME/.mcstas/

#I tried the following command to simulate the 'basic.instr' insrument
on the grid:
mcrun --grid=4 basic.instr
#And I got the following error message:
user config does not exist: /home/szakal/.mcstas/2.4.1/mccode_config.json
Usage: mcrun.py [-cpnN] Instr [-sndftgahi] params={val|min,max|min,guess,max}...

mcrun.py: error: no such option: --grid

It seems that mcrun does not recognize the --grid option. Please help me
to solve this problem. McStas was installed on my Ubuntu 16.04 system
from the .deb packages following the descriptions found on the McStas
Homepage.

Unfortunately it seems that you have stumbled upon an inconsistency in the documentation.

The --grid option was only ever available for the Perl toolset and predates our MPI parallelisation that most people adopted instead.

The mcrun.pl tool (from the mcstas-tools-perl-2.4.1 package) includes the --grid option, but I am not 100% certain that it remains functional.


Best and sorry for the inconvenience,

Peter


Peter Kjær Willendrup
Forskningsingeniør, Speciakonsulent
Næstformand for DTU Fysik LSU



DTU Physics

[cid:image001.gif at 01CCCAF1.5E6331F0]

Technical University of Denmark



[cid:image002.gif at 01CCCAF1.5E6331F0]


Department of Physics
Fysikvej

Building 307

DK-2800 Kongens Lyngby

Direct +45 2125 4612

Mobil +45 2125 4612
Fax +45 4593 2399


pkwi at fysik.dtu.dk<mailto:pkwi at fysik.dtu.dk>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman2.mcstas.org/pipermail/mcstas-users/attachments/20180516/ad038cab/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 58 bytes
Desc: image001.gif
URL: <http://mailman2.mcstas.org/pipermail/mcstas-users/attachments/20180516/ad038cab/attachment-0002.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.gif
Type: image/gif
Size: 1055 bytes
Desc: image002.gif
URL: <http://mailman2.mcstas.org/pipermail/mcstas-users/attachments/20180516/ad038cab/attachment-0003.gif>


More information about the mcstas-users mailing list