Error # 157, 158 and 8012

Altair Forum User
Altair Forum User
Altair Employee
edited October 2020 in Community Q&A
Hello
 
I am trying to run an Optistruct optimisation but I get the following errors:

*** ERROR #  157 ***
 Error opening the scratch file './Analyse4_8584_s44.rs~'
    Fortran error code =          9
    This may be caused by not having the access right to open the file,
    not enough memory left for the system routines, or some other
    system setup related reasons.
 This error was detected in subroutine opseqscr.
 *** ERROR #  158 ***
 Error encountered when accessing the scratch file.
    error from subroutine 'xdslrs'
    Solver error no. =       -702
    This may be caused by insufficient disk space or some other
    system resource related limitations.
 This error was detected in subroutine bcsprefct.
 This error occurs in module 'lstatdrv'.
 *** FATAL ERROR # 8012 ***
 Data block kauspc is already inserted.
 * DATAMANAGER ERROR in subroutine 'datami'.
 PROGRAM STOPPED DUE TO ERROR.
 

The constraint is a static stress called in the design variable. The objective is to minimize mass.

 

The check only gives me such a warning:
 

*** WARNING # 1848
 Topology Optimization without Minimum Member Size Control activated.
 Using DTPL card, or DOPTPRM,MINDIM is recommended.
 
Anybody has a clue of what is the problem? I'm a bit stuck here!

Cheers

 

Answers

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited February 2014

    I have almost the same problem and I know that this model works on another computer. So it has to be a setting problem. But I have enough disk space and memory so this can't be the probelm. Has someone any ideas?

     

    *** ERROR #  157 ***
     Error opening the scratch file './xxx.rs~'
        Fortran error code =          9
        This may be caused by not having the access right to open the file,
        not enough memory left for the system routines, or some other
        system setup related reasons.
     This error was detected in subroutine opseqscr.

     *** ERROR #  158 ***
     Error encountered when accessing the scratch file.
        error from subroutine 'xdslrs'
        Solver error no. =       -702
        This may be caused by insufficient disk space or some other
        system resource related limitations.
     This error was detected in subroutine bcsprefct.

     This error occurs in module 'lstatdrv'.

  • bellogi@altairjp.co.jp
    bellogi@altairjp.co.jp
    Altair Employee
    edited February 2014

    Hi, please try the following:

     

    1) Update your Windows 7 operating system, if it doesn't solve the problem ...

    2) exclude the executable 'optistruct.exe' from the list of programs to be watched by your anti-virus software (alternatively you could also exclude the folder in which scratch files are generated), if it doesn't solve the problem

    3) try to set an environment variable called OS_TEMP_DIR that points to a folder which is not inside 'My Documents' and in which you have full reading/writing permissions, if it doesn't solve the problem ...

    4) please contact us again. You can find a list of support phone numbers below:

     

    http://www.altairhyperworks.com/ClientCenterHWSupportProduct.aspx

     

    Thanks,

     

    Pietro

     

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited October 2017

     

    Hello,I have the same problem regarding topological optimization:

    *** WARNING # 1848
     Topology Optimization without Minimum Member Size Control activated.
     Using DTPL card, or DOPTPRM,MINDIM is recommended.

     

    how to solve this problem please.

    Thanks,

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited October 2017

    @elmejjati

     

    What you see is a warning message. Your analysis will still run but the results may not be in an acceptable range.

     

    You can add Minimum and maximum member size from Analysis>>Optimization>> Topology>> Parameters>> Minmemb and Maxmemb.

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited January 2018

    Hello,

     

    I am trying to run an optimization topology problem (test case Design concept for a structural C-Clip avalaible in tutorials i did exactly like tutorials) and i obtained this error:

    *** WARNING # 1848
     Topology optimization without minimum member size control activated.
     Using DTPL card or DOPTPRM,MINDIM is recommended.
      No Available License
    License error:
    Altair License Manager: License error
    Feature(s): GlobalZoneEU, HyperWorks, HWOptiStruct
    Error Code: 17
    Error Description:
    [NETWORK] 6200@10.3.255.236 - (Err: 17) Request for more licenses than available on license server
    Feature: OptiStruct
    Error Code: 9
    Error Description:
    [LOCAL] \\10.3.255.234\vol_logiciels\altair\hw17-2\/security/altair_lic.dat - (Err: 6) Unable to read file
    [NETWORK] 6200@10.3.255.236 - (Err: 9) Feature not found
    License Path: 6200@10.3.255.236;\\10.3.255.234\vol_logiciels\altair\hw17-2\/security/altair_lic.dat

    ************************************************************************

     OptiStruct ERROR: 1.
     A fatal error has occurred in your model. Please refer to the .out
     file to obtain more information on how to correct it.

    Anybody has an idea?

     

    Thanks in advance

     

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited January 2018

    Hi,

     

    The error is because of insufficient HyperWorks units available on server or you can run only ANALYSIS and not OPTIMIZATION due to the fact that optimization draws extra units from license. The error could be also due to 2 people are trying to work with HyperWorks at the same time which draws maximum units

     

    Please check the number of units and try again. 

     

     

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited October 2018

    Hi,

     

    I get also an error from OptiStruct, what can I do?

     

     

     A fatal error has occurred during computations:
     
      *** INTERNAL PROGRAMMING ERROR # 8012 ***
      Data block aam is already inserted.
      * DATAMANAGER ERROR in subroutine 'datami'.

     

    Thank you very much

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited October 2018

    Hi @B. Foerster

     

    Can you share the entire .out file, please?

     

    Since it is a programming error, I would suggest you update the software to the latest and try in the same.

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited October 2018

    A few days before i have already done an update because I got an other Internal Programming Error, after that it works.

    The new error appears somewhere else

    Unable to find an attachment - read this blog

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited October 2018

    A few days before i have already done an update because I got an other Internal Programming Error, after that it works.

    The new error appears somewhere else

    OK, please allow me to check with developers regarding this. 

    Unable to find an attachment - read this blog

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited October 2018

    @B. Foerster

     

    Can you share the model files, please?