INSTALLATION INSTRUCTIONS FOR LS-DYNA ===================================== Installation of LS-DYNA may be performed by an individual user, or by a system administrator. ROOT LEVEL PRIVILEGE IS NOT REQUIRED, but can be used to create a more convenient installation on some systems. It is recommended that the following installation procedure be carried out by someone knowledgeable with the UNIX operating system. In the following instructions, the "%" symbol represents the system prompt. Step 1: Generating the "lstc.log" file ====================================== Note: For the purpose of this discussion the file name "ls-dyna.exe" will be used to indicate the ls-dyna executable. The actual file that you use can have any name that you choose. The security installation program is part of the LS-DYNA program itself. First, make sure that execute permission has been given to the file: > chmod 750 ls-dyna.exe Next, execute the LS-DYNA executable with the "info" keyword on the command line: > ./ls-dyna.exe info This will generate a file called "lstc.log". The file will look similar to the following: ++++ EMAIL: ++++ FAX: ++++ TELEPHONE: ++++ # LS-DYNA_971 06022000 # MACHINE: 80 79 BE E2 # OSF1 alpha7.lstc.com V4.0 1229 alpha 4 CPU(s) # Host ID : 2bc47f53 # Written by : LS-DYNA_971 # Version number: 971 # Precision : Single precision (I4R4) # Version date : 07/30/2004 # Platform : HP/ALPHA System (fpe1) # OS Level : OSF1 V4.0F # Feature : SMP enabled # Host Name : alpha7.lstc.com # Source version: 971 Revision: 7600 # Source date : 07/30/2004 # Source time : 15:01:01 # Precision : Single(I4R4) # nlq(maximum) : 89 # nlq(default) : 89 To obtain valid license keys send the "lstc.log" to LSTC. Before you send the file please modify the first 4 lines with the appropriate information. Replace the "++++" with correct information. The first line should contain your company name. It is preferable to email, however if you cannot use email then fax a copy. Livermore Software Technology Corporation TEL: 925-449-2500 FAX: 925-449-2507 EMAIL: key@lstc.com We will send the license key file back to you. It will look similar to the "lstc.log" file. Save it into a file called "LSTC_FILE" Step 2: Installing the license file ==================================== A security file is used to enable access to LS-DYNA. This file contains information specific to your company and computer. First, determine an appropriate location for the security file. Note: THE SECURITY FILE MUST BE READ-ACCESSABLE BY ALL LS-DYNA USERS. Select a name for the security file. If you have root level privilege, you can use the default name /usr/local/lstc/LSTC_FILE (OPTION A below). Otherwise, an arbitrary file name can be used (OPTION B below). Next, set up the environment for installation by defining the environment variable LSTC_FILE using either OPTION A or B: OPTION A: Using default file name "/usr/local/lstc/LSTC_FILE" ------------------------------------------------------------- You must have ROOT PRIVILEGE to use this option. This option is convenient since it is not necessary to set the LSTC_FILE environment variable in each user's account. > mkdir /usr/local/lstc # create local lstc directory Copy the license file LSTC_FILE to this directory > chmod 755 /usr/local/lstc # give all users read access > chmod 755 /usr/local/lstc/LSTC_FILE # give all users read access Hint- If you do not have root privilege, you will get the following message: mkdir: Cannot access directory /usr/local/lstc. /usr/local: Permission denied If this occurs, switch to root user, or use OPTION B. OPTION B : Using arbitrary file name : ----------------------------------------------------- Root privilege is NOT required for this option. Each LS-DYNA user must define the environment variable LSTC_FILE in their accounts > setenv LSTC_FILE # if using the C shell > export LSTC_FILE # if using the korn shell Note: replace with the complete path to the license file. For example: /home/smith/LSTC_FILE Trouble Shooting ---------------- 1) The program complains about not being able to find the license file or the "LSTC_FILE" variable has not been set. Solution: Make sure the path to the license file and the license file have the permission set to 755 (read and execute). 2) The program complains that the "LSTC_FILE" variable has not been set. Solution: If you have chosen method B which involves setting the LSTC_FILE environmental variable to point to the license file make sure it is spelled correctly and that it includes the complete path to the license file including the license file name. 3) The best way to make sure the License file has read access for all users is to try and display the license file using the "more" command. If you cannot display it on your screen then the LS-DYNA executable will not be able to read it as well. 4) If the program complains that the license keys are not correct for this machine then you need to make sure that the license file is exactly as it was given to you. DO NOT ALTER THE LICENSE FILE. Step 3: Informing other users ============================== (If the default name /usr/local/lstc/LSTC_FILE was chosen, this stepmay be skipped) Inform all users about the location of the security file. Ask all users to define the environment variable LSTC_FILE by adding the following line to their .login file: setenv LSTC_FILE # if using the C shell export LSTC_FILE= # if using the korn shell Make sure that the includes the complete path to the security file. For further assistance ====================== If you still are having trouble, please contact LSTC Customer Service.