National Centre for HREM,
Kavli Institute of Nanoscience,
Delft University of technology
Lorentzweg 1
2628 CJ Delft
The Netherlands

Installing ELSTRU (Intel compilation) on Fedora x86-64

   1) If you not already have, get a license from joukj@hrem.nano.tudelft.nl. The Username/Password which you get in
       the returning mail can be used as input for the getlicenseinfo.exe program in point 6)

  2) Install the Intel Fortran compiler (version 11.1 or better).
       Universities can download it for free from  Intel

  3) Download one of the ELSTRU binary packages:
                      elstru64_f9_1_0.tar-gz  (Compiled on Fedora 9 (glibc 2.8-8) on 29 October 2008)
                      elstru64_f10_1_0.tar-gz  (Compiled on Fedora 10 (glibc 2.9-2) on 29 October 2008)
                      elstru64_f11_1_0.tar-gz  (Compiled on Fedora 11 (glibc 2.10.1-5) on 10 September 2009)
                      elstru64_f14_1_0.tar-gz  (Compiled on Fedora 14 (glibc 2.12.90-19) on 14 December 2010)
      Note that presently I maintain the version for F14 and later. Bugs in the other
      versions are not garanteed to be fixed and may not contain all of the latest versions of the programs.
  4) Gunzip the distribution:
             gunzip elstru_linux.tar-gz

   5) Restore the tar archive elstru_linux.tar:
             tar -xf elstru_linux.tar

   5) Run the program getlicenseinfo.exe on all machine you would like to use ELSTRU
        Here you need your Username/password. The program sends automagically an E-mail to Delft to generate the actual
        license code.         This procedure creates a file LICINFO.TXT
        NOTE : This step fails if step 2 is not properly done;
            sometimes the command "source .cshrc" in the elstru directory will help.
   7) If all is OK you should find within a working day (most of the  times after minutes) a file called nodelock in your mailbox.
       If you do not get it  please notify  joukj@hrem.nano.tudelft.nl.
   8) The file nodelock  can be installed in 2 ways :
              1) In the home directory of the  user who is  using the package
              2) In the directory /usr/lib/netls/conf/ This allows all users to use the package

   9) Edit the file elstru/.cshrc. In the first line $defdir is defined. This environment variable
       should point to the directory to which you unpacked the elstru distribution
       Correct if necessary the path to location where the intel compiler is installed on your machine

   10) Make sure that when running ELSTRU each user is using one of the following shells:

   11) Include the file elstru/.cshrc in the file .cshrc located in the home directory of each user,
       who is going to use ELSTRU
   12) Now you can run the programs.


 Last updated by Jouk Jansen on 14 December 2010