CDE/CSS and Flux API Installation

Installation

In order to install CDE/CSS and Flux API, follow these instructions:

  1. Run the Flux Supervisor as administrator
  2. There are two cases:
    • If no previous Altair Flux version has been installed previously on the computer, the buttons look like and
      • Click either on the button Distribution Manager or Server Manager
    • If a previous Altair Flux version has already been installed on the computer, the buttons look like and
      1. Make sure that both services Cedrat Distribution Server and Cedrat Soft Server are stopped:
        1. From the Windows Start menu, go to: Control Panel > System and Security > Administrative Tools and run: Services
        2. In the Services window:
          • Select Cedrat Distribution Server then right click and select the Stop contextual menu
          • Select Cedrat Soft Server then right click and select the Stop contextual menu
      2. Click either on the button Distribution Manager or Server Manager
  3. After a few seconds, the installation is done.

    In the Flux Supervisor, you can see each button Distribution Manager and Server Manager with a green light: and

Notes about CDE

  • Licensing:
    • ALTAIR_LICENSE_PATH environment variable:

      Before using CDE, please check that the environment variable for the license: ALTAIR_LICENSE_PATH is set as system environment variable.

      Warning: If ALTAIR_LICENSE_PATH is set as user environment variable only, CDE will fail. For CDE to work properly, ALTAIR_LICENSE_PATH environment variable must be set as system environment variable.
    • For the use of CDE with Hosted Altair Units:

      The Hosted Altair Units are linked with the Windows user profile in a way.

      So, there are two possibilities to use CDE with Hosted Altair Units:

      • Possibility 1 (which is easier) is to make sure CSS (creating the Flux servers) has the same rights as you do in terms of license. Otherwise it only looks locally for the file or for the environment variable.

        So you need to go to Windows Services and find Cedrat Soft Server (CSS) service. In the Properties, Log On tab, you need to use your Windows credentials so that the service runs with your profile.

        For this possibility, you do not need to be connected to a given network. It should be your Windows credentials. Then stop/start the CSS service.

      • Possibility 2 is to make sure the token you have from Hosted Altair Units is valid for the whole machine instead of one specific user.

        For that, you need to generate a new token and use the given command for almutil tool:

         -hhwuauth       [-system -code <code>]
                         Authorize with the Altair Hosted HyperWorks Units system.
                         -system will set system-wide authorization.
                         -code the authorization code you receive from the web portal

  • User temporary directory %TEMP%:

    (The user temporary directory is by default: C:\Users\<username>\AppData\Local\Temp)

    If there are a lot of files in the user temporary directory (according to our tests, "a lot" means more than 50 000 files, but it could be lower or higher on your computer), then CSS and CDE services will not start. In order to fix this issue, please follow the procedure described below:
    1. Delete unnecessary temporary files, for instance:
      • Using Windows Storage Sense
      • Using another tool
      • Manually…
    2. Restart your computer
    3. Reinstall CSS and CDE:

      Run as administrator the executable file: Active_Distributed_Computation_and_API.bat

      This file is located in the directory: <Installation Directory>\flux\Flux\Bin\prg\win64

Note: For further information on CDE, please refer to the CDE Quick Start.