Guest account

Kristian Nielsen kristian.nielsen at
Wed Oct 27 09:01:18 CEST 1999

> Date: Tue, 26 Oct 1999 15:26:09 -0500
> From: Dongfeng Chen <dfchen at>

> I unpacked correctly I think, but I can not run "make install" smoothly,
> because I have not superuser privileges.  I also try to use --prefix =
> /.automount/salamander/home/dfchen
> as the guide, and it did not work either.

I assume you already know that there is a running version of McStas
installed at the IPNS on the Linux machines in the terminal room? It is
used by John Ankner/Frank Close for their SNS reflectometer design; I
think Ken Herwig is the one to contact about how to get an account on
the machines. Erik Iverson also has a running McStas, I believe.

Anyway, to install McStas without superuser privileges, that should not
be a problem, but it would help if you gave me some detail of what went
wrong, such as the full output of the commands you gave ("./configure",
"make", "make install", and "mcstas --version").

The procedure should be simply

  ./configure --prefix=/.automount/salamander/home/dfchen
  make clean                 # Remove old files with wrong prefix
  make install

(do you really have the dot (".") in that prefix pathname? Also, there
must be no spaces around the equals ("=").)

The programs will be installed in
/.automount/salamander/home/dfchen/bin, so that directory should be in
your PATH, ie.

  setenv PATH $PATH:/.automount/salamander/home/dfchen/bin

assuming the shell you use is tcsh. If that does not work, mail me some
more details and I will try to sort it out.

If all else fails we can probably get you a guest account, but I think
you would be better served by a local installation.

 - Kristian.

Kristian Nielsen        kristian.nielsen at
Risø National Laboratory
Condensed Matter Physics and Chemistry Department
Tel. +45 4677 5515   Fax +45 4677 4790

More information about the mcstas-users mailing list