LAE

Welcome to the LAE community!  Please feel free to start a discussion in the discussion tab or join in a conversation.

Discussions

Members

Resources

Events

 View Only
  • 1.  Changing location for ..\BRAINscratch\tmp

    Employee
    Posted 08-27-2010 00:54

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: aop

    Hi!

    We had to install a new hard drive during a Brain project due to insufficient disk space on the old one. Now I'd like to change the directory for temp files(..\BRAINscratch\tmp) to be on the new hard drive to avoid any issues with disk space. How can this be done?


  • 2.  RE: Changing location for ..\BRAINscratch\tmp

    Employee
    Posted 08-27-2010 12:15

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: timonk

    Good Day,

    To update the location of BRAINscratch directory on the PC, you can edit the setBrainEnv.bat file in your Brain install directory.

    You would want to update the:
    set p_ls_tempDir="C:/BRAINscratch/tmp" entry to wherever you want the files to go.

    The setBrainEnv.bat file is what gets called by the BRAIN.bat file when it gets ready to launch the server.

    There is also a log "echo" message you probably want to change so as to avoid confusion.

    echo Scratch :" C:\BRAINscratch"

    Regards
    Timon Koufopoulos
    MDA Support.


  • 3.  RE: Changing location for ..\BRAINscratch\tmp

    Employee
    Posted 10-22-2014 20:55

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: mermacora

    I believe the process has changed slightly for LAE v5.0, so the instructions from the above post will only work with older versions. Here’s what I did on my installation to change the location where LAE scratch files are written:

    1. Shut down all instances of BRE and the LAE Server (open the LAE Server Console and press Exit)

    2. Edit the laeEnv.bat file in your <LAE install>\bin directory, and change the line that looks like this:
    set LS_SCRATCHDIR="C:/LAETemp"
    change the path to where you want temp files stored, use forward slash (/) as the folder separator

    3. Edit the site.prop file in your <LAE install>\conf directory, and change the line that looks like this:
    ls.tempDir="C:/LAETemp"
    change the path to where you want temp files stored, use forward slash (/) as the folder separator

    4. Restart BRE and the LAE Server.

    Temp files generated for nodes run after the config change should be written to the new location. Any files previously written will not be moved and should still be accessible from BRE when you double click the output pins.

    Regards,
    Mario Ermacora


  • 4.  RE: Changing location for ..\BRAINscratch\tmp

    Employee
    Posted 05-01-2015 00:37

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: Wizardous

    Thank you for the update Mario.

    Regards,
    �zg�n